aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenpmd
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-03-31 19:34:56 +0100
committerIan Campbell <ian.campbell@citrix.com>2011-03-31 19:34:56 +0100
commit9ac650d825b140cbd1c2eac378ccdd7b3c52c86e (patch)
tree65dff2e3ba741c62e96e3240585e9e65c717373c /tools/xenpmd
parent61d0fe74c6d60cd184afdf4f4566f421c90816ce (diff)
downloadxen-9ac650d825b140cbd1c2eac378ccdd7b3c52c86e.tar.gz
xen-9ac650d825b140cbd1c2eac378ccdd7b3c52c86e.tar.bz2
xen-9ac650d825b140cbd1c2eac378ccdd7b3c52c86e.zip
tools: remove pattern matched linking rules
Most subdirs only build a single tool to start with and those which build multiple tools often have different linkage requirements. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/xenpmd')
-rw-r--r--tools/xenpmd/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/xenpmd/Makefile b/tools/xenpmd/Makefile
index 0743c8c04d..13f940fc77 100644
--- a/tools/xenpmd/Makefile
+++ b/tools/xenpmd/Makefile
@@ -6,21 +6,19 @@ CFLAGS += $(CFLAGS_libxenstore)
LDLIBS += $(LDLIBS_libxenstore)
-BIN = xenpmd
-
.PHONY: all
-all: $(BIN)
+all: xenpmd
.PHONY: install
install: all
$(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
- $(INSTALL_PROG) $(BIN) $(DESTDIR)$(SBINDIR)
+ $(INSTALL_PROG) xenpmd $(DESTDIR)$(SBINDIR)
.PHONY: clean
clean:
- $(RM) -f $(BIN) $(DEPS)
+ $(RM) -f xenpmd $(DEPS)
-%: %.o Makefile
+xenpmd: xenpmd.o Makefile
$(CC) $(LDFLAGS) $< -o $@ $(LDLIBS)
-include $(DEPS)