From 7e2d5da2dcfad32b733c28535490e98e578bcc3a Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 15 Oct 2003 17:41:25 +0000 Subject: [PATCH] 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. --- source/Makefile.in | 11 +++++++---- source/include/.cvsignore | 1 - 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/source/Makefile.in b/source/Makefile.in index e377c7a85ef..8cd2c9f621f 100644 --- a/source/Makefile.in +++ b/source/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/source/include/.cvsignore b/source/include/.cvsignore index 6f72267aaad..3827fdf70da 100644 --- a/source/include/.cvsignore +++ b/source/include/.cvsignore @@ -3,6 +3,5 @@ config.h config.h.in proto.h stamp-h -tdbsam2_parse_info.h version.h wrepld_proto.h -- 2.11.4.GIT