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 | c08186b947350b38f157ff037fd57327509a3a10 (patch) | |
tree | fec56cf38b02cf9387891592935d9f5289bc906b /source3 | |
parent | a7737cd93e399709beb18530b2d65eb70e84d025 (diff) | |
download | samba-c08186b947350b38f157ff037fd57327509a3a10.tar.gz samba-c08186b947350b38f157ff037fd57327509a3a10.tar.bz2 samba-c08186b947350b38f157ff037fd57327509a3a10.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
(This used to be commit 3a413ef1eabbb28b589e5238d9c837a8275b54d0)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/Makefile.in | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index cc59111e20..c90a23b2c9 100644 --- a/source3/Makefile.in +++ b/source3/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/` |