debuggers.hg

view tools/vtpm/Rules.mk @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
children 46f8fc57b1a4
line source
1 # Base definitions and rules (XEN_ROOT must be defined in including Makefile)
2 include $(XEN_ROOT)/tools/Rules.mk
4 #
5 # Tool definitions
6 #
8 # Xen tools installation directory
9 TOOLS_INSTALL_DIR = $(DESTDIR)/usr/bin
11 # General compiler flags
12 CFLAGS = -Werror -g3 -I.
14 # For generating dependencies
15 CFLAGS += -Wp,-MD,.$(@F).d
17 DEP_FILES = .*.d
19 # Generic project files
20 HDRS = $(wildcard *.h)
21 SRCS = $(wildcard *.c)
22 OBJS = $(patsubst %.c,%.o,$(SRCS))
24 # Generic (non-header) dependencies
25 $(SRCS): Makefile $(XEN_ROOT)/tools/Rules.mk $(XEN_ROOT)/tools/vtpm/Rules.mk
27 $(OBJS): $(SRCS)
29 -include $(DEP_FILES)
31 BUILD_EMULATOR = y
33 # Make sure these are just rules
34 .PHONY : all build install clean