summaryrefslogtreecommitdiff
path: root/command/src/Makefile.am
blob: 3497672de6833f1c2142cb01975d1274816b6190 (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
NULL =

command_applet_libdir= $(pkglibdir)
command_applet_lib_LTLIBRARIES=libcommand-applet.la

AM_CPPFLAGS =			\
	$(MATE_APPLETS4_CFLAGS)	\
	-I$(srcdir)		\
	$(DISABLE_DEPRECATED_CFLAGS) \
	$(NULL)


libcommand_applet_la_SOURCES =	\
	command.c		\
	ma-command.c		\
	ma-command.h		\
	command-resources.c	\
	command-resources.h	\
	$(NULL)

libcommand_applet_la_LIBADD =		\
	$(MATE_APPLETS4_LIBS)	\
	$(NULL)

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

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

CLEANFILES =			\
	$(NULL)

-include $(top_srcdir)/git.mk