Line | |
---|
1 | # Base definitions and rules (XEN_ROOT must be defined in including Makefile) |
---|
2 | include $(XEN_ROOT)/tools/Rules.mk |
---|
3 | |
---|
4 | # |
---|
5 | # Tool definitions |
---|
6 | # |
---|
7 | |
---|
8 | # Xen tools installation directory |
---|
9 | TOOLS_INSTALL_DIR = $(DESTDIR)/usr/bin |
---|
10 | |
---|
11 | # General compiler flags |
---|
12 | CFLAGS = -Werror -g3 -I. |
---|
13 | |
---|
14 | # For generating dependencies |
---|
15 | CFLAGS += -Wp,-MD,.$(@F).d |
---|
16 | |
---|
17 | DEP_FILES = .*.d |
---|
18 | |
---|
19 | # Generic project files |
---|
20 | HDRS = $(wildcard *.h) |
---|
21 | SRCS = $(wildcard *.c) |
---|
22 | OBJS = $(patsubst %.c,%.o,$(SRCS)) |
---|
23 | |
---|
24 | # Generic (non-header) dependencies |
---|
25 | $(SRCS): Makefile $(XEN_ROOT)/tools/Rules.mk $(XEN_ROOT)/tools/vtpm/Rules.mk |
---|
26 | |
---|
27 | $(OBJS): $(SRCS) |
---|
28 | |
---|
29 | -include $(DEP_FILES) |
---|
30 | |
---|
31 | BUILD_EMULATOR = y |
---|
32 | |
---|
33 | # Make sure these are just rules |
---|
34 | .PHONY : all build install clean |
---|
Note: See
TracBrowser
for help on using the repository browser.