summaryrefslogtreecommitdiff
path: root/multiload/Makefile.am
blob: ac028ab344e2e092dfdcc12bd6620e9e85417ea8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
SUBDIRS = docs

INCLUDES =			\
	-I$(srcdir)		\
	$(GNOME_APPLETS_CFLAGS)	\
	$(GTOP_APPLETS_CFLAGS)	\
	$(GNOMEDESKTOP_CFLAGS) \
	$(GNOME_LIBS2_CFLAGS)

libexec_PROGRAMS = multiload-applet-2

multiload_applet_2_SOURCES = \
			global.h	\
			linux-proc.h	\
			load-graph.h	\
			linux-proc.c	\
			load-graph.c	\
			main.c	\
			properties.c	\
			netspeed.c netspeed.h \
			autoscaler.c	\
			autoscaler.h

multiload_applet_2_LDADD = \
				$(GNOME_APPLETS_LIBS) 	\
				$(GTOP_APPLETS_LIBS)	\
				$(GNOMEDESKTOP_LIBS)    \
				$(GNOME_LIBS2_LIBS)

schemasdir   = @GCONF_SCHEMA_FILE_DIR@
schemas_in_files = multiload.schemas.in
schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)

@INTLTOOL_SCHEMAS_RULE@

EXTRA_DIST =						\
	GNOME_MultiLoadApplet_Factory.server.in.in	\
	$(schemas_in_files)				\
	$(ui_DATA)

uidir		= $(datadir)/gnome-2.0/ui
ui_DATA		= GNOME_MultiloadApplet.xml

serverdir       = $(libdir)/bonobo/servers
server_in_files = GNOME_MultiLoadApplet_Factory.server.in
server_DATA     = $(server_in_files:.server.in=.server)

$(server_in_files): $(server_in_files:.server.in=.server.in.in)
	sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@

CLEANFILES = $(server_in_files) $(server_DATA) $(schemas_DATA)

@INTLTOOL_SERVER_RULE@

if GCONF_SCHEMAS_INSTALL
install-data-local:
	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schemas_DATA) ;
endif

-include $(top_srcdir)/git.mk