diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-01-30 10:50:07 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-01-30 10:50:07 +0000 |
commit | 3a413ef1eabbb28b589e5238d9c837a8275b54d0 (patch) | |
tree | c770d447b180d6b7c4c4afbb2cf6ebfd9185a806 | |
parent | ab049355af965f7d5a9851ddbb7400d3d9986b5a (diff) | |
download | samba-3a413ef1eabbb28b589e5238d9c837a8275b54d0.tar.gz samba-3a413ef1eabbb28b589e5238d9c837a8275b54d0.tar.xz samba-3a413ef1eabbb28b589e5238d9c837a8275b54d0.zip |
An attempt at producing the correct Makefile magic for wrepld_proto.h to be
automatically generated on first 'make'. This wasn't being picked up by the
build farm becouse of the explicit 'make proto'.
The 'make proto' bit isn't somthing our alpha testers know about (its certainly
not clearly documented) and its meant to be automatic.
I hope this works...
Andrew Bartlett
-rw-r--r-- | source/Makefile.in | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/source/Makefile.in b/source/Makefile.in index cc59111e20f..c90a23b2c97 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -455,7 +455,7 @@ POPT_OBJS=popt/findme.o popt/popt.o popt/poptconfig.o \ ###################################################################### # now the rules... ###################################################################### -all : SHOWFLAGS include/proto.h include/build_env.h $(SPROGS) $(PROGS) $(WINBIND_PROGS) $(WINBIND_SPROGS) $(LPROGS) $(SHLIBS) +all : SHOWFLAGS include/proto.h include/wrepld_proto.h include/build_env.h $(SPROGS) $(PROGS) $(WINBIND_PROGS) $(WINBIND_SPROGS) $(LPROGS) $(SHLIBS) pam_smbpass : SHOWFLAGS bin/pam_smbpass.@SHLIBEXT@ @@ -808,11 +808,6 @@ winbindd_proto: -h _WINBINDD_PROTO_H_ nsswitch/winbindd_proto.h \ $(WINBINDD_OBJ1) -wrepld_proto: - @cd $(srcdir) && $(SHELL) script/mkproto.sh $(AWK) \ - -h _WREPLD_PROTO_H_ $(builddir)/include/wrepld_proto.h \ - $(WREPL_OBJ1) - delheaders: @/bin/rm -f $(srcdir)/include/proto.h $(srcdir)/include/build_env.h @/bin/rm -f include/proto.h include/build_env.h @@ -831,9 +826,15 @@ include/build_env.h: @echo rebuilding include/build_env.h @cd $(srcdir) && $(SHELL) script/build_env.sh $(srcdir) $(builddir) $(CC) > $(builddir)/include/build_env.h -headers: delheaders include/proto.h include/build_env.h .headers.stamp +include/wrepld_proto.h: + @echo rebuilding include/wrepld_proto.h + @cd $(srcdir) && $(SHELL) script/mkproto.sh $(AWK) \ + -h _WREPLD_PROTO_H_ $(builddir)/include/wrepld_proto.h \ + $(WREPL_OBJ1) + +headers: delheaders include/proto.h include/build_env.h include/wrepld_proto.h .headers.stamp -proto: headers winbindd_proto wrepld_proto +proto: headers winbindd_proto etags: etags `find $(srcdir) -name "*.[ch]" | grep -v /CVS/` |