created a new target: genparse
authorSimo Sorce <idra@samba.org>
Wed, 15 Oct 2003 17:41:25 +0000 (17:41 +0000)
committerSimo Sorce <idra@samba.org>
Wed, 15 Oct 2003 17:41:25 +0000 (17:41 +0000)
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
source/include/.cvsignore

index e377c7a85ef2ee7d87dcf048f2c701c6af8528c3..8cd2c9f621f467ccedf254cbffeefc8f4da1fbdb 100644 (file)
@@ -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
index 6f72267aaad2b79370bc7b88efdd01bf8314dbfc..3827fdf70da5f066b853a2b6f1ae987ac13627b4 100644 (file)
@@ -3,6 +3,5 @@ config.h
 config.h.in
 proto.h
 stamp-h
-tdbsam2_parse_info.h
 version.h
 wrepld_proto.h