direct-io.hg

annotate tools/Rules.mk @ 4376:c3e543f81772

bitkeeper revision 1.1236.1.156 (424a5bd5fg_psBdMIPncUZSGGI9ryQ)

[PATCH] ioemu-x86-64-makefile.patch

Fix makefiles on x86-64.

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
author arun.sharma@intel.com[kaf24]
date Wed Mar 30 07:57:09 2005 +0000 (2005-03-30)
parents 486217f3ad4f
children 372c77915c16
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@3549 7 XEN_LIBXUTIL = $(XEN_ROOT)/tools/libxutil
kaf24@3549 8
kaf24@3951 9 ifeq ($(XEN_TARGET_ARCH),x86_32)
kaf24@3549 10 CFLAGS += -m32 -march=i686
kaf24@3549 11 LDFLAGS += -m elf_i386
arun@4376 12 X11_LDPATH = -L/usr/X11R6/lib
kaf24@3549 13 endif
kaf24@3549 14
kaf24@3951 15 ifeq ($(XEN_TARGET_ARCH),x86_64)
kaf24@3549 16 CFLAGS += -m64
kaf24@3549 17 LDFLAGS += -m elf_x86_64
arun@4376 18 X11_LDPATH = -L/usr/X11R6/lib64
kaf24@3549 19 endif
kaf24@3903 20
kaf24@3903 21 %.opic: %.c
kaf24@3903 22 $(CC) $(CPPFLAGS) -DPIC $(CFLAGS) -fPIC -c -o $@ $<
kaf24@3903 23
kaf24@3903 24 %.o: %.c
kaf24@3903 25 $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<