direct-io.hg

view tools/misc/Makefile @ 3231:9035b6656818

bitkeeper revision 1.1159.187.48 (41adc6420WlNaaoUkvfgNxl44rpYYg)

Export Xen s/w perfctrs to DOM0 via new 'xenperf' utility.
author kaf24@scramble.cl.cam.ac.uk
date Wed Dec 01 13:25:22 2004 +0000 (2004-12-01)
parents 724449a888fe
children f2e12f9f7cc8
line source
2 XEN_ROOT=../..
3 include $(XEN_ROOT)/tools/Make.defs
5 CC = gcc
6 CFLAGS = -Wall -Werror -O3
8 INCLUDES += -I $(XEN_XC)
9 INCLUDES += -I $(XEN_LIBXC)
10 CFLAGS += $(INCLUDES)
12 HDRS = $(wildcard *.h)
14 TARGETS = xenperf
16 INSTALL_BIN = $(TARGETS) xencons
17 INSTALL_SBIN = netfix xm xend xensv xenperf
19 all: $(TARGETS)
20 $(MAKE) -C miniterm
22 install: all
23 mkdir -p $(prefix)/usr/bin
24 mkdir -p $(prefix)/usr/sbin
25 install -m0755 $(INSTALL_BIN) $(prefix)/usr/bin
26 install -m0755 $(INSTALL_SBIN) $(prefix)/usr/sbin
27 $(MAKE) -C miniterm install
29 clean:
30 $(RM) *.o $(TARGETS) *~
31 $(MAKE) -C miniterm clean
33 %: %.c $(HDRS) Makefile
34 $(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) -lxc -L$(XEN_LIBXUTIL) -lxutil