mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
Nothing but vnet uses libxutil -- move it there. Makefile, xc.c, setup.py, configure, configure.in, Makefile.in: This doesn't use libxutil. Makefile, Makefile.vnet, Rules.mk: Move libxutil into vnet since it's only used there. Many files: mvdir
57 lines
1.0 KiB
Makefile
57 lines
1.0 KiB
Makefile
|
|
export LINUX_SERIES ?=2.6
|
|
|
|
# Root path to install in.
|
|
# Set to '/' to install relative to filesystem root.
|
|
export prefix?=$(shell cd ../../dist/install && pwd)
|
|
|
|
.PHONY: all compile
|
|
.PHONY: gc-install gc-clean gc-prstine
|
|
.PHONY: libxutil vnetd vnet-module install dist clean pristine
|
|
|
|
all: compile
|
|
|
|
compile: libxutil vnetd vnet-module
|
|
#compile: vnet-module
|
|
|
|
gc.tar.gz:
|
|
wget http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/$@
|
|
|
|
gc: gc.tar.gz
|
|
tar xfz gc.tar.gz
|
|
ln -sf gc?.? gc
|
|
|
|
gc-install: gc
|
|
(cd gc && make test && ./configure --prefix=`pwd`/install)
|
|
make -C gc
|
|
make -C gc install
|
|
|
|
gc-clean:
|
|
-$(MAKE) -C gc clean
|
|
|
|
gc-pristine:
|
|
-rm -rf gc?.? gc
|
|
|
|
libxutil:
|
|
$(MAKE) -C libxutil
|
|
|
|
vnetd: gc-install
|
|
$(MAKE) -C vnetd
|
|
|
|
vnet-module:
|
|
$(MAKE) -C vnet-module
|
|
|
|
install: compile
|
|
$(MAKE) -C libxutil install
|
|
$(MAKE) -C vnetd install
|
|
$(MAKE) -C vnet-module install
|
|
$(MAKE) -C examples install
|
|
|
|
clean:
|
|
-$(MAKE) -C libxutil clean
|
|
-$(MAKE) -C vnetd clean
|
|
-$(MAKE) -C vnet-module clean
|
|
-rm -rf gc?.? gc
|
|
|
|
pristine: clean gc-pristine
|