direct-io.hg

view xen/Rules.mk @ 975:0cac9d16969a

bitkeeper revision 1.627.1.1 (3fbf4befPIgRjU40eyhadjRuioWcwA)

Many files:
Lib renames and fixes. Only build shared version of libxc, as the static archive version caused too many problems.
xc_vif.c:
Rename: tools/xc/lib/libxc_vif.c -> tools/xc/lib/xc_vif.c
xc_vbd.c:
Rename: tools/xc/lib/libxc_vbd.c -> tools/xc/lib/xc_vbd.c
xc_private.h:
Rename: tools/xc/lib/libxc_private.h -> tools/xc/lib/xc_private.h
xc_private.c:
Rename: tools/xc/lib/libxc_private.c -> tools/xc/lib/xc_private.c
xc_misc.c:
Rename: tools/xc/lib/libxc_misc.c -> tools/xc/lib/xc_misc.c
xc_linux_restore.c:
Rename: tools/xc/lib/libxc_linux_restore.c -> tools/xc/lib/xc_linux_restore.c
xc_linux_save.c:
Rename: tools/xc/lib/libxc_linux_save.c -> tools/xc/lib/xc_linux_save.c
xc_linux_build.c:
Rename: tools/xc/lib/libxc_linux_build.c -> tools/xc/lib/xc_linux_build.c
xc_domain.c:
Rename: tools/xc/lib/libxc_domain.c -> tools/xc/lib/xc_domain.c
xc_bvtsched.c:
Rename: tools/xc/lib/libxc_bvtsched.c -> tools/xc/lib/xc_bvtsched.c
author kaf24@scramble.cl.cam.ac.uk
date Sat Nov 22 11:43:43 2003 +0000 (2003-11-22)
parents bf67cb428fa7
children 4587faa56a0a
line source
1 ARCH := i386
3 TARGET := $(BASEDIR)/xen
4 HDRS := $(wildcard $(BASEDIR)/include/xeno/*.h)
5 HDRS += $(wildcard $(BASEDIR)/include/scsi/*.h)
6 HDRS += $(wildcard $(BASEDIR)/include/hypervisor-ifs/*.h)
7 HDRS += $(wildcard $(BASEDIR)/include/asm-$(ARCH)/*.h)
8 # compile.h is always regenerated, but other files shouldn't be rebuilt
9 HDRS := $(subst $(BASEDIR)/include/xeno/compile.h,,$(HDRS))
11 C_SRCS := $(wildcard *.c)
12 S_SRCS := $(wildcard *.S)
13 OBJS := $(patsubst %.S,%.o,$(S_SRCS))
14 OBJS += $(patsubst %.c,%.o,$(C_SRCS))
16 # Note that link order matters!
17 ALL_OBJS := $(BASEDIR)/common/common.o
18 ALL_OBJS += $(BASEDIR)/net/network.o
19 ALL_OBJS += $(BASEDIR)/drivers/char/driver.o
20 ALL_OBJS += $(BASEDIR)/drivers/pci/driver.o
21 ALL_OBJS += $(BASEDIR)/drivers/net/driver.o
22 ALL_OBJS += $(BASEDIR)/drivers/block/driver.o
23 ALL_OBJS += $(BASEDIR)/drivers/cdrom/driver.o
24 ALL_OBJS += $(BASEDIR)/drivers/ide/driver.o
25 ALL_OBJS += $(BASEDIR)/drivers/scsi/driver.o
26 ALL_OBJS += $(BASEDIR)/arch/$(ARCH)/arch.o
28 HOSTCC = gcc
29 HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
31 include $(BASEDIR)/arch/$(ARCH)/Rules.mk
33 %.o: %.c $(HDRS) Makefile
34 $(CC) $(CFLAGS) -c $< -o $@
36 %.o: %.S $(HDRS) Makefile
37 $(CC) $(CFLAGS) -D__ASSEMBLY__ -c $< -o $@