summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-13 22:51:30 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-13 14:06:07 +0200
commita6faacd93c7d8e9677bf5c9ad6a6c11d68862fd8 (patch)
tree09d7d40376c2e69fe3e89d8c910651abf7594af5 /source3/Makefile.in
parent73d0ab6558fd6a3f07f6a96b99c89baa46e0d9c2 (diff)
downloadsamba-a6faacd93c7d8e9677bf5c9ad6a6c11d68862fd8.tar.gz
samba-a6faacd93c7d8e9677bf5c9ad6a6c11d68862fd8.tar.bz2
samba-a6faacd93c7d8e9677bf5c9ad6a6c11d68862fd8.zip
build: only regenerate param files when required
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r--source3/Makefile.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 271006465a..714ba9bb88 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1654,11 +1654,17 @@ idl_full::
@PIDL_OUTPUTDIR="librpc/gen_ndr" PIDL_ARGS="$(PIDL_ARGS)" CPP="$(CPP)" PIDL="../pidl/pidl" \
srcdir="$(srcdir)" $(srcdir)/script/build_idl.sh --full $(IDL_FILES)
-mkparam:
+mkparam: ../lib/param/param_local.h ../lib/param/param_global.h param/param_global.h ../lib/param/param_proto.h ../lib/param/s3_param.h
+
+../lib/param/param_local.h:
$(PERL) ../script/mkparamdefs.pl $(srcdir)/../lib/param/param_functions.c --file ../lib/param/param_local.h --generate-scope=LOCAL
+../lib/param/param_global.h:
$(PERL) ../script/mkparamdefs.pl $(srcdir)/../lib/param/loadparm.c --file ../lib/param/param_global.h --generate-scope=GLOBAL
+param/param_global.h:
$(PERL) ../script/mkparamdefs.pl $(srcdir)/param/loadparm.c --file param/param_global.h --generate-scope=GLOBAL
+../lib/param/param_proto.h:
$(PERL) ../source4/script/mkproto.pl $(srcdir)/../lib/param/loadparm.c --public ../lib/param/param_proto.h --private ../lib/param/param_proto.h
+../lib/param/s3_param.h:
$(PERL) ../script/mks3param.pl $(srcdir)/../lib/param/loadparm.c --file ../lib/param/s3_param.h