From 914262d420e78766ae11b85403aa2247d5054d46 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 1 Aug 2020 12:52:49 +0200 Subject: geyes: Use common subdirs - src, icons, data --- geyes/src/Makefile.am | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 geyes/src/Makefile.am (limited to 'geyes/src/Makefile.am') diff --git a/geyes/src/Makefile.am b/geyes/src/Makefile.am new file mode 100644 index 00000000..22856564 --- /dev/null +++ b/geyes/src/Makefile.am @@ -0,0 +1,36 @@ +NULL = + +AM_CPPFLAGS = \ + -I. \ + -I$(srcdir) \ + $(MATE_APPLETS4_CFLAGS) \ + -I$(includedir) \ + -DGEYES_THEMES_DIR=\""$(pkgdatadir)/geyes/"\" \ + -DGEYES_RESOURCE_PATH=\""/org/mate/mate-applets/eyes/"\" \ + ${WARN_CFLAGS} + +libexec_PROGRAMS = mate-geyes-applet + +BUILT_SOURCES = geyes-resources.c geyes-resources.h +nodist_mate_geyes_applet_SOURCES = $(BUILT_SOURCES) +mate_geyes_applet_SOURCES = \ + geyes.c \ + geyes.h \ + themes.c \ + $(NULL) + +mate_geyes_applet_LDADD = \ + $(MATE_APPLETS4_LIBS) \ + -lm + +geyes-resources.c: $(srcdir)/../data/geyes-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir)/../data --generate-dependencies $(srcdir)/../data/geyes-resources.gresource.xml) + $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir)/../data --generate --c-name eyes $< + +geyes-resources.h: $(srcdir)/../data/geyes-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir)/../data --generate-dependencies $(srcdir)/../data/geyes-resources.gresource.xml) + $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir)/../data --generate --c-name eyes $< + +CLEANFILES = \ + $(BUILT_SOURCES) \ + $(NULL) + +-include $(top_srcdir)/git.mk -- cgit v1.2.1