ia64/xen-unstable

view tools/vtpm_manager/Rules.mk @ 8740:3d7ea7972b39

Update patches for linux 2.6.15.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Thu Feb 02 17:16:00 2006 +0000 (2006-02-02)
parents 19f1f4fa7745
children 7e68bc2745af
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 # Installation program and options
9 INSTALL = install
10 INSTALL_PROG = $(INSTALL) -m0755
11 INSTALL_DIR = $(INSTALL) -d -m0755
13 # Xen tools installation directory
14 TOOLS_INSTALL_DIR = $(DESTDIR)/usr/bin
16 # General compiler flags
17 CFLAGS = -Wall -Werror -g3 -I.
19 # For generating dependencies
20 CFLAGS += -Wp,-MD,.$(@F).d
22 DEP_FILES = .*.d
24 # Generic project files
25 HDRS = $(wildcard *.h)
26 SRCS = $(wildcard *.c)
27 OBJS = $(patsubst %.c,%.o,$(SRCS))
29 # Generic (non-header) dependencies
30 $(SRCS): Makefile $(XEN_ROOT)/tools/Rules.mk $(XEN_ROOT)/tools/vtpm_manager/Rules.mk
32 $(OBJS): $(SRCS)
34 -include $(DEP_FILES)
36 # Make sure these are just rules
37 .PHONY : all build install clean
39 #
40 # Project-specific definitions
41 #
43 # Logging Level. See utils/tools.h for usage
44 CFLAGS += -DLOGGING_MODULES="(BITMASK(VTPM_LOG_TCS)|BITMASK(VTPM_LOG_VTSP)|BITMASK(VTPM_LOG_VTPM)|BITMASK(VTPM_LOG_VTPM_DEEP))"
46 # Silent Mode
47 #CFLAGS += -DLOGGING_MODULES=0x0
48 #CFLAGS += -DLOGGING_MODULES=0xff
50 # Use frontend/backend pairs between manager & DMs?
51 #CFLAGS += -DVTPM_MULTI_VM
53 # vtpm_manager listens on /tmp/in.fifo and /tmp/out.fifo rather than backend
54 #CFLAGS += -DDUMMY_BACKEND
56 # Do not have manager launch DMs.
57 #CFLAGS += -DMANUAL_DM_LAUNCH
59 # Fixed OwnerAuth
60 #CFLAGS += -DWELL_KNOWN_OWNER_AUTH
62 # TPM Hardware Device or TPM Simulator
63 #CFLAGS += -DTPM_HWDEV
65 # Include
66 CFLAGS += -I$(XEN_ROOT)/tools/vtpm_manager/crypto
67 CFLAGS += -I$(XEN_ROOT)/tools/vtpm_manager/util
68 CFLAGS += -I$(XEN_ROOT)/tools/vtpm_manager/tcs