ia64/xen-unstable

view xen/Rules.mk @ 937:106bc1c68738

bitkeeper revision 1.593.1.1 (3fb2673ecxanxs8T80yNhChH3vMCyA)

add new domain 0 operation to read console ring in Xen
author br260@labyrinth.cl.cam.ac.uk
date Wed Nov 12 17:00:46 2003 +0000 (2003-11-12)
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 $@