aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorcl349@arcadians.cl.cam.ac.uk <cl349@arcadians.cl.cam.ac.uk>2005-01-27 17:09:14 +0000
committercl349@arcadians.cl.cam.ac.uk <cl349@arcadians.cl.cam.ac.uk>2005-01-27 17:09:14 +0000
commit8f230701e201bbc77fae73dc2671343081ba8d05 (patch)
tree5fedf6b7fda82dc7b0f57a855f800e9f6cc10f42 /Makefile
parent475057590a57c971b641a9888124a39c397fb2c8 (diff)
downloadxen-8f230701e201bbc77fae73dc2671343081ba8d05.tar.gz
xen-8f230701e201bbc77fae73dc2671343081ba8d05.tar.bz2
xen-8f230701e201bbc77fae73dc2671343081ba8d05.zip
bitkeeper revision 1.1159.234.1 (41f9203a3hESfmWBG29VVoqa-chOrA)
Build system cleanups. Signed-off-by: c@pin.lu
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 13 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 1c8ee8dc8a..b7229fc9a7 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ INSTALL_DIR := $(INSTALL) -d -m0755
INSTALL_DATA := $(INSTALL) -m0644
INSTALL_PROG := $(INSTALL) -m0755
-KERNELS ?= *2.6*
+KERNELS ?= linux-2.6-xen0 linux-2.6-xenU
# linux-2.4-xen0 linux-2.4-xenU netbsd-2.0-xenU
# You may use wildcards in the above e.g. KERNELS=*2.4*
@@ -30,20 +30,12 @@ endif
include buildconfigs/Rules.mk
.PHONY: all dist install xen tools kernels docs world clean mkpatches mrproper
-.PHONY: kbuild kdelete kclean install-tools install-xen install-docs
-.PHONY: install-kernels
+.PHONY: kbuild kdelete kclean
all: dist
-# install everything into the standard system directories
-# NB: install explicitly does not check that everything is up to date!
-install: DESTDIR=
-install: xen checked-tools kernels docs
-
-# Only check for install req'mts on 'make install', not on 'make dist'.
-checked-tools:
- $(MAKE) -C tools/check install
- $(MAKE) -C tools install
+# build and install everything into the standard system directories
+install: install-xen install-tools install-kernels install-docs
# build and install everything into local dist directory
dist: xen tools kernels docs
@@ -118,9 +110,17 @@ install-iptables:
tar -jxf iptables-1.2.11.tar.bz2
$(MAKE) -C iptables-1.2.11 PREFIX= KERNEL_DIR=../linux-$(LINUX_VER)-xen0 install
+install-%: DESTDIR=
+install-%: %
+ @: # do nothing
+
help:
@echo 'Installation targets:'
@echo ' install - build and install everything'
+ @echo ' install-xen - build and install the Xen hypervisor'
+ @echo ' install-tools - build and install the control tools'
+ @echo ' install-kernels - build and install guest kernels'
+ @echo ' install-docs - build and install documentation'
@echo ''
@echo 'Building targets:'
@echo ' dist - build and install everything into local dist directory'
@@ -178,3 +178,4 @@ linux26:
netbsd20:
$(MAKE) netbsd-2.0-xenU-build
+