ia64/xen-unstable

view tools/vtpm_manager/Rules.mk @ 19731:01748ccc4da3

Intel VT-d: fix Stoakley boot issue with iommu=1

Signed-off-by: Weidong Han <Weidong.han@intel.com>
Signed-off-by: Allen Kay <allen.m.kay@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jun 05 09:25:50 2009 +0100 (2009-06-05)
parents bd78714b8594
children
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 # Generic project files
15 HDRS = $(wildcard *.h)
16 SRCS = $(wildcard *.c)
17 OBJS = $(patsubst %.c,%.o,$(SRCS))
19 # Generic (non-header) dependencies
20 $(SRCS): Makefile $(XEN_ROOT)/tools/Rules.mk $(XEN_ROOT)/tools/vtpm_manager/Rules.mk
22 $(OBJS): $(SRCS)
24 -include $(FILES)
26 # Make sure these are just rules
27 .PHONY : all build install clean
29 #
30 # Project-specific definitions
31 #
33 # Need UNIX98 spec for pthread rwlocks
34 CFLAGS += -D_GNU_SOURCE
36 # Logging Level. See utils/tools.h for usage
37 CFLAGS += -DLOGGING_MODULES="(BITMASK(VTPM_LOG_TCS)|BITMASK(VTPM_LOG_VTSP)|BITMASK(VTPM_LOG_VTPM))"
39 # Silent Mode
40 #CFLAGS += -DLOGGING_MODULES=0x0
41 #CFLAGS += -DLOGGING_MODULES=0xff
43 # Use frontend/backend pairs between manager & DMs?
44 #CFLAGS += -DVTPM_MULTI_VM
46 # vtpm_manager listens on fifo's rather than backend
47 #CFLAGS += -DDUMMY_BACKEND
49 # TCS talks to fifo's rather than /dev/tpm. TPM Emulator assumed on fifos
50 #CFLAGS += -DDUMMY_TPM
52 # Do not have manager launch DMs.
53 #CFLAGS += -DMANUAL_DM_LAUNCH
55 # Fixed OwnerAuth
56 #CFLAGS += -DWELL_KNOWN_OWNER_AUTH
58 # Include
59 CFLAGS += -I$(XEN_ROOT)/tools/vtpm_manager/crypto
60 CFLAGS += -I$(XEN_ROOT)/tools/vtpm_manager/util
61 CFLAGS += -I$(XEN_ROOT)/tools/vtpm_manager/tcs
62 CFLAGS += -I$(XEN_ROOT)/tools/vtpm_manager/manager