r21804: Create a reference after proto_exits was called once. Else we link the
authorLars Müller <lmuelle@samba.org>
Mon, 12 Mar 2007 20:57:49 +0000 (20:57 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:35 +0000 (12:18 -0500)
binaries again with each make.  Thx Volker to point my chesty at this.
(This used to be commit 0cb6634d94f601a96541f882a5486e82084f9413)

source3/Makefile.in

index 899c3f703fd6c9636c65f8ba79135b3a60287923..091d2f4812f09aa20bf90c23458910daf95d31e4 100644 (file)
@@ -1837,7 +1837,7 @@ clean: delheaders python_clean
                $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(ROOT_SBIN_PROGS) \
                $(MODULES) $(TORTURE_PROGS) $(LIBSMBCLIENT) $(LIBADDNS) \
                $(LIBSMBSHAREMODES) $(EVERYTHING_PROGS) $(LIBMSRPC) \
-               .headers.stamp */src/*.o
+               .headers.stamp */src/*.o proto_exists
        -rm -rf t_dir
 
 # Making this target will just make sure that the prototype files
@@ -1847,6 +1847,7 @@ clean: delheaders python_clean
 proto_exists: include/proto.h include/build_env.h \
        nsswitch/winbindd_proto.h web/swat_proto.h \
        client/client_proto.h utils/net_proto.h utils/ntlm_auth_proto.h smbd/build_options.c
+       @touch proto_exists
 
 delheaders:
        @echo Removing prototype headers