-# $OpenBSD: Makefile,v 1.20 2014/04/17 18:16:45 miod Exp $
+# $OpenBSD: Makefile,v 1.21 2014/04/17 20:43:42 tedu Exp $
LIB= crypto
SSL_SRC= ${.CURDIR}/../../libssl/src
LCRYPTO_SRC= ${SSL_SRC}/crypto
+CFLAGS+= -Wall
+
# arm and sh default to little endian, mips defaults to big endian
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" || \
-# $OpenBSD: Makefile,v 1.38 2014/04/16 21:16:33 tedu Exp $
+# $OpenBSD: Makefile,v 1.39 2014/04/17 20:44:04 tedu Exp $
LIB= ssl
SSL_SRC= ${.CURDIR}/../../libssl/src
LSSL_SRC= ${SSL_SRC}/ssl
+CFLAGS+= -Wall
CFLAGS+= -DTERMIOS -DANSI_SOURCE
CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5
CFLAGS+= -I${SSL_SRC}
-# $OpenBSD: Makefile,v 1.23 2014/04/15 20:55:42 miod Exp $
+# $OpenBSD: Makefile,v 1.24 2014/04/17 20:46:29 tedu Exp $
PROG= openssl
LDADD= -lssl -lcrypto
SSLEAY_SRC= ${.CURDIR}/../../${SSLEAYDIST}/apps
SSLEAY_SRC_TOP= ${.CURDIR}/../../${SSLEAYDIST}
+CFLAGS+= -Wall
CFLAGS+= -DMONOLITH -DTERMIOS -DANSI_SOURCE -DOPENSSL_NO_RC5
CFLAGS+= -DOPENSSL_NO_SSL2
CFLAGS+= -I${SSLEAY_SRC_TOP}