summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-07-30 08:31:35 +0200
committerStefan Metzmacher <metze@samba.org>2009-07-31 14:42:03 +0200
commit066e81f55777a1f8788be0c2c6077997c322baa3 (patch)
tree9c891a67ec24de20d793422bd27f8b7f8a55554c
parent933d5ee22b7f317d541224319a1b8fbf62fd4534 (diff)
downloadsamba-066e81f55777a1f8788be0c2c6077997c322baa3.tar.gz
samba-066e81f55777a1f8788be0c2c6077997c322baa3.tar.bz2
samba-066e81f55777a1f8788be0c2c6077997c322baa3.zip
s4:build: make sure that we regenerate proto headers when source files change
metze
-rw-r--r--source4/build/make/templates.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/build/make/templates.mk b/source4/build/make/templates.mk
index dbfc738ae1..12a606c432 100644
--- a/source4/build/make/templates.mk
+++ b/source4/build/make/templates.mk
@@ -57,6 +57,8 @@ $(1): $(2) ;
@echo "Creating $$@"
@$$(PERL) $$(srcdir)/script/mkproto.pl --srcdir=$$(srcdir) --builddir=$$(builddir) --public=/dev/null --private=$$@ $$^
+$($(2):.c=.o): $(1) ;
+
endef
# Shared module