diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2010-12-06 17:49:56 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-12-07 10:00:06 +0100 |
commit | 81671daff72775e6a135d924be1488839fccfaac (patch) | |
tree | a56ae75dbb391711ad14b6eb3b6904f6f6ff6369 | |
parent | da444beb2d101e46988743e40794189e26b10407 (diff) | |
download | ofono-81671daff72775e6a135d924be1488839fccfaac.tar.bz2 |
Mark ofono/*.h symbolink links as built sources
This forces automake/make to build them first if needed (as before).
But it avoids marking every single header as a dependency of every
single object. Thus we do not need a bogus full rebuild of the tree
everytime a header is added.
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index a4c47e87..cdb3166b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -326,7 +326,9 @@ src_ofonod_LDADD = $(builtin_libadd) @GLIB_LIBS@ @DBUS_LIBS@ @CAPNG_LIBS@ -ldl src_ofonod_LDFLAGS = -Wl,--export-dynamic \ -Wl,--version-script=$(srcdir)/src/ofono.ver -CLEANFILES = src/builtin.h $(local_headers) $(rules_DATA) +BUILT_SOURCES = $(local_headers) + +CLEANFILES = src/builtin.h $(BUILT_SOURCES) $(rules_DATA) plugindir = $(libdir)/ofono/plugins @@ -512,8 +514,6 @@ src/builtin.h: src/genbuiltin $(builtin_sources) plugins/%.rules: $(AM_V_GEN)cp $(srcdir)/$(subst 97-,,$@) $@ -$(src_ofonod_OBJECTS) $(unit_objects): $(local_headers) - include/ofono/version.h: include/version.h $(AM_V_at)$(MKDIR_P) include/ofono $(AM_V_GEN)$(LN_S) $(abs_top_builddir)/$< $@ |