From 13b630579b8b7c67356f46b963e1256d66db0abc Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 26 Jul 2011 17:08:06 -0700 Subject: [PATCH] datapath: Add missing targets to avoid failure on e.g. "make TAGS". 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 Acked-by: Jesse Gross --- datapath/linux/Makefile.main.in | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/datapath/linux/Makefile.main.in b/datapath/linux/Makefile.main.in index 1edfc341..0302fc65 100644 --- a/datapath/linux/Makefile.main.in +++ b/datapath/linux/Makefile.main.in @@ -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),) -- 2.30.2