freebsd-dev/secure/usr.bin/openssl/Makefile
Ruslan Ermilov b8cba406f2 secure/ build fixes:
- TELNETOBJDIR is gone.  `buildworld' already installs libtelnet.a
  in ${WORLDTMP}/usr/lib, and we have LIBRARY_PATH pointing there.

- SSHDIR (formerly SSHSRC) is now shared between all SSH modules.
  New LIBSSH is introduced for libssh.a (an internal static lib).
  Previously, build without prior `obj' was broken; SSH modules
  always looked for libssh.a in ${.OBJDIR}.  Also, the dependancies
  on the libssh.a were missing.

- libtelnet/ did not install the crypto version of telnet.h into
  /usr/include/arpa.

- Removed BINOWN, BINMODE, BINDIR and SRCS with default values.

Reviewed by:	markm

- MAN[1-9] -> MAN.
2001-03-26 14:53:33 +00:00

35 lines
834 B
Makefile

# $FreeBSD$
OPENSSL_SRC= ${.CURDIR}/../../../crypto/openssl/apps
LCRYPTO_SRC= ${.CURDIR}/../../../crypto/openssl/crypto
.PATH: ${OPENSSL_SRC} ${OPENSSL_SRC}/../doc/apps/
PROG= openssl
MAINTAINER= kris
LDADD= -lssl -lcrypto
MLINKS= openssl.1 ssl.8
CFLAGS+= -DMONOLITH -I${.CURDIR}
WITH_RSA?= YES
.if ${WITH_RSA} == NO
CFLAGS+= -DNO_RSA -DNO_SSL2
.endif
SRCS= app_rand.c apps.c asn1pars.c ca.c ciphers.c crl.c crl2p7.c \
dgst.c dh.c dhparam.c dsa.c dsaparam.c enc.c errstr.c gendh.c \
gendsa.c genrsa.c nseq.c openssl.c passwd.c pkcs12.c pkcs7.c \
pkcs8.c rand.c req.c rsa.c rsautl.c s_cb.c s_client.c \
s_server.c s_socket.c s_time.c sess_id.c smime.c speed.c \
spkac.c verify.c version.c x509.o
.include <bsd.prog.mk>
.SUFFIXES: .out .o .c .cc .cpp .cxx .C .m .y .l .s .S .pod
.pod.1:
pod2man ${.IMPSRC} > ${.TARGET}