ia64/xen-unstable

view tools/vtpm/Rules.mk @ 9231:9c2c55ba22e5

Trivial fix to bind implementation.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Sat Mar 11 11:19:11 2006 +0100 (2006-03-11)
parents 7e68bc2745af
children fbcb603288bb
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 = -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/Rules.mk
32 $(OBJS): $(SRCS)
34 -include $(DEP_FILES)
36 BUILD_EMULATOR = n
38 # Make sure these are just rules
39 .PHONY : all build install clean