Files
xen/tools/misc/Makefile
T
iap10@labyrinth.cl.cam.ac.uk 0e0b83b5be bitkeeper revision 1.511 (3f8b2745pCeuF80gXzgE1x31zkPTSg)
Add tools/misc/xen_log -- an alternative to xen_read_console that
sends all domain console output to the domain0 syslog.
Thanks to Jeff Clark.
2003-10-13 22:29:25 +00:00

32 lines
722 B
Makefile

CC = gcc
CFLAGS = -Wall -O3
CFLAGS += -I../../xen/include -I../../xenolinux-sparse/include -I../internal
HDRS = $(wildcard *.h)
SRCS = $(wildcard *.c)
OBJS = $(patsubst %.c,%.o,$(SRCS))
TARGETS = xen_read_console xen_log xen_cpuperf xen_refresh_dev
INSTALL = $(TARGETS) xen-mkdevnodes xen-clone xen_log
all: $(TARGETS)
$(MAKE) -C miniterm
install: all
mkdir -p ../../../install/bin
cp -a $(INSTALL) ../../../install/bin
chmod 755 ../../../install/bin/xen-mkdevnodes
chmod 755 ../../../install/bin/xen-clone
chmod 755 ../../../install/bin/xen_log
$(MAKE) -C miniterm install
clean:
$(RM) *.o $(TARGETS)
$(MAKE) -C miniterm clean
%: %.c $(HDRS) Makefile
$(CC) $(CFLAGS) -o $@ $<