ia64/xen-unstable

view tools/vnet/Makefile @ 3498:1d24a5b0b338

bitkeeper revision 1.1159.223.25 (41f2cb9aEKMZkZbvqBE0eXhpljlV4Q)

Description: fix path to python
There is no python2 in debian. Instead, use python.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
author iap10@labyrinth.cl.cam.ac.uk
date Sat Jan 22 21:54:34 2005 +0000 (2005-01-22)
parents f65b65977b19
children 5c6d547e4e59 0dc3b8b8c298
line source
2 export LINUX_SERIES ?=2.6
4 # Root path to install in.
5 # Set to '/' to install relative to filesystem root.
6 export prefix?=$(shell cd ../../dist/install && pwd)
8 .PHONY: all compile
9 .PHONY: gc-install gc-clean gc-prstine
10 .PHONY: vnetd vnet-module install dist clean pristine
12 all: compile
14 compile: vnetd vnet-module
16 gc.tar.gz:
17 wget http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/$@
19 gc: gc.tar.gz
20 tar xfz gc.tar.gz
21 ln -sf gc?.? gc
23 gc/Makefile:
24 (cd gc && ./configure --prefix=`pwd`/install)
26 gc-install: gc gc/Makefile
27 make -C gc
28 make -C gc install
30 gc-clean:
31 -$(MAKE) -C gc clean
33 gc-pristine:
34 -rm -rf gc?.? gc
36 vnetd: gc-install
37 $(MAKE) -C vnetd
39 vnet-module:
40 $(MAKE) -C vnet-module
42 install: compile
43 $(MAKE) -C vnetd install
44 $(MAKE) -C vnet-module install
45 $(MAKE) -C examples install
47 dist: $(TARGET)
48 $(MAKE) install
50 clean:
51 -$(MAKE) -C vnetd clean
52 -$(MAKE) -C vnet-module clean
54 pristine: clean gc-pristine