1 # Copyright (C) 2004, 2005, 2007, 2012, 2014 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 2000, 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.34 2007/06/19 23:47:22 tbox Exp
20 top_srcdir
= @top_srcdir@
28 CINCLUDES
= -I
${srcdir}/unix
/include \
29 -I.
-I.
/include -I
${srcdir}/include ${ISC_INCLUDES}
34 OBJS
= compat.@O@ context.@O@ \
35 gai_strerror.@O@ getaddrinfo.@O@ gethost.@O@ \
36 getipnode.@O@ getnameinfo.@O@ getrrset.@O@ herror.@O@ \
37 lwbuffer.@O@ lwconfig.@O@ lwpacket.@O@ lwresutil.@O@ \
38 lwres_gabn.@O@ lwres_gnba.@O@ lwres_grbn.@O@ lwres_noop.@O@ \
39 lwinetaton.@O@ lwinetpton.@O@ lwinetntop.@O@
print.@O@
42 SRCS
= compat.c context.c gai_strerror.c getaddrinfo.c gethost.c \
43 getipnode.c getnameinfo.c getrrset.c herror.c \
44 lwbuffer.c lwconfig.c lwpacket.c lwresutil.c \
45 lwres_gabn.c lwres_gnba.c lwres_grbn.c lwres_noop.c \
46 lwinetaton.c lwinetpton.c lwinetntop.c
print.c
50 SUBDIRS
= include man unix
52 TESTDIRS
= @UNITTESTS@
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 liblwres.@SA@
: ${OBJS} version.@O@
65 ${AR} ${ARFLAGS} $@
${OBJS} version.@O@
68 liblwres.la
: ${OBJS} version.@O@
69 ${LIBTOOL_MODE_LINK} \
70 ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o liblwres.la
-rpath
${libdir} \
71 -version-info
${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
72 ${OBJS} version.@O@
${LIBS}
74 timestamp
: liblwres.@A@
78 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${libdir}
80 install:: timestamp
installdirs
81 ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} liblwres.@A@
${DESTDIR}${libdir}
84 rm -f liblwres.@A@ liblwres.la timestamp