summaryrefslogtreecommitdiffstats
path: root/security/apg/files/patch-aa
blob: 9cda39ff5e788c62546b767a91a14fd6824738c6 (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
--- Makefile	2000/09/30 14:55:17	1.1.1.1
+++ Makefile	2001/01/17 14:12:15	1.3
@@ -1,12 +1,13 @@
 # You can modify CC variable if you have compiler other than GCC
 # But the code was designed and tested with GCC
-CC = gcc
+CC ?= gcc
 
 # compilation flags
-FLAGS = -Wall
+CFLAGS ?= -Wall
 
 # Install dirs
-INSTALL_PREFIX = /usr/local
+PREFIX ?= /usr/local
+INSTALL_PREFIX = ${PREFIX}
 APG_BIN_DIR = /bin
 APG_MAN_DIR = /man/man1
 APGD_BIN_DIR = /sbin
@@ -41,10 +42,10 @@
 cygwin: standalone
 
 cliserv: ${SOURCES} ${HEADERS}
-	${CC} ${FLAGS} ${CS_LIBS} -DCLISERV -o ${CS_PROGNAME} ${SOURCES}
+	${CC} ${CFLAGS} ${CS_LIBS} -DCLISERV -o ${CS_PROGNAME} ${SOURCES}
 
 standalone: ${SOURCES} ${HEADERS}
-	${CC} ${FLAGS} -o ${PROGNAME} ${SOURCES}
+	${CC} ${CFLAGS} -o ${PROGNAME} ${SOURCES}
 
 strip:
 	strip ${PROGNAME}
OpenPOWER on IntegriCloud