1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

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 commit is contained in:
Simo Sorce 0001-01-01 00:00:00 +00:00
parent 63ff13b209
commit 7e2d5da2dc
2 changed files with 7 additions and 5 deletions

View 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

View File

@ -3,6 +3,5 @@ config.h
config.h.in
proto.h
stamp-h
tdbsam2_parse_info.h
version.h
wrepld_proto.h