freebsd-ports/mail/libdomainkeys/files/Makefile
Brooks Davis f2ab442843 Fix build with src r354909 applied.
The referenced change made NO_INSTALLLIB, NO_MAN, and NO_PROFILE into
errors causing these ports that declare them and use the FreeBSD make
infrastructure as part of their build to fail.

When the offending variables occur in a BSD Makefile, NO_MAN becomes
MAN= and NO_INSTALLLIB and NO_PROFILE become MK_INSTALLLIB=no and
MK_PROFILE=no respectively.  When declared in the environment they
become WITHOUT_<FOO>.
2019-11-25 23:25:52 +00:00

26 lines
541 B
Makefile

# $FreeBSD$
LIB = domainkeys
SRCS= dns_txt.c domainkeys.c dktrace.c
INCS= domainkeys.h dktrace.h
LIBDIR= ${PREFIX}/lib
INCLUDEDIR= ${PREFIX}/include
CFLAGS+= -DBIND_8_COMPAT -I${OPENSSLBASE}/include
LDFLAGS+= -lcrypto -L${OPENSSLBASE}/lib
MK_PROFILE= no
dktest: dktest.c
${CC} ${CFLAGS} -I. dktest.c -o dktest libdomainkeys.a ${LDFLAGS}
check: dktest
./test
makeheader: makeheader.c
${CC} ${CFLAGS} makeheader.c -o makeheader
domainkeys.h: domainkeys.c makeheader
./makeheader <domainkeys.c >domainkeys.h
.include <bsd.lib.mk>