summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-03-19 12:13:02 +0000
committerMartin Pool <mbp@samba.org>2002-03-19 12:13:02 +0000
commit3bc3a3163931021517d7c551e4a0d0730b7b33ad (patch)
tree686f6303b6edcf5c9fa7b315e9e10015ec342819 /source3
parent7154d14a850a180a83b9b70053a7b1428b971094 (diff)
downloadsamba-3bc3a3163931021517d7c551e4a0d0730b7b33ad.tar.gz
samba-3bc3a3163931021517d7c551e4a0d0730b7b33ad.tar.bz2
samba-3bc3a3163931021517d7c551e4a0d0730b7b33ad.zip
Take out autobuild dependency on proto.h; breaks some proprietary Makes.
(This used to be commit aa279932456eff8c6fce00cf01e3f62536573f14)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in12
1 files changed, 4 insertions, 8 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index e0cbfcf3cc..da078523ec 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -858,7 +858,7 @@ $(PROTO_OBJ): .proto.stamp
# different to the existing ones.
$(srcdir)/include/proto.h: .proto.check
-.proto.check: $(ALL_SOURCE)
+.proto.check:
@echo Checking $(srcdir)/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'` \
@@ -872,12 +872,8 @@ $(srcdir)/include/proto.h: .proto.check
mv $(builddir)/include/proto.h.new include/proto.h; \
fi
-.proto.stamp:
- @if [ \! -f .proto.stamp ] ; \
- then \
- touch .proto.stamp; \
- ALL_SOURCE="`echo $(srcdir)/*.c $(srcdir)/*/*.c`" $(MAKE) $(MAKEFLAGS) .proto.check; \
- fi
+.proto.stamp: .proto.check
+ @[ -f .proto.stamp ] || touch .proto.stamp
include/build_env.h:
@echo rebuilding include/build_env.h
@@ -889,7 +885,7 @@ include/wrepld_proto.h:
-h _WREPLD_PROTO_H_ $(builddir)/include/wrepld_proto.h \
$(WREPL_OBJ1)
-headers: .proto.stamp $(srcdir)/include/proto.h include/build_env.h include/wrepld_proto.h
+headers: .proto.check $(srcdir)/include/proto.h include/build_env.h include/wrepld_proto.h
proto: headers winbindd_proto