cloud-agent/cms/Makefile.inc
2017-06-29 11:40:48 +02:00

20 lines
498 B
Makefile

.include <bsd.own.mk>
.include <bsd.obj.mk>
BINDIR?= /usr/local/bin
LIBCRYPTOSRC= ${BSDSRCDIR}/lib/libcrypto
CFLAGS+= -I${.CURDIR}
CFLAGS+= -I${.CURDIR}/../lib
CFLAGS+= -I${LIBCRYPTOSRC}/asn1
CFLAGS+= -I${LIBCRYPTOSRC}/evp
CFLAGS+= -Wall
.if exists(${.CURDIR}/../lib/${__objdir})
LDADD+= -L${.CURDIR}/../lib/${__objdir} -lcms
DPADD+= ${.CURDIR}/../lib/${__objdir}/libcms.a
.else
LDADD+= -L${.CURDIR}/../lib -lcms
DPADD+= ${.CURDIR}/../lib/libcms.a
.endif