ia64/xen-unstable

view tools/misc/Makefile @ 1372:5a6113c65ead

bitkeeper revision 1.891.1.12 (40a248b0WTGoOa9206iWkyGN0mTPNw)

Allow forcing of IRQ trigger-type to edge or level
(NB. DANGEROUS!).
author kaf24@scramble.cl.cam.ac.uk
date Wed May 12 15:54:24 2004 +0000 (2004-05-12)
parents 1f3fb974ca34
children f3123052268f
line source
2 CC = gcc
3 CFLAGS = -Wall -O3
4 EXTRA_INC = -I../../xen/include/hypervisor-ifs
5 EXTRA_INC += -I../../xenolinux-sparse/include -I../xc/lib
6 EXTRA_INC += -I../xend/lib
8 HDRS = $(wildcard *.h)
9 SRCS = $(wildcard *.c)
10 OBJS = $(patsubst %.c,%.o,$(SRCS))
12 TARGETS = xen_cpuperf
14 INSTALL = $(TARGETS) xen-mkdevnodes xen_nat_enable xen-clone
15 INSTALL += xen_dmesg.py xencons
17 all: $(TARGETS)
18 $(MAKE) -C miniterm
20 install: all
21 mkdir -p $(prefix)/usr/bin
22 install -m0755 $(INSTALL) $(prefix)/usr/bin
23 $(MAKE) -C miniterm install
25 clean:
26 $(RM) *.o $(TARGETS) *~
27 $(MAKE) -C miniterm clean
29 %: %.c $(HDRS) Makefile
30 $(CC) $(CFLAGS) $(EXTRA_INC) -o $@ $<