blob: 1bf47932317069442622ac1fcc592f3bd1ba37cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
$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
|