xref: /freebsd/secure/lib/libcrypto/engines/Makefile.inc (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1b077aed3SPierre ProncherySHLIBDIR=	${LIBDIR}/engines-3
2b023ea8aSJung-uk Kim
3b023ea8aSJung-uk KimLCRYPTO_SRC=	${SRCTOP}/crypto/openssl
4b023ea8aSJung-uk Kim
5b023ea8aSJung-uk KimCFLAGS+=	-I${LCRYPTO_SRC}/engines
6b023ea8aSJung-uk KimCFLAGS+=	-I${LCRYPTO_SRC}/include
7b023ea8aSJung-uk KimCFLAGS+=	-I${OBJTOP}/secure/lib/libcrypto
8b023ea8aSJung-uk Kim
9b023ea8aSJung-uk Kim.include <bsd.endian.mk>
10b023ea8aSJung-uk Kim
11b023ea8aSJung-uk Kim.if ${TARGET_ENDIANNESS} == 1234
12b023ea8aSJung-uk KimCFLAGS+=	-DL_ENDIAN
13b023ea8aSJung-uk Kim.elif ${TARGET_ENDIANNESS} == 4321
14b023ea8aSJung-uk KimCFLAGS+=	-DB_ENDIAN
15b023ea8aSJung-uk Kim.endif
16b023ea8aSJung-uk KimCFLAGS+=	-DNDEBUG
17b023ea8aSJung-uk Kim
18*1a18383aSPierre ProncheryLIBADD=		crypto
19*1a18383aSPierre Pronchery
20b023ea8aSJung-uk Kim.PATH: ${LCRYPTO_SRC}/engines
21fe815331SKyle Evans
22fe815331SKyle EvansWARNS?=		0
23