ia64/xen-unstable

annotate tools/Rules.mk @ 8097:7363637e2721

merge

Keir did a similar change earlier, but my version removed some special case
code as well, now that __gpfn_to_mfn() can protect itself.
author Michael.Fetterman@cl.cam.ac.uk
date Mon Nov 28 15:22:47 2005 +0100 (2005-11-28)
parents 06d84bf87159
children 82e48750542c
rev   line source
kaf24@3549 1 # -*- mode: Makefile; -*-
kaf24@3549 2
kaf24@4252 3 include $(XEN_ROOT)/Config.mk
kaf24@4252 4
kaf24@3549 5 XEN_XC = $(XEN_ROOT)/tools/python/xen/lowlevel/xc
kaf24@3549 6 XEN_LIBXC = $(XEN_ROOT)/tools/libxc
kaf24@5965 7 XEN_XENSTORE = $(XEN_ROOT)/tools/xenstore
josht@6334 8 XEN_LIBXENSTAT = $(XEN_ROOT)/tools/xenstat/libxenstat/src
kaf24@3549 9
kaf24@3951 10 ifeq ($(XEN_TARGET_ARCH),x86_32)
kaf24@3549 11 CFLAGS += -m32 -march=i686
kaf24@5694 12 LDFLAGS += -m32
kaf24@3549 13 endif
kaf24@3549 14
kaf24@3951 15 ifeq ($(XEN_TARGET_ARCH),x86_64)
kaf24@3549 16 CFLAGS += -m64
kaf24@5694 17 LDFLAGS += -m64
kaf24@3549 18 endif
kaf24@3903 19
katzj@4544 20 X11_LDPATH = -L/usr/X11R6/$(LIBDIR)
katzj@4544 21
kaf24@3903 22 %.opic: %.c
kaf24@3903 23 $(CC) $(CPPFLAGS) -DPIC $(CFLAGS) -fPIC -c -o $@ $<
kaf24@3903 24
kaf24@3903 25 %.o: %.c
kaf24@3903 26 $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
kaf24@4451 27
kaf24@4451 28 %.o: %.cc
kaf24@4451 29 $(CC) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<