summaryrefslogtreecommitdiff
path: root/command/src/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-08-01 13:50:38 +0200
committerraveit65 <[email protected]>2020-08-11 16:45:02 +0200
commit1ee4ea5cc7e554b481da4e052e1c7b46d03b6b5b (patch)
tree8c3879b070337e1b2691a41dc7c277048a15f173 /command/src/Makefile.am
parent480394cdee90346d4fba01e113c007cd5771fa80 (diff)
downloadmate-applets-1ee4ea5cc7e554b481da4e052e1c7b46d03b6b5b.tar.bz2
mate-applets-1ee4ea5cc7e554b481da4e052e1c7b46d03b6b5b.tar.xz
command: Use common subdirs - src, data
Diffstat (limited to 'command/src/Makefile.am')
-rw-r--r--command/src/Makefile.am44
1 files changed, 44 insertions, 0 deletions
diff --git a/command/src/Makefile.am b/command/src/Makefile.am
new file mode 100644
index 00000000..d0d2065a
--- /dev/null
+++ b/command/src/Makefile.am
@@ -0,0 +1,44 @@
+NULL =
+
+AM_CPPFLAGS = \
+ $(MATE_APPLETS4_CFLAGS) \
+ -I$(srcdir) \
+ $(DISABLE_DEPRECATED_CFLAGS) \
+ $(NULL)
+
+libexec_PROGRAMS = command-applet
+
+BUILT_SOURCES = \
+ command-resources.c \
+ command-resources.h \
+ $(NULL)
+
+nodist_command_applet_SOURCES = \
+ $(BUILT_SOURCES) \
+ $(NULL)
+
+command_applet_SOURCES = \
+ command.c \
+ ma-command.c \
+ ma-command.h \
+ $(NULL)
+
+command_applet_LDADD = \
+ $(MATE_APPLETS4_LIBS) \
+ $(NULL)
+
+command_applet_CFLAGS = \
+ $(WARN_CFLAGS) \
+ $(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 = \
+ $(BUILT_SOURCES) \
+ $(NULL)
+
+-include $(top_srcdir)/git.mk