ia64/xen-unstable

view xen/Rules.mk @ 348:e5e04893c022

bitkeeper revision 1.160.1.1 (3e8c846fQSuOz1Dd8MgUzwG5rj3bDQ)

Many files:
Free DOM0 kernel memory to Xen allocation pool after DOM0 is created. Fixed page-type handling -- we now correctly flush TLB if a page is unpinned after a disk read and refcnt falls to zero.
author kaf24@scramble.cl.cam.ac.uk
date Thu Apr 03 18:58:55 2003 +0000 (2003-04-03)
parents 9888f92572ba
children 88dba60f48b3
line source
2 ARCH := i386
4 TARGET := $(BASEDIR)/image
5 HDRS := $(wildcard $(BASEDIR)/include/xeno/*.h)
6 HDRS += $(wildcard $(BASEDIR)/include/scsi/*.h)
7 HDRS += $(wildcard $(BASEDIR)/include/hypervisor-ifs/*.h)
8 HDRS += $(wildcard $(BASEDIR)/include/asm-$(ARCH)/*.h)
10 C_SRCS := $(wildcard *.c)
11 S_SRCS := $(wildcard *.S)
12 OBJS := $(patsubst %.S,%.o,$(S_SRCS))
13 OBJS += $(patsubst %.c,%.o,$(C_SRCS))
15 # Note that link order matters!
16 ALL_OBJS := $(BASEDIR)/common/common.o
17 ALL_OBJS += $(BASEDIR)/net/network.o
18 ALL_OBJS += $(BASEDIR)/drivers/char/driver.o
19 ALL_OBJS += $(BASEDIR)/drivers/pci/driver.o
20 ALL_OBJS += $(BASEDIR)/drivers/net/driver.o
21 ALL_OBJS += $(BASEDIR)/drivers/block/driver.o
22 ALL_OBJS += $(BASEDIR)/drivers/ide/driver.o
23 ALL_OBJS += $(BASEDIR)/drivers/scsi/driver.o
24 ALL_OBJS += $(BASEDIR)/arch/$(ARCH)/arch.o
26 HOSTCC = gcc
27 HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
29 include $(BASEDIR)/arch/$(ARCH)/Rules.mk
31 %.o: %.c $(HDRS) Makefile
32 $(CC) -g $(CFLAGS) -c $< -o $@
34 %.o: %.S $(HDRS) Makefile
35 $(CC) $(CFLAGS) -D__ASSEMBLY__ -c $< -o $@