build: remove "headers" and "proto" make targets.
authorMichael Adam <obnox@samba.org>
Sun, 18 May 2008 22:51:45 +0000 (00:51 +0200)
committerMichael Adam <obnox@samba.org>
Sun, 18 May 2008 22:51:45 +0000 (00:51 +0200)
Replace "proto" target by a message.

Michael
(This used to be commit 16fb26d73a2bf3520e3b4e6c6bead7321bf41fd3)

source3/Makefile.in

index bc2d6c287df31f611f3f3cb077cf7c6fe9e0cdfc..baec0e6cf79147306da97bfb3391b56c85aa2443 100644 (file)
@@ -2313,17 +2313,13 @@ include/build_env.h: script/build_env.sh
        @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
          > $(builddir)/include/build_env.h
 
-# "make headers" or "make proto" calls a subshell because we need to
-# make sure these commands are executed in sequence even for a
-# parallel make.
-headers:
-       $(MAKE) delheaders; \
-       $(MAKE) smbd/build_options.c; \
-       $(MAKE) include/build_env.h; \
+proto:
+       @echo
+       @echo "NOTE: 'proto' is no longer a valid make target as proto.h"
+       @echo "and other prototype headers are not generated anymore."
+       @echo
 
-proto: headers
-
-.PHONY: headers proto
+.PHONY: proto
 
 etags:
        etags `find $(srcdir) -name "*.[ch]" | grep -v /.svn/`