summaryrefslogtreecommitdiff
path: root/tools/flask
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2022-08-16 11:18:39 +0200
committerJan Beulich <jbeulich@suse.com>2022-08-16 11:18:39 +0200
commite450af698fc606828bf839c2d782a82e256e9715 (patch)
tree09f0c7b105a26eda371202907a3a26a38e3634cb /tools/flask
parent646589ac148a2ff6bb222a6081b4d7b13ee468c0 (diff)
downloadxen-e450af698fc606828bf839c2d782a82e256e9715.tar.gz
tools/flask/utils: list build targets in $(TARGETS)
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Henry Wang <Henry.Wang@arm.com> Acked-by: Daniel P. Smith <dpsmith@apertussolutions.com>
Diffstat (limited to 'tools/flask')
-rw-r--r--tools/flask/utils/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/flask/utils/Makefile b/tools/flask/utils/Makefile
index db567b13dc..6be134142a 100644
--- a/tools/flask/utils/Makefile
+++ b/tools/flask/utils/Makefile
@@ -4,10 +4,10 @@ include $(XEN_ROOT)/tools/Rules.mk
CFLAGS += -Werror
CFLAGS += $(CFLAGS_libxenctrl)
-CLIENTS := flask-loadpolicy flask-setenforce flask-getenforce flask-label-pci flask-get-bool flask-set-bool
+TARGETS := flask-loadpolicy flask-setenforce flask-getenforce flask-label-pci flask-get-bool flask-set-bool
.PHONY: all
-all: $(CLIENTS)
+all: $(TARGETS)
flask-loadpolicy: loadpolicy.o
$(CC) $(LDFLAGS) $< $(LDLIBS) $(LDLIBS_libxenctrl) -o $@
@@ -29,7 +29,7 @@ flask-set-bool: set-bool.o
.PHONY: clean
clean:
- $(RM) *.o $(CLIENTS) $(DEPS_RM)
+ $(RM) *.o $(TARGETS) $(DEPS_RM)
.PHONY: distclean
distclean: clean
@@ -37,10 +37,10 @@ distclean: clean
.PHONY: install
install: all
$(INSTALL_DIR) $(DESTDIR)$(sbindir)
- $(INSTALL_PROG) $(CLIENTS) $(DESTDIR)$(sbindir)
+ $(INSTALL_PROG) $(TARGETS) $(DESTDIR)$(sbindir)
.PHONY: uninstall
uninstall:
- rm -f $(addprefix $(DESTDIR)$(sbindir)/, $(CLIENTS))
+ rm -f $(addprefix $(DESTDIR)$(sbindir)/, $(TARGETS))
-include $(DEPS_INCLUDE)