ia64/xen-unstable

view tools/vnet/Makefile @ 19648:f0e2df69a8eb

x86 hvm: Allow cross-vendor migration

Intercept #UD and emulate SYSCALL/SYSENTER/SYSEXIT as necessary.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue May 26 15:01:36 2009 +0100 (2009-05-26)
parents d6889b3b6423
children
line source
1 # -*- mode: Makefile; -*-
3 ifndef VNET_ROOT
4 export VNET_ROOT = $(shell pwd)
5 include $(VNET_ROOT)/Make.env
6 endif
8 SUBDIRS:=
9 SUBDIRS+= examples
10 SUBDIRS+= scripts
11 SUBDIRS+= gc
12 SUBDIRS+= libxutil
13 SUBDIRS+= vnetd
14 SUBDIRS+= vnet-module
16 .PHONY: all
17 all: compile
19 gc.tar.gz:
20 #wget http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/$@
21 wget $(XEN_EXTFILES_URL)/$@
23 .PHONY: gc
24 gc: gc.tar.gz
25 tar xfz gc.tar.gz
26 ln -sf gc?.? gc
28 $(GC_LIB_A): gc
29 (cd gc && ./configure --prefix=$(GC_DIR) )
30 make -C gc
31 DESTDIR="" make -C gc install
33 .PHONY: gc-all
34 gc-all: $(GC_LIB_A)
36 .PHONY: gc-install
37 gc-install:
39 .PHONY: gc-clean
40 gc-clean:
41 -@$(RM) -r gc?.? gc
43 submak = $(MAKE) -C $(patsubst %-$(1),%,$(@)) $(1)
44 subtgt = $(patsubst %,%-$(1),$(SUBDIRS))
46 %-all:
47 $(call submak,all)
49 %-clean:
50 -$(call submak,clean)
52 %-install:
53 $(call submak,install)
55 .PHONY: compile
56 compile: $(call subtgt,all)
58 .PHONY: install
59 install: DESTDIR=
60 install: dist
62 .PHONY: dist
63 dist: compile $(call subtgt,install)
65 .PHONY: clean
66 clean: $(call subtgt,clean)
67 -@$(RM) -r build
69 .PHONY: pristine
70 pristine: clean
71 -@$(RM) gc.tar.gz
73 .PHONY: help
74 help:
75 @echo 'Cleaning targets:'
76 @echo ' clean - clean subdirs and remove the build dir'
77 @echo ' pristine - clean, then remove the gc tarball'
78 @echo ''
79 @echo 'Installation targets:'
80 @echo ' install - build and install relative to /'
81 @echo ' dist - build and install relative to DESTDIR (default XEN_ROOT/dist/install)'
82 @echo ''
83 @echo 'Compilation targets:'
84 @echo ' all - same as compile'
85 @echo ' compile - build everything'
86 @echo ''
87 @echo 'To build everything locally use "make" or "make all"'.
88 @echo 'To build and install into XEN_ROOT/dist/install use "make dist".'
89 @echo 'To build and install into the system use "make dist".'
90 @echo 'See ./00README and ./00INSTALL for more information.'