tools/tests: Allow a test subdir to have `install' and `uninstall' targets
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 25 May 2018 16:01:15 +0000 (17:01 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 6 Jul 2018 15:27:52 +0000 (16:27 +0100)
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/tests/Makefile
tools/tests/depriv/Makefile
tools/tests/mce-test/Makefile
tools/tests/mem-sharing/Makefile
tools/tests/xen-access/Makefile
tools/tests/xenstore/Makefile

index f6942a93fb3ae02651b0c4a9254e0125d4dd02d5..26c46b49151ecc77df25d88130aa59c76d9abfff 100644 (file)
@@ -13,11 +13,8 @@ endif
 SUBDIRS-$(CONFIG_X86) += x86_emulator
 SUBDIRS-y += xen-access
 SUBDIRS-y += xenstore
+SUBDIRS-y += depriv
 SUBDIRS-$(CONFIG_HAS_PCI) += vpci
 
 .PHONY: all clean install distclean uninstall
-all clean distclean: %: subdirs-%
-
-install:
-
-uninstall:
+all clean distclean install uninstall: %: subdirs-%
index 2af1e29b06945b85510e7112c7a02d77d3532b34..643d2c50c1d6f14f2cdfee6e428c828e0ec7f323 100644 (file)
@@ -39,4 +39,6 @@ clean:
 .PHONY: distclean
 distclean: clean
 
+install uninstall:
+
 -include $(DEPS_INCLUDE)
index 07a774aeed0ee43cbcef8f9503afb17a2bb2d568..1395df38acf17e5107af8eea25712e397a772a28 100644 (file)
@@ -8,3 +8,5 @@ clean:
 
 distclean:
        $(MAKE) -C tools distclean
+
+install uninstall:
index 497696f19ce04b8c123113cba77d01f42048df3f..5cd96e4cc979766e574a479587be99bcbe3d617d 100644 (file)
@@ -27,3 +27,5 @@ memshrtool: memshrtool.o
        $(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenctrl)
 
 -include $(DEPS_INCLUDE)
+
+install uninstall:
index 0ca3f6f4c94ba4ad48bf71ac5e58ff9ecd3685a7..131c9f375d27052ddc9b0dfaff99d86373bb5042 100644 (file)
@@ -28,4 +28,6 @@ distclean: clean
 xen-access: xen-access.o Makefile
        $(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest) $(LDLIBS_libxenevtchn)
 
+install uninstall:
+
 -include $(DEPS_INCLUDE)
index b37b90d03af7284b386415f46978d78fe124bd9f..a367d88803ae8b3ffc2b1180b7fd8eb2ace2ba5e 100644 (file)
@@ -24,4 +24,6 @@ distclean: clean
 xs-test: xs-test.o Makefile
        $(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenstore)
 
+install uninstall:
+
 -include $(DEPS_INCLUDE)