ia64/xen-unstable

view tools/firmware/Makefile @ 6946:e703abaf6e3d

Add behaviour to the remove methods to remove the transaction's path itself. This allows us to write Remove(path) to remove the specified path rather than having to slice the path ourselves.
author emellor@ewan
date Sun Sep 18 14:42:13 2005 +0100 (2005-09-18)
parents 3233e7ecfa9f
children 06d84bf87159
line source
1 XEN_ROOT = ../..
2 include $(XEN_ROOT)/tools/Rules.mk
4 # vmxloader is a 32-bit protected mode binary.
5 # It belongs in /usr/lib, not /usr/lib64.
6 TARGET := vmxassist/vmxloader
7 INSTALL_DIR := $(DESTDIR)/usr/lib/xen/boot
9 SUBDIRS :=
10 SUBDIRS += rombios
11 SUBDIRS += vgabios
12 SUBDIRS += acpi
13 SUBDIRS += vmxassist
15 .PHONY: all install clean
17 all:
18 @set -e; if ! `which bcc 1>/dev/null 2>/dev/null`; then \
19 echo "***********************************************************"; \
20 echo "WARNING: Install dev86 package to build firmware!"; \
21 echo " (http://www.cix.co.uk/~mayday)"; \
22 echo "***********************************************************"; \
23 else \
24 for subdir in $(SUBDIRS); do \
25 $(MAKE) -C $$subdir $@; \
26 done; \
27 fi
30 install: all
31 [ -d $(INSTALL_DIR) ] || install -d -m0755 $(INSTALL_DIR)
32 [ ! -e $(TARGET) ] || install -m0644 $(TARGET) $(INSTALL_DIR)
34 clean:
35 @set -e; for subdir in $(SUBDIRS); do \
36 $(MAKE) -C $$subdir $@; \
37 done