debuggers.hg

view tools/Rules.mk @ 6708:38c5199155fc

g/c unused xcs.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Wed Sep 07 19:01:05 2005 +0000 (2005-09-07)
parents dd668f7527cb
children 7d0fb56b4a91
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 $@ $<