direct-io.hg

view tools/Rules.mk @ 7477:5a7baecb1c70

Fix an issue for passing arguement from control panel to deivce model
for some arguemnt like 'localtime', 'isa', device model need an argument
"-localtime", instead of "-localtime 1"
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Sun Oct 23 16:51:47 2005 +0100 (2005-10-23)
parents 06d84bf87159
children 82e48750542c
line source
1 # -*- mode: Makefile; -*-
3 include $(XEN_ROOT)/Config.mk
5 XEN_XC = $(XEN_ROOT)/tools/python/xen/lowlevel/xc
6 XEN_LIBXC = $(XEN_ROOT)/tools/libxc
7 XEN_XENSTORE = $(XEN_ROOT)/tools/xenstore
8 XEN_LIBXENSTAT = $(XEN_ROOT)/tools/xenstat/libxenstat/src
10 ifeq ($(XEN_TARGET_ARCH),x86_32)
11 CFLAGS += -m32 -march=i686
12 LDFLAGS += -m32
13 endif
15 ifeq ($(XEN_TARGET_ARCH),x86_64)
16 CFLAGS += -m64
17 LDFLAGS += -m64
18 endif
20 X11_LDPATH = -L/usr/X11R6/$(LIBDIR)
22 %.opic: %.c
23 $(CC) $(CPPFLAGS) -DPIC $(CFLAGS) -fPIC -c -o $@ $<
25 %.o: %.c
26 $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
28 %.o: %.cc
29 $(CC) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<