From 365d58892ed906f9bab5232af9cd356c84b47081 Mon Sep 17 00:00:00 2001 From: "iap10@freefall.cl.cam.ac.uk" Date: Wed, 7 May 2003 15:20:21 +0000 Subject: bitkeeper revision 1.211 (3eb92435Me0VsFGKxdrtpCw31sPWBw) add "make install" target to install boot and binary files in install/boot and install/bin as appropriate --- tools/balloon/Makefile | 5 ++++- tools/domain_builder/Makefile | 3 +++ tools/domctl/Makefile | 3 +++ tools/internal/Makefile | 3 +++ tools/vdmanager/Makefile | 3 +++ 5 files changed, 16 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/balloon/Makefile b/tools/balloon/Makefile index 49bab90077..dd88eab72a 100644 --- a/tools/balloon/Makefile +++ b/tools/balloon/Makefile @@ -1,9 +1,12 @@ CC = gcc TARGET=balloon -TARGET: balloon.c +$(TARGET): balloon.c $(CC) -O2 -Wall -o $(TARGET) balloon.c +install: $(TARGET) + cp $(TARGET) ../../../install/bin + clean: $(RM) *.o $(TARGET) *~ diff --git a/tools/domain_builder/Makefile b/tools/domain_builder/Makefile index 6707481f1b..4e54fd4f4e 100644 --- a/tools/domain_builder/Makefile +++ b/tools/domain_builder/Makefile @@ -6,6 +6,9 @@ all: dom_builder.o dom_kill.o $(CC) -o $(BUILDER) dom_builder.o $(CC) -o $(KILL) dom_kill.o +install: all + cp domain_builder kill_domain ../../../install/bin + dom_builder.o: dom_builder.c dom0_defs.h dom0_ops.h hypervisor_defs.h mem_defs.h $(CC) -c dom_builder.c diff --git a/tools/domctl/Makefile b/tools/domctl/Makefile index 9916d82d1f..951b7468b2 100644 --- a/tools/domctl/Makefile +++ b/tools/domctl/Makefile @@ -1,6 +1,9 @@ default: ant dist +install: default + cp domctl.jar domctl ../../../install/bin + clean: ant clean rm -f domctl.jar diff --git a/tools/internal/Makefile b/tools/internal/Makefile index d2e19221d1..b695595455 100644 --- a/tools/internal/Makefile +++ b/tools/internal/Makefile @@ -27,6 +27,9 @@ $(XI_STOP).o: $(XI_STOP).c dom0_defs.h dom0_ops.h hypervisor_defs.h mem_defs.h $(XI_DESTROY).o: $(XI_DESTROY).c dom0_ops.h dom0_defs.h $(CC) -c $(XI_DESTROY).c +install: all + cp -a $(XI_CREATE) $(XI_BUILD) $(XI_START) $(XI_STOP) $(XI_DESTROY) ../../../install/bin + clean: $(RM) *.o $(XI_CREATE) $(XI_START) $(XI_STOP) $(XI_DESTROY) $(XI_BUILD) diff --git a/tools/vdmanager/Makefile b/tools/vdmanager/Makefile index 14f6eeb91b..ddb8f0c9ef 100644 --- a/tools/vdmanager/Makefile +++ b/tools/vdmanager/Makefile @@ -1,6 +1,9 @@ default: ant dist +install: default + cp -a vdmanager vdmanager.jar ../../../install/bin + clean: ant clean rm -f vdmanager.jar -- cgit v1.2.3