ia64/xen-unstable

view tools/xentrace/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 3304775ae8eb
children 01ddb3c0f57e dae98734f12e
line source
2 XEN_ROOT=../..
3 include $(XEN_ROOT)/tools/Make.defs
5 CC = gcc
6 CFLAGS = -Wall -Werror -O3
8 CFLAGS += -I $(XEN_HYPERVISOR_IFS)
9 CFLAGS += -I $(XEN_LINUX_INCLUDE)
10 CFLAGS += -I $(XEN_XC)
11 CFLAGS += -I $(XEN_XU)
12 CFLAGS += -I $(XEN_LIBXC)
13 CFLAGS += -I $(XEN_LIBXUTIL)
15 HDRS = $(wildcard *.h)
16 OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
18 BIN = xentrace
19 SCRIPTS = xentrace_format
20 MAN1 = $(wildcard *.1)
21 MAN8 = $(wildcard *.8)
23 all: $(BIN)
25 install: all
26 mkdir -p $(prefix)/usr/bin
27 mkdir -p $(prefix)/usr/man/man1
28 mkdir -p $(prefix)/usr/man/man8
29 install -m0755 $(BIN) $(SCRIPTS) $(prefix)/usr/bin
30 install -m0644 $(MAN1) $(prefix)/usr/man/man1
31 install -m0644 $(MAN8) $(prefix)/usr/man/man8
33 clean:
34 $(RM) *.a *.so *.o *.rpm $(BIN)
36 %: %.c $(HDRS) Makefile
37 $(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) -L$(XEN_LIBXUTIL) -lxc -lxutil