summaryrefslogtreecommitdiff
path: root/drivemount/src/Makefile.am
blob: 28b273c0bb7043586695a803e52b70aa81626e92 (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
NULL =

AM_CPPFLAGS =				\
	-I.				\
	-I$(srcdir)			\
	-DDRIVEMOUNT_RESOURCE_PATH=\""/org/mate/mate-applets/drivemount/"\" \
	${WARN_CFLAGS}			\
	$(MATE_APPLETS4_CFLAGS)		\
	$(NULL)

libexec_PROGRAMS = mate-drivemount-applet

BUILT_SOURCES =				\
	drivemount-resources.c		\
	drivemount-resources.h		\
	$(NULL)

nodist_mate_drivemount_applet_SOURCES =	\
	$(BUILT_SOURCES)		\
	$(NULL)

mate_drivemount_applet_SOURCES =	\
	drivemount.c			\
	drive-list.c			\
	drive-list.h			\
	drive-button.c			\
	drive-button.h			\
	$(NULL)

mate_drivemount_applet_LDADD =		\
	$(MATE_APPLETS4_LIBS)

drivemount-resources.c: ../data/drivemount-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir)/../data/ --generate-dependencies $(srcdir)/../data/drivemount-resources.gresource.xml)
	$(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir)/../data/ --generate --c-name drivemount $<

drivemount-resources.h: ../data/drivemount-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir)/../data/ --generate-dependencies $(srcdir)/../data/drivemount-resources.gresource.xml)
	$(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir)/../data/ --generate --c-name drivemount $<

CLEANFILES =				\
	$(BUILT_SOURCES)		\
	$(NULL)

-include $(top_srcdir)/git.mk