ia64/xen-unstable

view tools/vtpm/Rules.mk @ 6946:e703abaf6e3d

Add behaviour to the remove methods to remove the transaction's path itself. This allows us to write Remove(path) to remove the specified path rather than having to slice the path ourselves.
author emellor@ewan
date Sun Sep 18 14:42:13 2005 +0100 (2005-09-18)
parents 3233e7ecfa9f
children 06d84bf87159
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/Rules.mk
32 $(OBJS): $(SRCS)
34 -include $(DEP_FILES)
36 # Make sure these are just rules
37 .PHONY : all build install clean