summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-11-13 08:23:12 +0900
committerMarcel Holtmann <marcel@holtmann.org>2011-11-13 08:23:12 +0900
commit0a1ddb3fa4309a7c49b52cdbbfd1388856b4847f (patch)
tree9323b2f5694efcab6c9dc5c771b0ad6f8a27fb29 /Makefile.am
parentf3158371a6391828f55a0418015772a7db6348ee (diff)
downloadconnman-0a1ddb3fa4309a7c49b52cdbbfd1388856b4847f.tar.gz
connman-0a1ddb3fa4309a7c49b52cdbbfd1388856b4847f.tar.bz2
connman-0a1ddb3fa4309a7c49b52cdbbfd1388856b4847f.zip
build: Create src/builtin.h via BUILT_SOURCES
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index b7976610..d5a76f94 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -87,9 +87,9 @@ src_connmand_LDADD = $(builtin_libadd) @GLIB_LIBS@ @DBUS_LIBS@ \
src_connmand_LDFLAGS = -Wl,--export-dynamic \
-Wl,--version-script=$(srcdir)/src/connman.ver
-BUILT_SOURCES = $(local_headers)
+BUILT_SOURCES = $(local_headers) src/builtin.h
-CLEANFILES = src/connman.conf src/builtin.h $(BUILT_SOURCES)
+CLEANFILES = src/connman.conf $(BUILT_SOURCES)
statedir = $(localstatedir)/run/connman
@@ -245,8 +245,6 @@ MAINTAINERCLEANFILES = Makefile.in \
ltmain.sh depcomp compile missing install-sh mkinstalldirs
-src/plugin.$(OBJEXT): src/builtin.h
-
src/builtin.h: src/genbuiltin $(builtin_sources)
$(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@