Makefile.in revision e13d04fda918c0c14c2247475bb99e0760d9a6a4
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson# Copyright (C) 2004, 2005, 2007, 2012, 2014 Internet Systems Consortium, Inc. ("ISC")
d3498432822fb487e58f8f72bb5f880dd8307d7dMichael Sawyer# Copyright (C) 2000, 2001 Internet Software Consortium.
8826a72394a3cf136c791e4c97b745611f233f0aAutomatic Updater#
499b34cea04a46823d003d4c0520c8b03e8513cbBrian Wellington# Permission to use, copy, modify, and/or distribute this software for any
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# purpose with or without fee is hereby granted, provided that the above
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# copyright notice and this permission notice appear in all copies.
d3498432822fb487e58f8f72bb5f880dd8307d7dMichael Sawyer#
d3498432822fb487e58f8f72bb5f880dd8307d7dMichael Sawyer# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# PERFORMANCE OF THIS SOFTWARE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# $Id: Makefile.in,v 1.34 2007/06/19 23:47:22 tbox Exp $
d3498432822fb487e58f8f72bb5f880dd8307d7dMichael Sawyer
8826a72394a3cf136c791e4c97b745611f233f0aAutomatic Updatersrcdir = @srcdir@
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid LawrenceVPATH = @srcdir@
c51203011182577cbb53a6d16d496aa9697fff5cAndreas Gustafssontop_srcdir = @top_srcdir@
c51203011182577cbb53a6d16d496aa9697fff5cAndreas Gustafsson
c51203011182577cbb53a6d16d496aa9697fff5cAndreas GustafssonVERSION=@BIND9_VERSION@
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson@LIBLWRES_API@
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson@BIND9_MAKE_INCLUDES@
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson
a2b565626ba9a98eecc7b82cb86c6d68c38d3d94Michael SawyerCINCLUDES = -I${srcdir}/unix/include \
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson -I. -I./include -I${srcdir}/include ${ISC_INCLUDES}
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas GustafssonCDEFINES =
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan HuntCWARNINGS =
c51203011182577cbb53a6d16d496aa9697fff5cAndreas Gustafsson
c51203011182577cbb53a6d16d496aa9697fff5cAndreas Gustafsson# Alphabetically
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas GustafssonOBJS = compat.@O@ context.@O@ \
6c52944ef2281095d1c317a45ea013b8f3cfa135Mark Andrews gai_strerror.@O@ getaddrinfo.@O@ gethost.@O@ \
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson getipnode.@O@ getnameinfo.@O@ getrrset.@O@ herror.@O@ \
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson lwbuffer.@O@ lwconfig.@O@ lwpacket.@O@ lwresutil.@O@ \
6c52944ef2281095d1c317a45ea013b8f3cfa135Mark Andrews lwres_gabn.@O@ lwres_gnba.@O@ lwres_grbn.@O@ lwres_noop.@O@ \
6c52944ef2281095d1c317a45ea013b8f3cfa135Mark Andrews lwinetaton.@O@ lwinetpton.@O@ lwinetntop.@O@ print.@O@
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson# Alphabetically
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas GustafssonSRCS = compat.c context.c gai_strerror.c getaddrinfo.c gethost.c \
5a3e08cbb2fc02f38edd784be8fc0549b92f02e8Michael Sawyer getipnode.c getnameinfo.c getrrset.c herror.c \
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson lwbuffer.c lwconfig.c lwpacket.c lwresutil.c \
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson lwres_gabn.c lwres_gnba.c lwres_grbn.c lwres_noop.c \
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson lwinetaton.c lwinetpton.c lwinetntop.c print.c
LIBS = @LIBS@
SUBDIRS = include man unix
TARGETS = timestamp
TESTDIRS = @UNITTESTS@
@BIND9_MAKE_RULES@
version.@O@: version.c
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
-DVERSION=\"${VERSION}\" \
-DLIBINTERFACE=${LIBINTERFACE} \
-DLIBREVISION=${LIBREVISION} \
-DLIBAGE=${LIBAGE} \
-c ${srcdir}/version.c
liblwres.@SA@: ${OBJS} version.@O@
${AR} ${ARFLAGS} $@ ${OBJS} version.@O@
${RANLIB} $@
liblwres.la: ${OBJS} version.@O@
${LIBTOOL_MODE_LINK} \
${CC} ${ALL_CFLAGS} ${LDFLAGS} -o liblwres.la -rpath ${libdir} \
-version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
${OBJS} version.@O@ ${LIBS}
timestamp: liblwres.@A@
touch timestamp
installdirs:
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
install:: timestamp installdirs
${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} liblwres.@A@ ${DESTDIR}${libdir}
clean distclean::
rm -f liblwres.@A@ liblwres.la timestamp