diff options
Diffstat (limited to 'fsotdld/src/plugins/contextmanager/Makefile.am')
-rw-r--r-- | fsotdld/src/plugins/contextmanager/Makefile.am | 62 |
1 files changed, 22 insertions, 40 deletions
diff --git a/fsotdld/src/plugins/contextmanager/Makefile.am b/fsotdld/src/plugins/contextmanager/Makefile.am index 488a5141..01a898be 100644 --- a/fsotdld/src/plugins/contextmanager/Makefile.am +++ b/fsotdld/src/plugins/contextmanager/Makefile.am @@ -1,23 +1,15 @@ include $(top_srcdir)/Makefile.decl NULL = -AM_CPPFLAGS = \ - -I$(top_srcdir)/src/lib \ - $(FSO_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GEE_CFLAGS) \ +AM_CFLAGS = \ -DG_LOG_DOMAIN=\"fsotdld.contextmanager\" \ $(NULL) +AM_VALAFLAGS = -noinst_PROGRAMS = $(TEST_PROGS) - -progs_ldadd = \ - $(FSO_LIBS) \ - $(GLIB_LIBS) \ - $(GEE_LIBS) \ - $(top_builddir)/src/lib/libfsotdl.la - -VALAC_ARGS = \ +modlibexecdir = $(libdir)/cornucopia/modules/fsotdl +modlibexec_LTLIBRARIES = contextmanager.la +contextmanager_la_SOURCES = plugin.vala +contextmanager_la_VALAFLAGS = \ --basedir $(top_srcdir) \ --vapidir $(top_srcdir)/src/lib \ --vapidir $(top_srcdir)/vapi \ @@ -26,34 +18,24 @@ VALAC_ARGS = \ --pkg gio-hacks \ --pkg fso-glib-1.0 \ --pkg fsoframework-2.0 \ - --pkg fsotdl-2.0 - -# -# plugin -# -modlibexecdir = $(libdir)/cornucopia/modules/fsotdl -modlibexec_LTLIBRARIES = contextmanager.la -contextmanager_la_SOURCES = plugin.c -contextmanager_la_VALASOURCES = plugin.vala -$(contextmanager_la_SOURCES): $(contextmanager_la_VALASOURCES) - $(VALAC) -C $(VALAC_ARGS) $^ - touch $@ -contextmanager_la_LIBADD = $(progs_ldadd) -contextmanager_la_LDFLAGS = -no-undefined -module -avoid-version -contextmanager_la_LIBTOOLFLAGS = --tag=disable-static - -EXTRA_DIST += \ - $(contextmanager_la_VALASOURCES) \ - $(contextmanager_la_SOURCES) \ + --pkg fsotdl-2.0 \ $(NULL) +contextmanager_la_CFLAGS = \ + -I$(top_srcdir)/src/lib \ + $(FSO_CFLAGS) \ + $(GLIB_CFLAGS) \ + $(GEE_CFLAGS) \ + $(NULL) +contextmanager_la_LIBADD = \ + $(FSO_LIBS) \ + $(GLIB_LIBS) \ + $(GEE_LIBS) \ + $(top_builddir)/src/lib/libfsotdl.la \ + $(NULL) +contextmanager_la_LDFLAGS = -no-undefined -module -avoid-version +# contextmanager_la_LIBTOOLFLAGS = --tag=disable-static -CLEANFILES = \ - *.c \ - *.h \ - *.la \ - *.lo \ - $(NULL) - +CLEANFILES = MAINTAINERCLEANFILES = \ Makefile.in \ $(NULL) |