direct-io.hg

view tools/Rules.mk @ 5517:10e9028c8e3d

bitkeeper revision 1.1718.1.10 (42b7b19aqOS_1M8I4pIOFjiTPYWV-g)

Merge bk://xenbits.xensource.com/xen-unstable.bk
into spot.cl.cam.ac.uk:C:/Documents and Settings/iap10/xen-unstable.bk
author iap10@spot.cl.cam.ac.uk
date Tue Jun 21 06:20:10 2005 +0000 (2005-06-21)
parents 9f22db685802
children 1a7383f84989 707fcf42a5ae
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
8 ifeq ($(XEN_TARGET_ARCH),x86_32)
9 CFLAGS += -m32 -march=i686
10 LDFLAGS += -m elf_i386
11 endif
13 ifeq ($(XEN_TARGET_ARCH),x86_64)
14 CFLAGS += -m64
15 LDFLAGS += -m elf_x86_64
16 endif
18 X11_LDPATH = -L/usr/X11R6/$(LIBDIR)
20 %.opic: %.c
21 $(CC) $(CPPFLAGS) -DPIC $(CFLAGS) -fPIC -c -o $@ $<
23 %.o: %.c
24 $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
26 %.o: %.cc
27 $(CC) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<