$NetBSD: patch-ag,v 1.1 2004/05/08 18:24:00 cl Exp $ --- xc/lib/Makefile.orig 2004-04-18 04:29:11.000000000 +0200 +++ xc/lib/Makefile @@ -6,6 +6,7 @@ SONAME = libxc.so.$(MAJOR) CC = gcc CFLAGS = -c -Wall -O3 CFLAGS += -I../../../xen/include -I../../../xenolinux-sparse/include +CFLAGS += -I../../../../netbsd-xen-kernel-headers HDRS = $(wildcard *.h) OBJS = $(patsubst %.c,%.o,$(wildcard *.c)) @@ -23,12 +24,8 @@ check-for-zlib: fi install: all - mkdir -p $(prefix)/usr/lib - mkdir -p $(prefix)/usr/include - cp -a $(LIB) $(prefix)/usr/lib - chmod 755 $(prefix)/usr/lib/$(LIB) - cp xc.h $(prefix)/usr/include - chmod 644 $(prefix)/usr/include/xc.h + ${BSD_INSTALL_PROGRAM} $(LIB) ${PREFIX}/lib + ${BSD_INSTALL_DATA} xc.h ${PREFIX}/include dist: all mkdir -p ../../../../install/lib