summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-06-22 02:33:27 +0000
committerAndrew Tridgell <tridge@samba.org>2001-06-22 02:33:27 +0000
commit15bf58b2578024be2a544a25a22facc0ab19371e (patch)
tree55e275c1e312dbd720b98ed8dc725b591dc2202a /source3/Makefile.in
parentdf07df9ffce69551105dfd1334d33f69de4442b7 (diff)
downloadsamba-15bf58b2578024be2a544a25a22facc0ab19371e.tar.gz
samba-15bf58b2578024be2a544a25a22facc0ab19371e.tar.bz2
samba-15bf58b2578024be2a544a25a22facc0ab19371e.zip
auto-build proto.h if its not there, but don't make it depend
on anything. Delete proto.h from CVS (This used to be commit 8a37df73ec4d8d1a7db60a49cd5d7d22c4704a88)
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r--source3/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index e0c8958189..bf13115445 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -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/`