1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

auto-build proto.h if its not there, but don't make it depend

on anything. Delete proto.h from CVS
This commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent 465994cfbc
commit 8a37df73ec
2 changed files with 4 additions and 4704 deletions

View File

@ -397,7 +397,7 @@ WINBIND_NSS_PICOBJS = $(WINBIND_NSS_OBJ:.o=.po)
# now the rules...
######################################################################
all : CHECK $(SPROGS) $(PROGS)
all : CHECK include/proto.h $(SPROGS) $(PROGS)
# removed SHLIBS until it compiles on more platforms (tridge)
# $(SHLIBS)
@ -709,10 +709,12 @@ winbindd_proto:
-h _WINBINDD_PROTO_H_ nsswitch/winbindd_proto.h \
$(WINBINDD_OBJ1)
proto:
include/proto.h:
@echo rebuilding include/proto.h
@cd $(srcdir) && $(AWK) -f script/mkproto.awk `echo $(PROTO_OBJ) | tr ' ' '\n' | sed -e 's/\.o/\.c/g' | sort -u | egrep -v 'ubiqx/|wrapped'` > include/proto.h
proto: include/proto.h
etags:
etags `find $(srcdir) -name "*.[ch]" | grep -v /CVS/`

File diff suppressed because it is too large Load Diff