source: trunk/packages/xen-3.1/xen-3.1/tools/vtpm/Rules.mk @ 34

Last change on this file since 34 was 34, checked in by hartmans, 18 years ago

Add xen and xen-common

File size: 689 bytes
Line 
1# Base definitions and rules (XEN_ROOT must be defined in including Makefile)
2include $(XEN_ROOT)/tools/Rules.mk
3
4#
5# Tool definitions
6#
7
8# Xen tools installation directory
9TOOLS_INSTALL_DIR = $(DESTDIR)/usr/bin
10
11# General compiler flags
12CFLAGS   = -Werror -g3 -I.
13
14# For generating dependencies
15CFLAGS  += -Wp,-MD,.$(@F).d
16
17DEP_FILES       = .*.d
18
19# Generic project files
20HDRS    = $(wildcard *.h)
21SRCS    = $(wildcard *.c)
22OBJS    = $(patsubst %.c,%.o,$(SRCS))
23
24# Generic (non-header) dependencies
25$(SRCS): Makefile $(XEN_ROOT)/tools/Rules.mk $(XEN_ROOT)/tools/vtpm/Rules.mk
26
27$(OBJS): $(SRCS)
28
29-include $(DEP_FILES)
30
31BUILD_EMULATOR = y
32
33# Make sure these are just rules
34.PHONY : all build install clean
Note: See TracBrowser for help on using the repository browser.