debuggers.hg

view tools/include/Makefile @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
children 46f8fc57b1a4
line source
1 XEN_ROOT = ../..
2 include $(XEN_ROOT)/tools/Rules.mk
4 .PHONY: all
5 all: xen-foreign xen/.dir
7 .PHONY: xen-foreign
8 xen-foreign:
9 $(MAKE) -C xen-foreign
11 xen/.dir:
12 @rm -rf xen
13 mkdir xen
14 ln -sf ../$(XEN_ROOT)/xen/include/public/COPYING xen
15 ln -sf $(addprefix ../,$(wildcard $(XEN_ROOT)/xen/include/public/*.h)) xen
16 ln -sf $(addprefix ../$(XEN_ROOT)/xen/include/public/,arch-ia64 arch-x86 hvm io xsm) xen
17 ln -sf ../xen-sys/$(XEN_OS) xen/sys
18 ln -s ../xen-foreign xen/foreign
19 touch $@
21 .PHONY: install
22 install: all
23 $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/arch-ia64
24 $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/arch-ia64/hvm
25 $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/arch-x86
26 $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/arch-x86/hvm
27 $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/foreign
28 $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/hvm
29 $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/io
30 $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/sys
31 $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xen/xsm
32 $(INSTALL_DATA) xen/COPYING $(DESTDIR)$(INCLUDEDIR)/xen
33 $(INSTALL_DATA) xen/*.h $(DESTDIR)$(INCLUDEDIR)/xen
34 $(INSTALL_DATA) xen/arch-ia64/*.h $(DESTDIR)$(INCLUDEDIR)/xen/arch-ia64
35 $(INSTALL_DATA) xen/arch-ia64/hvm/*.h $(DESTDIR)$(INCLUDEDIR)/xen/arch-ia64/hvm
36 $(INSTALL_DATA) xen/arch-x86/*.h $(DESTDIR)$(INCLUDEDIR)/xen/arch-x86
37 $(INSTALL_DATA) xen/arch-x86/hvm/*.h $(DESTDIR)$(INCLUDEDIR)/xen/arch-x86/hvm
38 $(INSTALL_DATA) xen/foreign/*.h $(DESTDIR)$(INCLUDEDIR)/xen/foreign
39 $(INSTALL_DATA) xen/hvm/*.h $(DESTDIR)$(INCLUDEDIR)/xen/hvm
40 $(INSTALL_DATA) xen/io/*.h $(DESTDIR)$(INCLUDEDIR)/xen/io
41 $(INSTALL_DATA) xen/sys/*.h $(DESTDIR)$(INCLUDEDIR)/xen/sys
42 $(INSTALL_DATA) xen/xsm/*.h $(DESTDIR)$(INCLUDEDIR)/xen/xsm
44 .PHONY: clean
45 clean:
46 rm -rf xen
47 $(MAKE) -C xen-foreign clean