Makefile.in 1.29 KB
Newer Older
1
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
Mark Andrews's avatar
Mark Andrews committed
2
#
3 4 5
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 7 8
#
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
Mark Andrews's avatar
Mark Andrews committed
9

Bob Halley's avatar
Bob Halley committed
10 11 12 13
srcdir =	@srcdir@
VPATH =		@srcdir@
top_srcdir =	@top_srcdir@

14
@BIND9_MAKE_INCLUDES@
15

16 17
CINCLUDES =	${TEST_INCLUDES} ${DNS_INCLUDES} \
		${ISC_INCLUDES} @DST_OPENSSL_INC@
Bob Halley's avatar
Bob Halley committed
18

19
CDEFINES =	@CRYPTO@
Bob Halley's avatar
Bob Halley committed
20 21
CWARNINGS =

22
# Note that we do not want to use libtool for libt_api
23
DNSLIBS =	../../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
24
ISCLIBS =	../../../lib/isc/libisc.@A@ @ISC_OPENSSL_LIBS@
William King's avatar
William King committed
25

26 27 28
DNSDEPLIBS =	../../../lib/dns/libdns.@A@
ISCDEPLIBS =	../../../lib/isc/libisc.@A@

29
DEPLIBS =	${DNSDEPLIBS} ${ISCDEPLIBS}
30

31
LIBS =		${DNSLIBS} ${ISCLIBS} @LIBS@
Bob Halley's avatar
Bob Halley committed
32

William King's avatar
William King committed
33 34
TLIB =		../../../lib/tests/libt_api.@A@

Mark Andrews's avatar
Mark Andrews committed
35
TARGETS =	t_master@EXEEXT@
Bob Halley's avatar
Bob Halley committed
36

Bob Halley's avatar
Bob Halley committed
37 38
SRCS =		t_master.c

Bob Halley's avatar
Bob Halley committed
39 40
@BIND9_MAKE_RULES@

Mark Andrews's avatar
Mark Andrews committed
41
t_master@EXEEXT@: t_master.@O@ ${DEPLIBS} ${TLIB}
42
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ t_master.@O@ ${TLIB} ${LIBS}
Bob Halley's avatar
Bob Halley committed
43

Mark Andrews's avatar
Mark Andrews committed
44 45
test: t_master@EXEEXT@
	-@ ./t_master@EXEEXT@ -c @top_srcdir@/t_config -b @srcdir@ -a
Bob Halley's avatar
Bob Halley committed
46 47

testhelp:
Mark Andrews's avatar
Mark Andrews committed
48
	@ ./t_master@EXEEXT@ -h
Bob Halley's avatar
Bob Halley committed
49 50 51

clean distclean::
	rm -f ${TARGETS}