aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenpmd/Makefile
blob: 7e9353bfb09eb336b6d5dd8909d1286c3fadb26a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
XEN_ROOT=../..
include $(XEN_ROOT)/tools/Rules.mk

CFLAGS  += -Werror
CFLAGS  += $(CFLAGS_libxenstore)
LDFLAGS += $(LDFLAGS_libxenstore)

BIN      = xenpmd

.PHONY: all
all: $(BIN)

.PHONY: install
install: all
	$(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
	$(INSTALL_PROG) $(BIN) $(DESTDIR)$(SBINDIR)

.PHONY: clean
clean:
	$(RM) -f $(BIN) $(DEPS)

-include $(DEPS)