s4:build: make sure that we regenerate proto headers when source files change
authorStefan Metzmacher <metze@samba.org>
Thu, 30 Jul 2009 06:31:35 +0000 (08:31 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 31 Jul 2009 12:42:03 +0000 (14:42 +0200)
metze

source4/build/make/templates.mk

index dbfc738ae197c7ad5f68b2799f10c016fefc04a0..12a606c432857b25e57540647f58fe8c7f1525a1 100644 (file)
@@ -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