ia64/xen-unstable

view tools/misc/Makefile @ 2020:4fc62e2234f4

bitkeeper revision 1.1108.33.23 (410d0a8aWM5n48Ku4nUKCSOzCx9B2A)

sync with 2.4 block backend driver:
always print error messages
author cl349@freefall.cl.cam.ac.uk
date Sun Aug 01 15:21:46 2004 +0000 (2004-08-01)
parents f9ae44cc1373
children 01ddb3c0f57e
line source
2 XEN_ROOT=../..
3 include $(XEN_ROOT)/tools/Make.defs
5 CC = gcc
6 CFLAGS = -Wall -O3
8 INCLUDES += -I $(XEN_HYPERVISOR_IFS)
9 INCLUDES += -I $(XEN_LINUX_INCLUDE)
10 INCLUDES += -I $(XEN_XC)
11 INCLUDES += -I $(XEN_XU)
12 INCLUDES += -I $(XEN_LIBXC)
13 INCLUDES += -I $(XEN_LIBXUTIL)
15 CFLAGS += $(INCLUDES)
17 HDRS = $(wildcard *.h)
18 SRCS = $(wildcard *.c)
19 OBJS = $(patsubst %.c,%.o,$(SRCS))
21 TARGETS = xen_cpuperf
23 INSTALL_BIN = $(TARGETS) xencons
24 INSTALL_SBIN = netfix xm xend xensv
26 all: $(TARGETS)
27 $(MAKE) -C miniterm
29 install: all
30 mkdir -p $(prefix)/usr/bin
31 mkdir -p $(prefix)/usr/sbin
32 install -m0755 $(INSTALL_BIN) $(prefix)/usr/bin
33 install -m0755 $(INSTALL_SBIN) $(prefix)/usr/sbin
34 $(MAKE) -C miniterm install
36 clean:
37 $(RM) *.o $(TARGETS) *~
38 $(MAKE) -C miniterm clean
40 %: %.c $(HDRS) Makefile
41 $(CC) $(CFLAGS) -o $@ $<