$NetBSD: patch-ae,v 1.1 2004/05/08 18:24:00 cl Exp $ --- misc/Makefile.orig 2004-04-18 04:29:10.000000000 +0200 +++ misc/Makefile @@ -2,6 +2,7 @@ CC = gcc CFLAGS = -Wall -O3 EXTRA_INC = -I../../xen/include -I../../xenolinux-sparse/include -I../xc/lib +EXTRA_INC += -I../../../netbsd-xen-kernel-headers HDRS = $(wildcard *.h) SRCS = $(wildcard *.c) @@ -9,18 +10,12 @@ OBJS = $(patsubst %.c,%.o,$(SRCS)) TARGETS = xen_read_console xen_cpuperf -INSTALL = $(TARGETS) xen-mkdevnodes xen_nat_enable xen-clone +INSTALL = $(TARGETS) # xen-mkdevnodes xen_nat_enable xen-clone all: $(TARGETS) - $(MAKE) -C miniterm install: all - mkdir -p $(prefix)/usr/bin - cp -a $(INSTALL) $(prefix)/usr/bin - chmod 755 $(prefix)/usr/bin/xen-mkdevnodes - chmod 755 $(prefix)/usr/bin/xen_nat_enable - chmod 755 $(prefix)/usr/bin/xen-clone - $(MAKE) -C miniterm install + ${BSD_INSTALL_PROGRAM} $(INSTALL) ${PREFIX}/bin dist: all mkdir -p ../../../install/bin