Makefile.am 1.92 KB
Newer Older
1
SUBDIRS = help
Jacob Berkman's avatar
Jacob Berkman committed
2

3
4
5
6
7
8
9
10
INCLUDES = -I. -I$(srcdir) 			\
	-I$(srcdir)/../../libpanel-applet 	\
	-I$(top_builddir)/libpanel-applet 	\
	-I$(includedir) 			\
	$(GNOME_INCLUDEDIR) 			\
	$(WARN_CFLAGS) 				\
	$(WNCKLET_CFLAGS) 			\
	-DPAGER_GLADEDIR=\""$(gladedir)"\"	\
11
	-DTASKLIST_GLADEDIR=\""$(gladedir)"\"	\
12
	-DGNOME_ICONDIR=\""$(datadir)/pixmaps\""\
13
14
15
	-DGNOMELOCALEDIR=\""$(datadir)/locale"\" 

gladedir   = $(datadir)/gen_util
16
glade_DATA = pager.glade tasklist.glade
17

18
libgen_util_applet_2_la_SOURCES = \
19
20
21
22
23
24
25
26
27
28
29
30
31
	main.c \
	clock.c \
	clock.h	\
	pager.c	\
	pager.h	\
	tasklist.c \
	tasklist.h \
	mailcheck.c \
	mailcheck.h \
	popcheck.c \
	popcheck.h \
	remote-helper.c \
	remote-helper.h
32

33
34
libgen_util_applet_2_la_LDFLAGS = -module -avoid-version
libgen_util_applet_2_la_LIBADD =			\
35
36
	../../libpanel-applet/libpanel-applet-2.la	\
	$(WNCKLET_LIBS)
37

38
39
appletdir = $(libdir)
applet_LTLIBRARIES = libgen_util_applet-2.la
40

41
42
GNOME_GenUtilApplet_Factory.server.in: GNOME_GenUtilApplet_Factory.server.in.in
	sed -e "s|\@APPLET_LIBDIR\@|$(appletdir)|" $< > $@
43

44
45
46
PRINTER_BITMAPS = print.xpm
MAILCHECK_BITMAPS = email.png email-e.png tux-anim.png email-eclouds.png \
                    email-tiny.png eclouds.png
47

48
49
50
51
mailcheckbitmapsdir = $(datadir)/pixmaps/mailcheck
mailcheckbitmaps_DATA = $(MAILCHECK_BITMAPS)

schemadir   = $(sysconfdir)/gconf/schemas
52
schema_DATA = mailcheck.schemas pager.schemas tasklist.schemas
53

54
55
56
serverdir       = $(libdir)/bonobo/servers
server_in_files = GNOME_GenUtilApplet_Factory.server.in
server_DATA     = $(server_in_files:.server.in=.server)
57

58
@INTLTOOL_SERVER_RULE@
59

60
# don't do this if we are building in eg. rpm
61
install-data-local:
62
63
	if test -z "$(DESTDIR)" ; then \
		for p in $(schema_DATA) ; do \
Mark McLoughlin's avatar
Mark McLoughlin committed
64
		        GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p ; \
65
66
67
68
69
70
71
72
		done \
	fi

EXTRA_DIST = GNOME_GenUtilApplet_Factory.server.in.in	\
	$(PRINTER_BITMAPS)				\
	$(MAILCHECK_BITMAPS)				\
	$(schema_DATA)					\
	$(glade_DATA)