2001-12-12 03:51:00 +03:00
|
|
|
# $NetBSD: Makefile,v 1.4 2001/12/12 00:51:02 tv Exp $
|
2000-09-30 04:24:52 +04:00
|
|
|
|
|
|
|
# RCSid:
|
|
|
|
# Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
|
|
|
|
#
|
|
|
|
# @(#) Copyright (c) 1994 Simon J. Gerraty
|
|
|
|
#
|
|
|
|
# This file is provided in the hope that it will
|
|
|
|
# be of use. There is absolutely NO WARRANTY.
|
|
|
|
# Permission to copy, redistribute or otherwise
|
|
|
|
# use this file is hereby granted provided that
|
|
|
|
# the above copyright notice and this notice are
|
|
|
|
# left intact.
|
|
|
|
#
|
|
|
|
# Please send copies of changes and bug-fixes to:
|
|
|
|
# sjg@quick.com.au
|
|
|
|
#
|
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
NOPIC= # defined
|
|
|
|
#NOPROFILE= # defined
|
|
|
|
#NOLINT= # defined
|
|
|
|
|
2000-09-30 04:24:52 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
# XXX There's a bit of work to do before we can enable warnings.
|
2001-12-12 03:51:00 +03:00
|
|
|
WARNS= 0
|
2000-09-30 04:24:52 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
LIB= crypto_rc5
|
|
|
|
CPPFLAGS+= -Dlib${LIB} -I. -I${OPENSSLSRC}/crypto
|
2000-09-30 04:24:52 +04:00
|
|
|
|
|
|
|
CRYPTODIST= ${.CURDIR}/../../crypto/dist
|
|
|
|
|
|
|
|
.include "../../crypto/Makefile.openssl"
|
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
.PATH: ${OPENSSLSRC} ${OPENSSLSRC}/crypto/rc5 ${OPENSSLSRC}/crypto/evp
|
|
|
|
|
2000-09-30 04:24:52 +04:00
|
|
|
CPPFLAGS+= -I${OPENSSLSRC}/crypto/rc5
|
2001-12-12 03:51:00 +03:00
|
|
|
SRCS+= rc5_skey.c rc5_enc.c e_rc5.c c_allc.c
|
2000-09-30 04:24:52 +04:00
|
|
|
|
|
|
|
# XXX
|
|
|
|
.if ${OBJECT_FMT} == "ELF"
|
2001-12-12 03:51:00 +03:00
|
|
|
AFLAGS+= -DELF
|
2000-09-30 04:24:52 +04:00
|
|
|
.else
|
2001-12-12 03:51:00 +03:00
|
|
|
AFLAGS+= -DOUT
|
2000-09-30 04:24:52 +04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|