blob: 6df8385dc46c2f00400e2382b460130074aba8fb (
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=$(CURDIR)/../../../..
include $(XEN_ROOT)/tools/Rules.mk
CFLAGS += -Werror
CFLAGS += $(CFLAGS_libxenctrl)
CFLAGS += $(CFLAGS_xeninclude)
HDRS = $(wildcard *.h)
.PHONY: all
all: xen-mceinj
install:
cp xen-mceinj /usr/sbin/
.PHONY: clean
clean:
$(RM) *.o xen-mceinj
xen-mceinj: %: %.o Makefile
$(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest) $(LDLIBS_libxenstore)
|