Makefile.in 1.73 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
#
Bob Halley's avatar
Bob Halley committed
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.26 2004/07/20 07:13:36 marka Exp $
David Lawrence's avatar
David Lawrence committed
17

Bob Halley's avatar
Bob Halley committed
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}
Bob Halley's avatar
Bob Halley committed
25 26 27 28

CDEFINES =
CWARNINGS =

29
# Note that we do not want to use libtool for libt_api
30
DNSLIBS =	../../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
31
ISCLIBS =	../../../lib/isc/libisc.@A@
William King's avatar
William King committed
32

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

DEPLIBS =	${DNSDEPLIBS} ${ISCDEPLIBS}

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

William King's avatar
William King committed
40 41
TLIB =		../../../lib/tests/libt_api.@A@

Mark Andrews's avatar
Mark Andrews committed
42
TARGETS =	t_names@EXEEXT@
Bob Halley's avatar
Bob Halley committed
43

Bob Halley's avatar
Bob Halley committed
44 45
SRCS =		t_names.c

Bob Halley's avatar
Bob Halley committed
46 47
@BIND9_MAKE_RULES@

Mark Andrews's avatar
Mark Andrews committed
48
t_names@EXEEXT@: t_names.@O@ ${DEPLIBS} ${TLIB}
49
	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ t_names.@O@ ${TLIB} ${LIBS}
Bob Halley's avatar
Bob Halley committed
50

Mark Andrews's avatar
Mark Andrews committed
51 52
test: t_names@EXEEXT@
	-@./t_names@EXEEXT@ -c @top_srcdir@/t_config -b @srcdir@ -a
Bob Halley's avatar
Bob Halley committed
53 54

testhelp:
Mark Andrews's avatar
Mark Andrews committed
55
	@./t_names@EXEEXT@ -h
Bob Halley's avatar
Bob Halley committed
56 57 58

clean distclean::
	rm -f ${TARGETS}