1 # Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
3 # Permission to use, copy, modify, and/or distribute this software for any
4 # purpose with or without fee is hereby granted, provided that the above
5 # copyright notice and this permission notice appear in all copies.
7 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
8 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9 # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
10 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
12 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13 # PERFORMANCE OF THIS SOFTWARE.
15 # Id: Makefile.in,v 1.4 2009/12/05 23:31:40 each Exp
17 top_srcdir
= @top_srcdir@
18 srcdir = @top_srcdir@
/lib
/irs
19 export_srcdir
= @top_srcdir@
/lib
/export
27 CINCLUDES
= -I.
-I.
/include -I
${srcdir}/include \
28 ${ISCCFG_INCLUDES} -I..
/dns
/include ${DNS_INCLUDES} \
29 -I
${export_srcdir}/isc
/include ${ISC_INCLUDES}
36 gai_strerror.@O@ getaddrinfo.@O@ getnameinfo.@O@ \
42 gai_sterror.c getaddrinfo.c getnameinfo.c \
45 ISCLIBS
= ..
/isc
/libisc.@A@
46 DNSLIBS
= ..
/dns
/libdns.@A@
47 ISCCFGLIBS
= ..
/isccfg
/libisccfg.@A@
56 version.@O@
: ${srcdir}/version.c
57 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
58 -DVERSION
=\"${VERSION}\" \
59 -DLIBINTERFACE
=${LIBINTERFACE} \
60 -DLIBREVISION
=${LIBREVISION} \
62 -c
${srcdir}/version.c
64 libirs.@SA@
: ${OBJS} version.@O@
65 ${AR} ${ARFLAGS} $@
${OBJS} version.@O@
68 libirs.la
: ${OBJS} version.@O@
69 ${LIBTOOL_MODE_LINK} \
70 ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libirs.la \
71 -rpath
${export_libdir} \
72 -version-info
${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
73 ${OBJS} version.@O@
${LIBS} ${ISCCFGLIBS} ${DNSLIBS} ${ISCLIBS}
79 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${export_libdir}
81 install:: timestamp
installdirs
82 ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libirs.@A@ \
83 ${DESTDIR}${export_libdir}
86 rm -f libirs.@A@ libirs.la timestamp