ia64/xen-unstable

changeset 428:01249407db23

bitkeeper revision 1.211 (3eb92435Me0VsFGKxdrtpCw31sPWBw)

add "make install" target to install boot and binary files in
install/boot and install/bin as appropriate
author iap10@freefall.cl.cam.ac.uk
date Wed May 07 15:20:21 2003 +0000 (2003-05-07)
parents f05fccef69dc
children 25113ba8b8ef
files BitKeeper/etc/logging_ok Makefile tools/balloon/Makefile tools/domain_builder/Makefile tools/domctl/Makefile tools/internal/Makefile tools/vdmanager/Makefile xen/Makefile xenolinux-2.4.21-pre4-sparse/arch/xeno/Makefile
line diff
     1.1 --- a/BitKeeper/etc/logging_ok	Tue May 06 22:50:55 2003 +0000
     1.2 +++ b/BitKeeper/etc/logging_ok	Wed May 07 15:20:21 2003 +0000
     1.3 @@ -6,6 +6,7 @@ akw27@labyrinth.cl.cam.ac.uk
     1.4  akw27@plucky.localdomain
     1.5  bd240@boulderdash.cl.cam.ac.uk
     1.6  bd240@labyrinth.cl.cam.ac.uk
     1.7 +iap10@freefall.cl.cam.ac.uk
     1.8  iap10@labyrinth.cl.cam.ac.uk
     1.9  jws22@gauntlet.cl.cam.ac.uk
    1.10  jws@cairnwell.research
     2.1 --- a/Makefile	Tue May 06 22:50:55 2003 +0000
     2.2 +++ b/Makefile	Wed May 07 15:20:21 2003 +0000
     2.3 @@ -25,6 +25,15 @@ all:
     2.4  	$(MAKE) -C tools/internal
     2.5  	$(MAKE) -C tools/vdmanager
     2.6  
     2.7 +install: all
     2.8 +	$(MAKE) -C xen install
     2.9 +	$(MAKE) -C tools/balloon install
    2.10 +	$(MAKE) -C tools/domain_builder install
    2.11 +	$(MAKE) -C tools/domctl install
    2.12 +	$(MAKE) -C tools/internal install
    2.13 +	$(MAKE) -C tools/vdmanager install
    2.14 +
    2.15 +
    2.16  clean:
    2.17  	$(MAKE) -C xen clean
    2.18  	$(MAKE) -C tools/balloon clean
     3.1 --- a/tools/balloon/Makefile	Tue May 06 22:50:55 2003 +0000
     3.2 +++ b/tools/balloon/Makefile	Wed May 07 15:20:21 2003 +0000
     3.3 @@ -1,9 +1,12 @@
     3.4  CC = gcc
     3.5  TARGET=balloon
     3.6  
     3.7 -TARGET: balloon.c
     3.8 +$(TARGET): balloon.c
     3.9  	$(CC) -O2 -Wall -o $(TARGET) balloon.c
    3.10  
    3.11 +install: $(TARGET)
    3.12 +	cp  $(TARGET) ../../../install/bin
    3.13 +
    3.14  clean:
    3.15  	$(RM) *.o $(TARGET) *~
    3.16  
     4.1 --- a/tools/domain_builder/Makefile	Tue May 06 22:50:55 2003 +0000
     4.2 +++ b/tools/domain_builder/Makefile	Wed May 07 15:20:21 2003 +0000
     4.3 @@ -6,6 +6,9 @@ all: dom_builder.o dom_kill.o
     4.4  	$(CC) -o $(BUILDER) dom_builder.o
     4.5  	$(CC) -o $(KILL) dom_kill.o
     4.6  
     4.7 +install: all
     4.8 +	cp domain_builder kill_domain ../../../install/bin
     4.9 +
    4.10  dom_builder.o: dom_builder.c dom0_defs.h dom0_ops.h hypervisor_defs.h mem_defs.h
    4.11  	$(CC) -c dom_builder.c 
    4.12  
     5.1 --- a/tools/domctl/Makefile	Tue May 06 22:50:55 2003 +0000
     5.2 +++ b/tools/domctl/Makefile	Wed May 07 15:20:21 2003 +0000
     5.3 @@ -1,6 +1,9 @@
     5.4  default:
     5.5  	ant dist
     5.6  
     5.7 +install: default
     5.8 +	cp domctl.jar domctl ../../../install/bin
     5.9 +
    5.10  clean:
    5.11  	ant clean
    5.12  	rm -f domctl.jar
     6.1 --- a/tools/internal/Makefile	Tue May 06 22:50:55 2003 +0000
     6.2 +++ b/tools/internal/Makefile	Wed May 07 15:20:21 2003 +0000
     6.3 @@ -27,6 +27,9 @@ internal_domain_build.o: internal_domain
     6.4  $(XI_DESTROY).o: $(XI_DESTROY).c dom0_ops.h dom0_defs.h
     6.5  	$(CC) -c $(XI_DESTROY).c 
     6.6  
     6.7 +install: all
     6.8 +	cp -a $(XI_CREATE) $(XI_BUILD) $(XI_START) $(XI_STOP) $(XI_DESTROY) ../../../install/bin
     6.9 +
    6.10  clean:
    6.11  	$(RM) *.o $(XI_CREATE) $(XI_START) $(XI_STOP) $(XI_DESTROY) $(XI_BUILD)
    6.12  
     7.1 --- a/tools/vdmanager/Makefile	Tue May 06 22:50:55 2003 +0000
     7.2 +++ b/tools/vdmanager/Makefile	Wed May 07 15:20:21 2003 +0000
     7.3 @@ -1,6 +1,9 @@
     7.4  default:
     7.5  	ant dist
     7.6  
     7.7 +install: default
     7.8 +	cp -a vdmanager vdmanager.jar ../../../install/bin
     7.9 +
    7.10  clean:
    7.11  	ant clean
    7.12  	rm -f vdmanager.jar
     8.1 --- a/xen/Makefile	Tue May 06 22:50:55 2003 +0000
     8.2 +++ b/xen/Makefile	Wed May 07 15:20:21 2003 +0000
     8.3 @@ -19,7 +19,7 @@ debug:
     8.4  
     8.5  install: $(TARGET)
     8.6  	gzip -f -9 < $(TARGET) > $(TARGET).gz
     8.7 -	cp $(TARGET).gz ../../install/images/image
     8.8 +	cp $(TARGET).gz ../../install/boot/
     8.9  
    8.10  clean: delete-links
    8.11  	$(MAKE) -C tools clean
     9.1 --- a/xenolinux-2.4.21-pre4-sparse/arch/xeno/Makefile	Tue May 06 22:50:55 2003 +0000
     9.2 +++ b/xenolinux-2.4.21-pre4-sparse/arch/xeno/Makefile	Wed May 07 15:20:21 2003 +0000
     9.3 @@ -89,6 +89,9 @@ FORCE: ;
     9.4  bzImage: vmlinux
     9.5  	@$(MAKEBOOT) image.gz
     9.6  
     9.7 +install: bzImage
     9.8 +	cp -a arch/$(ARCH)/boot/image.gz ../install/boot/xenolinux.gz
     9.9 +
    9.10  archclean:
    9.11  	@$(MAKEBOOT) clean
    9.12