summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2003-10-15 17:41:25 +0000
committerSimo Sorce <idra@samba.org>2003-10-15 17:41:25 +0000
commit311d739eb761e8a90777e20fd545a00965393eb4 (patch)
tree4226bb4a71dc45f72da0642609dc167fbc3715d9
parenteecd346f1d6864df99f615e163370d48d5b48ef1 (diff)
downloadsamba-311d739eb761e8a90777e20fd545a00965393eb4.tar.gz
samba-311d739eb761e8a90777e20fd545a00965393eb4.tar.bz2
samba-311d739eb761e8a90777e20fd545a00965393eb4.zip
created a new target: genparse
this target will build parse file with genstruct it is the duty of the developer to commit updated files this is made to make build platforms independent of a working perl installation as always been with samba so currently you need to run: make genparse and commit: cvs ci include/tdbsam2_parse_info.h if you change anything in genparse/genstruct code or tdbsam2 code. Simo. (This used to be commit 7e2d5da2dcfad32b733c28535490e98e578bcc3a)
-rw-r--r--source3/Makefile.in11
-rw-r--r--source3/include/.cvsignore1
2 files changed, 7 insertions, 5 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index e377c7a85e..8cd2c9f621 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1308,15 +1308,14 @@ clean: delheaders python_clean
# afterwards.
proto_exists: include/proto.h include/wrepld_proto.h include/build_env.h \
nsswitch/winbindd_proto.h web/swat_proto.h \
- client/client_proto.h utils/net_proto.h smbd/build_options.c \
- include/tdbsam2_parse_info.h
+ client/client_proto.h utils/net_proto.h smbd/build_options.c
delheaders:
@echo Removing prototype headers
@rm -f include/proto.h include/build_env.h include/wrepld_proto.h \
nsswitch/winbindd_proto.h web/swat_proto.h \
client/client_proto.h utils/net_proto.h \
- smbd/build_options.c include/tdbsam2_parse_info.h
+ smbd/build_options.c
MKPROTO_SH = $(srcdir)/script/mkproto.sh
@@ -1378,9 +1377,13 @@ headers:
$(MAKE) nsswitch/winbindd_proto.h; \
$(MAKE) web/swat_proto.h; \
$(MAKE) client/client_proto.h; \
- $(MAKE) utils/net_proto.h; \
+ $(MAKE) utils/net_proto.h;
+
+prebuiltheaders:
$(MAKE) include/tdbsam2_parse_info.h
+genparse: prebuiltheaders
+
proto: headers
.PHONY: headers proto
diff --git a/source3/include/.cvsignore b/source3/include/.cvsignore
index 6f72267aaa..3827fdf70d 100644
--- a/source3/include/.cvsignore
+++ b/source3/include/.cvsignore
@@ -3,6 +3,5 @@ config.h
config.h.in
proto.h
stamp-h
-tdbsam2_parse_info.h
version.h
wrepld_proto.h