blob: 46b5f7917fbfe4a6eafb930778d63a936e067c0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $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>
|