1 # Copyright (C) 2009, 2012, 2014 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.3 2009/09/02 23:48:02 tbox Exp
19 top_srcdir
= @top_srcdir@
27 CINCLUDES
= -I.
-I.
/include -I
${srcdir}/include \
28 ${DNS_INCLUDES} ${ISC_INCLUDES} ${ISCCFG_INCLUDES}
36 gai_strerror.@O@ getaddrinfo.@O@ getnameinfo.@O@ \
42 gai_strerror.c getaddrinfo.c getnameinfo.c \
52 version.@O@
: version.c
53 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
54 -DVERSION
=\"${VERSION}\" \
55 -DLIBINTERFACE
=${LIBINTERFACE} \
56 -DLIBREVISION
=${LIBREVISION} \
58 -c
${srcdir}/version.c
60 libirs.@SA@
: ${OBJS} version.@O@
61 ${AR} ${ARFLAGS} $@
${OBJS} version.@O@
64 libirs.la
: ${OBJS} version.@O@
65 ${LIBTOOL_MODE_LINK} \
66 ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libirs.la
-rpath
${libdir} \
67 -version-info
${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
68 ${OBJS} version.@O@
${LIBS}
74 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${libdir}
76 install:: timestamp
installdirs
77 ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libirs.@A@
${DESTDIR}${libdir}
80 rm -f libirs.@A@ libirs.la timestamp