aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenmon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xenmon/Makefile')
-rw-r--r--tools/xenmon/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/xenmon/Makefile b/tools/xenmon/Makefile
index ffdca8049e..baba3e129d 100644
--- a/tools/xenmon/Makefile
+++ b/tools/xenmon/Makefile
@@ -28,16 +28,20 @@ LDFLAGS += -L $(XEN_LIBXC)
BIN = setmask xenbaked
SCRIPTS = xenmon.py
+.PHONY: all
all: build
+.PHONY: build
build: $(BIN)
+.PHONY: install
install: xenbaked setmask
[ -d $(DESTDIR)$(sbindir) ] || $(INSTALL_DIR) $(DESTDIR)$(sbindir)
$(INSTALL_PROG) xenbaked $(DESTDIR)$(sbindir)/xenbaked
$(INSTALL_PROG) setmask $(DESTDIR)$(sbindir)/setmask
$(INSTALL_PROG) xenmon.py $(DESTDIR)$(sbindir)/xenmon.py
+.PHONY: clean
clean:
rm -f $(BIN)