1# Copyright (C) 2004, 2007, 2009, 2012, 2014  Internet Systems Consortium, Inc. ("ISC")
2# Copyright (C) 1999-2002  Internet Software Consortium.
3#
4# Permission to use, copy, modify, and/or distribute this software for any
5# purpose with or without fee is hereby granted, provided that the above
6# copyright notice and this permission notice appear in all copies.
7#
8# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10# AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14# PERFORMANCE OF THIS SOFTWARE.
15
16# Id: Makefile.in,v 1.25 2009/12/05 23:31:40 each Exp
17
18srcdir =	@srcdir@
19VPATH =		@srcdir@
20top_srcdir =	@top_srcdir@
21
22@BIND9_MAKE_INCLUDES@
23
24CINCLUDES =	${TEST_INCLUDES} ${ISC_INCLUDES}
25
26CDEFINES =
27CWARNINGS =
28
29ISCLIBS =	../../../lib/isc/libisc.@A@ @ISC_OPENSSL_LIBS@
30TAPIDEPLIBS =	../../../lib/tests/libt_api.@A@
31
32ISCDEPLIBS =	../../../lib/isc/libisc.@A@
33TAPILIBS =	../../../lib/tests/libt_api.@A@
34
35DEPLIBS =	${TAPIDEPLIBS} ${ISCDEPLIBS}
36
37LIBS =		${TAPILIBS} ${ISCLIBS} ${ISCLIBS} @LIBS@
38
39TARGETS =	t_sockaddr@EXEEXT@
40
41SRCS =		t_sockaddr.c
42
43@BIND9_MAKE_RULES@
44
45t_sockaddr@EXEEXT@: t_sockaddr.@O@ ${DEPLIBS}
46	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ t_sockaddr.@O@ ${LIBS}
47
48test: t_sockaddr@EXEEXT@
49	-@./t_sockaddr@EXEEXT@ -b @srcdir@ -a
50
51testhelp:
52	@./t_sockaddr@EXEEXT@ -h
53
54clean distclean::
55	rm -f ${TARGETS}
56