direct-io.hg

view xen/Makefile @ 327:cdaace96648d

bitkeeper revision 1.144 (3e74d2c4Sp8uQ7JRHj5sf5cI7xOMQA)

Merge scramble.cl.cam.ac.uk:/usr/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xeno
author kaf24@scramble.cl.cam.ac.uk
date Sun Mar 16 19:38:44 2003 +0000 (2003-03-16)
parents 3cc17656be66
children 9a6284b6a131 79f5506ed415
line source
2 export BASEDIR := $(shell pwd)
4 include Rules.mk
6 default: $(TARGET)
7 gzip -f -9 < $(TARGET) > $(TARGET).gz
8 # objdump -D -S image >image.s
10 install: $(TARGET)
11 gzip -f -9 < $(TARGET) > $(TARGET).gz
12 cp $(TARGET).gz ../../install/images/image
14 clean: delete-links
15 $(MAKE) -C tools clean
16 $(MAKE) -C common clean
17 $(MAKE) -C net clean
18 $(MAKE) -C drivers clean
19 $(MAKE) -C arch/$(ARCH) clean
20 rm -f *.o $(TARGET)* *~ core
22 $(TARGET): make-links
23 $(MAKE) -C tools
24 $(MAKE) -C common
25 $(MAKE) -C net
26 $(MAKE) -C drivers
27 $(MAKE) -C arch/$(ARCH)
29 make-links:
30 ln -sf xeno include/linux
31 ln -sf asm-$(ARCH) include/asm
33 delete-links:
34 rm -f include/linux include/asm
36 SUBDIRS =arch common drivers net
37 TAGS:
38 etags `find include/asm-$(ARCH) -name '*.h'`
39 find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print | xargs etags -a
40 find $(SUBDIRS) -name '*.[ch]' | xargs etags -a
42 MAP:
43 nm image | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map