aboutsummaryrefslogtreecommitdiffstats
path: root/security/libbf/files/patch-Makefile
blob: c50969237e7542dda6e39e02d34946912a3e0e3d (plain) (blame)
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
--- Makefile.orig   Mon Sep 30 02:12:03 2002
+++ Makefile    Mon Sep 30 02:14:19 2002
@@ -16,31 +16,31 @@ TOP=    .
 # 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