ia64/xen-unstable

view tools/Rules.mk @ 7027:06d84bf87159

Merge latest xen-unstable into xen-ia64-unstable
author djm@kirby.fc.hp.com
date Thu Sep 22 11:42:01 2005 -0600 (2005-09-22)
parents 9af349b055e5 3233e7ecfa9f
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 $@ $<