1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-07 01:58:28 +03:00

exclude tdbsam2.h generation until it will be used

This commit is contained in:
Simo Sorce -
parent 7e28ee1cf8
commit 28b73a3921

View File

@ -1251,8 +1251,8 @@ modules_clean:
# afterwards. # afterwards.
proto_exists: include/proto.h include/wrepld_proto.h include/build_env.h \ proto_exists: include/proto.h include/wrepld_proto.h include/build_env.h \
nsswitch/winbindd_proto.h web/swat_proto.h \ nsswitch/winbindd_proto.h web/swat_proto.h \
client/client_proto.h utils/net_proto.h \ client/client_proto.h utils/net_proto.h
include/tdbsam2_parse_info.h # include/tdbsam2_parse_info.h
delheaders: delheaders:
@echo Removing prototype headers @echo Removing prototype headers
@ -1264,8 +1264,8 @@ delheaders:
@/bin/rm -f include/proto.h include/build_env.h include/wrepld_proto.h \ @/bin/rm -f include/proto.h include/build_env.h include/wrepld_proto.h \
nsswitch/winbindd_proto.h web/swat_proto.h \ nsswitch/winbindd_proto.h web/swat_proto.h \
client/client_proto.h utils/net_proto.h \ client/client_proto.h utils/net_proto.h
include/tdbsam2_parse_info.h # include/tdbsam2_parse_info.h
include/proto.h: include/proto.h:
@echo Building include/proto.h @echo Building include/proto.h
@ -1303,14 +1303,15 @@ utils/net_proto.h:
-h _CLIENT_PROTO_H_ utils/net_proto.h \ -h _CLIENT_PROTO_H_ utils/net_proto.h \
$(NET_OBJ1) $(NET_OBJ1)
include/tdbsam2_parse_info.h: # not used yet an perl dependent
@if test -n "$(PERL)"; then \ #include/tdbsam2_parse_info.h:
cd $(srcdir) && @PERL@ -w script/genstruct.pl \ # @if test -n "$(PERL)"; then \
-o include/tdbsam2_parse_info.h $(CC) -E -O2 -g \ # cd $(srcdir) && @PERL@ -w script/genstruct.pl \
include/tdbsam2.h; \ # -o include/tdbsam2_parse_info.h $(CC) -E -O2 -g \
else \ # include/tdbsam2.h; \
echo Unable to build $@, continuing; \ # else \
fi # echo Unable to build $@, continuing; \
# fi
# "make headers" or "make proto" calls a subshell because we need to # "make headers" or "make proto" calls a subshell because we need to
# make sure these commands are executed in sequence even for a # make sure these commands are executed in sequence even for a
@ -1323,8 +1324,8 @@ headers:
$(MAKE) nsswitch/winbindd_proto.h; \ $(MAKE) nsswitch/winbindd_proto.h; \
$(MAKE) web/swat_proto.h; \ $(MAKE) web/swat_proto.h; \
$(MAKE) client/client_proto.h; \ $(MAKE) client/client_proto.h; \
$(MAKE) utils/net_proto.h; \ $(MAKE) utils/net_proto.h;
$(MAKE) include/tdbsam2_parse_info.h # $(MAKE) include/tdbsam2_parse_info.h
proto: headers proto: headers