blob: 1a8ebee6cb3fadac0585b63d8ea87b1d985fd2aa (
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
|
$NetBSD: patch-ae,v 1.4 2002/08/25 21:49:13 jlam Exp $
--- Makefile.orig Mon Dec 3 14:32:27 2001
+++ Makefile
@@ -10,11 +10,10 @@
# SWITCHES macro definitions ... see config.eng or config.jpn.
#-----------------------------------------------------------------------
-SHELL=/bin/sh
-MAKE = make
+#SHELL=/bin/sh
+#MAKE = make
-#CC = cc
-CC = gcc
+#CC = gcc
SWITCHES = -DNEED_INCREMENTAL_INDICATOR \
-DTMP_FILENAME_TEMPLATE="\"/tmp/lhXXXXXX\""
@@ -25,8 +24,8 @@
#OPTIMIZE = -O2 -fstrength-reduce -fomit-frame-pointer
OPTIMIZE = -O2 -DSUPPORT_LH7 -DMKSTEMP
-BINDIR = /usr/local/bin
-MANDIR = /usr/local/man
+BINDIR = ${PREFIX}/bin
+MANDIR = ${PREFIX}/man
MANSECT = n
INSTALL = install
@@ -42,7 +41,7 @@
LIBRARYOBJS = patmatch$(O)
MYMAKEFLAGS = 'BINDIR=$(BINDIR)' 'MANDIR=$(MANDIR)' 'MANSECT=$(MANSECT)'\
- 'INSTALL=$(INSTALL)' 'INSTALLBIN=$(INSTALLBIN)' 'INSTALLMAN=$(INSTALLMAN)'\
+ 'BSD_INSTALL_BIN=$(BSD_INSTALL_BIN)' 'BSD_INSTALL_MAN=$(BSD_INSTALL_MAN)'\
'CC=$(CC)' 'SWITCHES=$(SWITCHES)' 'O=$(O)' 'LIBRARYOBJS=$(LIBRARYOBJS)' \
'OPTIMIZE=$(OPTIMIZE)' 'MACHINE=$(MACHINE)'
|