Makefile revision 1.2
11.2Schristos# $NetBSD: Makefile,v 1.2 2017/04/10 16:37:48 christos Exp $ 21.2Schristos 31.2Schristos.include <bsd.own.mk> 41.1Schristos 51.1SchristosPROG= dc 61.1SchristosSRCS= main.c dc.c bcode.c inout.c mem.c stack.c 71.2Schristos 81.2Schristos.if ${MKCRYPTO:Uno} == "yes" 91.2SchristosWARNS=6 101.1SchristosLDADD= -lcrypto 111.1SchristosDPADD= ${LIBCRYPTO} 121.2Schristos.else 131.2SchristosOPENSSL=${NETBSDSRCDIR}/crypto/external/bsd/openssl/dist 141.2Schristos.PATH: ${OPENSSL}/crypto/bn 151.2SchristosCPPFLAGS+=-I${OPENSSL} -I${OPENSSL}/crypto 161.2SchristosSRCS+= bn_lib.c bn_add.c bn_mul.c bn_div.c bn_asm.c bn_word.c bn_shift.c 171.2SchristosSRCS+= bn_ctx.c bn_exp.c bn_mod.c bn_sqr.c bn_mont.c bn_recp.c bn_gcd.c 181.2SchristosSRCS+= misc.c 191.2SchristosCOPTS.bn_lib.c += -Wno-cast-qual 201.2Schristos.endif 211.2Schristos 221.2SchristosSUBDIR+=USD.doc 231.1Schristos 241.1Schristos.include <bsd.prog.mk> 251.2Schristos.include <bsd.subdir.mk> 26