datapath: Add missing targets to avoid failure on e.g. "make TAGS".
authorBen Pfaff <blp@nicira.com>
Wed, 27 Jul 2011 00:08:06 +0000 (17:08 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 27 Jul 2011 00:08:06 +0000 (17:08 -0700)
Automake invokes a number of targets recursively, including in
datapath/linux, so we need to define all those targets or get an error
from "make" when those targets are invoked, e.g. when "make TAGS" is run.
This commit adds a no-op target to the main datapath/linux Makefile for
each recursive target listed in the "Third-Party Makefiles" section of
the Automake manual, in the order listed there, fixing the problem.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/linux/Makefile.main.in

index 1edfc34120b67a7fdd526dca9fd4ee57df5ab43b..0302fc6506a47a8e9d3eb91ec06b56808aa6df53 100644 (file)
@@ -13,15 +13,34 @@ default: $(build_links)
 $(foreach s,$(sort $(foreach m,$(build_modules),$($(m)_sources))), \
   $(eval $(notdir $(s)): ; ln -s $(srcdir)/../$(s) $@))
 
-distclean: clean
-       rm -f kcompat.h
+all: default
 distdir: clean
 install:
-all: default
+install-data:
+install-exec:
+uninstall:
+install-dvi:
+install-html:
+install-info:
+install-ps:
+install-pdf:
+installdirs:
 check: all
+installcheck:
+mostlyclean:
 clean:
        rm -f *.o *.ko *_mod.* Module.symvers *.cmd kcompat.h.new
        for d in $(build_links); do if test -h $$d; then rm $$d; fi; done
+distclean: clean
+       rm -f kcompat.h
+maintainer-clean: distclean
+dvi:
+pdf:
+ps:
+info:
+html:
+tags:
+TAGS:
 
 ifneq ($(KSRC),)