ia64/xen-unstable

view tools/misc/Makefile @ 907:0ea332de05e6

bitkeeper revision 1.574 (3fac17eedP_FW6EJc9w8TDnbR6HdEQ)

install xen_nat_enable in install/bin
author iap10@labyrinth.cl.cam.ac.uk
date Fri Nov 07 22:08:46 2003 +0000 (2003-11-07)
parents 92d4612dd1bc
children bf3796476cf7
line source
2 CC = gcc
3 CFLAGS = -Wall -O3
4 CFLAGS += -I../../xen/include -I../../xenolinux-sparse/include -I../internal
6 HDRS = $(wildcard *.h)
7 SRCS = $(wildcard *.c)
8 OBJS = $(patsubst %.c,%.o,$(SRCS))
10 TARGETS = xen_read_console xen_log xen_cpuperf xen_refresh_dev
12 INSTALL = $(TARGETS) xen-mkdevnodes xen_nat_enable xen-clone
14 all: $(TARGETS)
15 $(MAKE) -C miniterm
17 install: all
18 mkdir -p ../../../install/bin
19 cp -a $(INSTALL) ../../../install/bin
20 chmod 755 ../../../install/bin/xen-mkdevnodes
21 chmod 755 ../../../install/bin/xen-clone
22 chmod 755 ../../../install/bin/xen_log
23 $(MAKE) -C miniterm install
25 clean:
26 $(RM) *.o $(TARGETS)
27 $(MAKE) -C miniterm clean
29 %: %.c $(HDRS) Makefile
30 $(CC) $(CFLAGS) -o $@ $<