blob: b17c06a204c38c32630a5f119681933a02109e0a (
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
45
46
47
|
$NetBSD: patch-aa,v 1.1.1.1 2000/11/29 11:26:45 rh Exp $
--- Makefile.orig Mon Nov 27 22:43:22 2000
+++ Makefile
@@ -16,31 +16,31 @@
# There are 3 possible performance options, experiment :-)
#OPTS= -DBF_PTR # usr for sparc and MIPS/SGI
#OPTS= -DBF_PTR2 # use for pentium
-OPTS= # use for pentium pro, Alpha and HP
+#OPTS= # use for pentium pro, Alpha and HP
MAKE=make -f Makefile
#CC=cc
#CFLAG= -O
-CC=gcc
+#CC=gcc
#CFLAG= -O4 -funroll-loops -fomit-frame-pointer
-CFLAG= -O3 -fomit-frame-pointer
+#CFLAG= -O3 -fomit-frame-pointer
-CFLAGS=$(OPTS) $(CFLAG)
-CPP=$(CC) -E
-AS=as
+#CFLAGS=$(OPTS) $(CFLAG)
+CPP?=$(CC) -E
+AS?=as
# Assember version of bf_encrypt().
-BF_ENC=bf_enc.o # normal C version
+BF_ENC?=bf_enc.o # normal C version
#BF_ENC=asm/bx86-elf.o # elf format x86
#BF_ENC=asm/bx86-out.o # a.out format x86
#BF_ENC=asm/bx86-sol.o # solaris format x86
#BF_ENC=asm/bx86bsdi.o # bsdi format x86
-LIBDIR=/usr/local/lib
-BINDIR=/usr/local/bin
-INCDIR=/usr/local/include
-MANDIR=/usr/local/man
+LIBDIR=${PREFIX}/lib
+BINDIR=${PREFIX}/bin
+INCDIR=${PREFIX}/include
+MANDIR=${PREFIX}/man
MAN1=1
MAN3=3
SHELL=/bin/sh
|