1 # Copyright (C) 2004, 2005, 2007, 2009, 2011-2014 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 2001-2003 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.
20 top_srcdir
= @top_srcdir@
28 CINCLUDES
= -I.
${DNS_INCLUDES} ${ISC_INCLUDES} ${ISCCFG_INCLUDES}
33 ISCLIBS
= ..
/..
/lib
/isc
/libisc.@A@
34 ISCCCLIBS
= ..
/..
/lib
/isccc
/libisccc.@A@
35 DNSLIBS
= ..
/..
/lib
/dns
/libdns.@A@
36 ISCCFGLIBS
= ..
/..
/lib
/cfg
/libisccfg.@A@
38 ISCDEPLIBS
= ..
/..
/lib
/isc
/libisc.@A@
39 ISCCFGDEPLIBS
= libisccfg.@A@
46 OBJS
= aclconf.@O@ dnsconf.@O@ log.@O@ namedconf.@O@ \
47 parser.@O@ version.@O@
50 SRCS
= aclconf.c dnsconf.c log.c namedconf.c \
57 version.@O@
: version.c
58 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
59 -DVERSION
=\"${VERSION}\" \
60 -DLIBINTERFACE
=${LIBINTERFACE} \
61 -DLIBREVISION
=${LIBREVISION} \
63 -c
${srcdir}/version.c
65 libisccfg.@SA@
: ${OBJS}
66 ${AR} ${ARFLAGS} $@
${OBJS}
70 ${LIBTOOL_MODE_LINK} \
71 ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisccfg.la
-rpath
${libdir} \
72 -version-info
${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
73 ${OBJS} ${DNSLIBS} ${ISCCCLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ \
76 timestamp
: libisccfg.@A@
80 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${libdir}
82 install:: timestamp
installdirs
83 ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libisccfg.@A@
${DESTDIR}${libdir}
86 rm -f libisccfg.@A@ timestamp