1 # Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 2001 Internet Software Consortium.
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.
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.
16 # Id: Makefile.in,v 1.14 2009/12/05 23:31:40 each Exp
20 top_srcdir
= @top_srcdir@
28 CINCLUDES
= -I.
${BIND9_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES} \
34 ISCLIBS
= ..
/..
/lib
/isc
/libisc.@A@
35 ISCCFGLIBS
= ..
/..
/lib
/isccfg
/libisccfg.@A@
36 DNSLIBS
= ..
/..
/lib
/dns
/libdns.@A@
38 ISCDEPLIBS
= ..
/..
/lib
/isc
/libisc.@A@
39 ISCCFGDEPLIBS
= ..
/..
/lib
/isccfg
/libisccfg.@A@
40 DNSDEPLIBS
= ..
/..
/lib
/dns
/libdns.@A@
47 OBJS
= check.@O@ getaddresses.@O@ version.@O@
50 SRCS
= check.c getaddresses.c version.c
56 version.@O@
: version.c
57 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
58 -DVERSION
=\"${VERSION}\" \
59 -DLIBINTERFACE
=${LIBINTERFACE} \
60 -DLIBREVISION
=${LIBREVISION} \
62 -c
${srcdir}/version.c
64 libbind9.@SA@
: ${OBJS}
65 ${AR} ${ARFLAGS} $@
${OBJS}
68 libbind9.la
: ${OBJS} ${ISCCFGDEPLIBS} ${ISCDEPLIBS} ${DNSDEPLIBS}
69 ${LIBTOOL_MODE_LINK} \
70 ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libbind9.la
-rpath
${libdir} \
71 -version-info
${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
72 ${OBJS} ${DNSLIBS} ${ISCCFGLIBS} ${ISCLIBS} ${LIBS}
74 timestamp
: libbind9.@A@
78 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${libdir}
80 install:: timestamp
installdirs
81 ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libbind9.@A@
${DESTDIR}${libdir}
84 rm -f libbind9.@A@ timestamp