blob: b9607a9edb09695f8a988dd5d8a3629cb249dfcd (
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
|
$NetBSD: patch-ab,v 1.5 2002/09/24 11:57:28 wiz Exp $
--- Makefile.orig Sun Oct 28 02:10:49 2001
+++ Makefile
@@ -1,15 +1,15 @@
-CC = gcc
-LD = gcc
-RM = rm -f
-MKDIR = mkdir -p
-INSTALL = install
-CFLAGS = -c -Wall -O2 -fomit-frame-pointer
+CC ?= gcc
+LD = ${CC}
+RM ?= rm -f
+MKDIR ?= mkdir -p
+INSTALL ?= install
+CFLAGS += -c -Wall -fomit-frame-pointer
# You may use OpenSSL's MD5 routines instead of the ones supplied here
#CFLAGS += -DHAVE_OPENSSL
-LDFLAGS = -s
+LDFLAGS =
LIBS =
# Linux with glibc, FreeBSD, NetBSD
-#LIBS += -lcrypt
+LIBS += -lcrypt
# HP-UX trusted system
#LIBS += -lsec
# Solaris (POP_STANDALONE, POP_VIRTUAL)
@@ -24,7 +24,7 @@ LIBS =
#LIBS += -lcrypto
DESTDIR =
-PREFIX = /usr/local
+#PREFIX = /usr/local
SBINDIR = $(PREFIX)/sbin
MANDIR = $(PREFIX)/man
|