blob: 996596bab5c778150b83b8b9c5b97baeab5252f3 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
--- Makefile.orig Sat Jul 12 21:00:47 2003
+++ Makefile Sun Jul 27 17:59:49 2003
@@ -16,13 +16,13 @@
# (and.init.debian for Debian GNU/Linux or and.init for others;
# leave empty for BSD!)
#
-INITSCRIPT=and.init
+INITSCRIPT=
#
# Target directories. Examples for common configurations are
# given below.
#
-PREFIX=/usr/local
+#PREFIX=/usr/local
INSTALL_ETC=$(PREFIX)/etc
INSTALL_INITD=/etc/init.d
INSTALL_SBIN=$(PREFIX)/sbin
@@ -30,10 +30,10 @@
# typical OpenBSD or FreeBSD configuration
#PREFIX=/usr/local
-#INSTALL_ETC=/etc
-#INSTALL_INITD=
-#INSTALL_SBIN=$(PREFIX)/sbin
-#INSTALL_MAN=$(PREFIX)/man
+INSTALL_ETC=${PREFIX}/etc
+INSTALL_INITD=
+INSTALL_SBIN=$(PREFIX)/sbin
+INSTALL_MAN=$(PREFIX)/man
# typical Debian or SuSE 7.x configuration
#PREFIX=/usr
@@ -110,8 +110,8 @@
LIBS = -lkvm
else
ifeq (${ARCH},FreeBSD)
- CC = gcc -Wall
- LD = gcc
+ CC ?= gcc -Wall
+ LD = $(CC)
LIBS = -lkvm
else
ifeq (${ARCH},SunOS)
|