diff options
author | Simon Busch <morphis@gravedo.de> | 2012-05-02 15:39:52 +0200 |
---|---|---|
committer | Simon Busch <morphis@gravedo.de> | 2012-05-02 15:39:52 +0200 |
commit | 9b0f06b608ae888890217f189f53a2eb449503c0 (patch) | |
tree | 1c0251f384a83ef7aa38da451d95333dbde1bdb5 /fsotdld/src/plugins/source_ntp/Makefile.am | |
parent | d66e1e2abd69df17d3785db51735ea4060451498 (diff) | |
download | cornucopia-9b0f06b608ae888890217f189f53a2eb449503c0.tar.gz cornucopia-9b0f06b608ae888890217f189f53a2eb449503c0.tar.bz2 cornucopia-9b0f06b608ae888890217f189f53a2eb449503c0.zip |
fsotdld: refactor automake configuration
Diffstat (limited to 'fsotdld/src/plugins/source_ntp/Makefile.am')
-rw-r--r-- | fsotdld/src/plugins/source_ntp/Makefile.am | 62 |
1 files changed, 22 insertions, 40 deletions
diff --git a/fsotdld/src/plugins/source_ntp/Makefile.am b/fsotdld/src/plugins/source_ntp/Makefile.am index 216b364b..0a5ecde5 100644 --- a/fsotdld/src/plugins/source_ntp/Makefile.am +++ b/fsotdld/src/plugins/source_ntp/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.source_ntp\" \ $(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 = source_ntp.la +source_ntp_la_SOURCES = plugin.vala +source_ntp_la_VALAFLAGS = \ --basedir $(top_srcdir) \ --vapidir $(top_srcdir)/src/lib \ --pkg posix \ @@ -28,34 +20,24 @@ VALAC_ARGS = \ --pkg fsobasics-2.0 \ --pkg fsoframework-2.0 \ --pkg fsotransport-2.0 \ - --pkg fsotdl-2.0 - -# -# plugin -# -modlibexecdir = $(libdir)/cornucopia/modules/fsotdl -modlibexec_LTLIBRARIES = source_ntp.la -source_ntp_la_SOURCES = plugin.c -source_ntp_la_VALASOURCES = plugin.vala -$(source_ntp_la_SOURCES): $(source_ntp_la_VALASOURCES) - $(VALAC) -C $(VALAC_ARGS) $^ - touch $@ -source_ntp_la_LIBADD = $(progs_ldadd) -source_ntp_la_LDFLAGS = -no-undefined -module -avoid-version -source_ntp_la_LIBTOOLFLAGS = --tag=disable-static - -EXTRA_DIST += \ - $(source_ntp_la_VALASOURCES) \ - $(source_ntp_la_SOURCES) \ + --pkg fsotdl-2.0 \ $(NULL) +source_ntp_la_CFLAGS = \ + -I$(top_srcdir)/src/lib \ + $(FSO_CFLAGS) \ + $(GLIB_CFLAGS) \ + $(GEE_CFLAGS) \ + $(NULL) +source_ntp_la_LIBADD = \ + $(FSO_LIBS) \ + $(GLIB_LIBS) \ + $(GEE_LIBS) \ + $(top_builddir)/src/lib/libfsotdl.la \ + $(NULL) +source_ntp_la_LDFLAGS = -no-undefined -module -avoid-version +# source_ntp_la_LIBTOOLFLAGS = --tag=disable-static -CLEANFILES = \ - *.c \ - *.h \ - *.la \ - *.lo \ - $(NULL) - +CLEANFILES = MAINTAINERCLEANFILES = \ Makefile.in \ $(NULL) |