46 lines
774 B
Text
46 lines
774 B
Text
$NetBSD: patch-aa,v 1.2 2000/12/30 20:12:17 rh Exp $
|
|
|
|
--- Makefile.orig Sat Nov 11 23:01:25 2000
|
|
+++ Makefile
|
|
@@ -1,28 +1,14 @@
|
|
+PROG= sslwrap
|
|
+SRCS= s_server.c s_socket.c s_cb.c
|
|
+COPTS+= -DOPENSSL="\"openssl/\""
|
|
+LDADD= -lssl -lcrypto
|
|
+MAN=
|
|
+
|
|
+.if defined(PREFIX)
|
|
+BINDIR= ${PREFIX}/sbin
|
|
+LIBDIR= ${PREFIX}/lib
|
|
+MANDIR= ${PREFIX}/man
|
|
+DOCDIR= ${PREFIX}/share/doc
|
|
+.endif
|
|
|
|
-SRC = s_server.c s_socket.c s_cb.c
|
|
-
|
|
-# For Solaris2.6
|
|
-#EXTLIBS = -lxnet
|
|
-
|
|
-# Debug/Optimizations
|
|
-#OPT = -g
|
|
-OPT = -O2
|
|
-
|
|
-# Define
|
|
-OPENSSL="\"openssl/\""
|
|
-#OPENSSL=""
|
|
-
|
|
-all :
|
|
- gcc -o sslwrap ${SRC} ${OPT} -DFLAT_INC -DOPENSSL=${OPENSSL} \
|
|
- -L/usr/local/ssl/lib -lssl -lcrypto \
|
|
- -I/usr/local/ssl/include \
|
|
- ${EXTLIBS}
|
|
-
|
|
-clean:
|
|
- rm -f sslwrap *.o *~
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
+.include <bsd.prog.mk>
|