Makefile.in 1.81 KB
Newer Older
Mark Andrews's avatar
Mark Andrews committed
1 2
# Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1999-2002  Internet Software Consortium.
3
#
4 5 6
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
7
#
Mark Andrews's avatar
Mark Andrews committed
8 9 10 11 12 13 14 15
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.

16
# $Id: Makefile.in,v 1.36 2004/07/20 07:13:36 marka Exp $
David Lawrence's avatar
David Lawrence committed
17

18 19 20 21
srcdir =	@srcdir@
VPATH =		@srcdir@
top_srcdir =	@top_srcdir@

22
@BIND9_MAKE_INCLUDES@
23 24

CINCLUDES =	${TEST_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES}
25 26 27 28

CDEFINES =
CWARNINGS =

29
DNSLIBS =	../../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
30
ISCLIBS =	../../../lib/isc/libisc.@A@
Andreas Gustafsson's avatar
DEPLIBS  
Andreas Gustafsson committed
31

32 33 34 35 36 37
DNSDEPLIBS =	../../../lib/dns/libdns.@A@
ISCDEPLIBS =	../../../lib/isc/libisc.@A@

DEPLIBS =	${DNSDEPLIBS} ${ISCDEPLIBS}

LIBS =		${DNSLIBS} ${ISCLIBS} @LIBS@
38

39
TLIB =		../../../lib/tests/libt_api.@A@
40

Mark Andrews's avatar
Mark Andrews committed
41
TARGETS =	dst_test@EXEEXT@ t_dst@EXEEXT@
42

43
SRCS =		dst_test.c t_dst.c
Bob Halley's avatar
Bob Halley committed
44

45 46
@BIND9_MAKE_RULES@

Mark Andrews's avatar
Mark Andrews committed
47
dst_test@EXEEXT@: dst_test.@O@ ${DEPLIBS}
48
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ dst_test.@O@ ${LIBS}
49

Mark Andrews's avatar
Mark Andrews committed
50
t_dst@EXEEXT@: t_dst.@O@ ${DEPLIBS} ${TLIB}
51
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ t_dst.@O@  ${TLIB} ${LIBS}
52

Mark Andrews's avatar
Mark Andrews committed
53 54 55
test: t_dst@EXEEXT@
	../genrandom@EXEEXT@ 100 randomfile
	-@ ./t_dst@EXEEXT@ -b @srcdir@ -q 1800 -a
56 57

clean distclean::
58
	rm -f ${TARGETS} randomfile