1234010Sdougb# Copyright (C) 2004, 2005, 2007, 2009, 2011, 2012 Internet Systems Consortium, Inc. ("ISC") 2135446Strhodes# Copyright (C) 2001-2003 Internet Software Consortium. 3135446Strhodes# 4193149Sdougb# Permission to use, copy, modify, and/or distribute this software for any 5135446Strhodes# purpose with or without fee is hereby granted, provided that the above 6135446Strhodes# copyright notice and this permission notice appear in all copies. 7135446Strhodes# 8135446Strhodes# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 9135446Strhodes# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 10135446Strhodes# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 11135446Strhodes# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 12135446Strhodes# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 13135446Strhodes# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 14135446Strhodes# PERFORMANCE OF THIS SOFTWARE. 15135446Strhodes 16234010Sdougb# $Id$ 17135446Strhodes 18135446Strhodessrcdir = @srcdir@ 19135446StrhodesVPATH = @srcdir@ 20135446Strhodestop_srcdir = @top_srcdir@ 21135446Strhodes 22135446Strhodes@BIND9_VERSION@ 23135446Strhodes 24135446Strhodes@LIBISCCFG_API@ 25135446Strhodes 26135446Strhodes@BIND9_MAKE_INCLUDES@ 27135446Strhodes 28135446StrhodesCINCLUDES = -I. ${DNS_INCLUDES} ${ISC_INCLUDES} ${ISCCFG_INCLUDES} 29135446Strhodes 30225361SdougbCDEFINES = 31135446StrhodesCWARNINGS = 32135446Strhodes 33135446StrhodesISCLIBS = ../../lib/isc/libisc.@A@ 34135446StrhodesISCCCLIBS = ../../lib/isccc/libisccc.@A@ 35135446StrhodesDNSLIBS = ../../lib/dns/libdns.@A@ 36135446StrhodesISCCFGLIBS = ../../lib/cfg/libisccfg.@A@ 37135446Strhodes 38135446StrhodesISCDEPLIBS = ../../lib/isc/libisc.@A@ 39135446StrhodesISCCFGDEPLIBS = libisccfg.@A@ 40135446Strhodes 41135446StrhodesLIBS = @LIBS@ 42135446Strhodes 43135446StrhodesSUBDIRS = include 44135446Strhodes 45135446Strhodes# Alphabetically 46170222SdougbOBJS = aclconf.@O@ log.@O@ namedconf.@O@ parser.@O@ version.@O@ 47135446Strhodes 48135446Strhodes# Alphabetically 49170222SdougbSRCS = aclconf.c log.c namedconf.c parser.c version.c 50135446Strhodes 51135446StrhodesTARGETS = timestamp 52135446Strhodes 53135446Strhodes@BIND9_MAKE_RULES@ 54135446Strhodes 55135446Strhodesversion.@O@: version.c 56135446Strhodes ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \ 57135446Strhodes -DVERSION=\"${VERSION}\" \ 58135446Strhodes -DLIBINTERFACE=${LIBINTERFACE} \ 59135446Strhodes -DLIBREVISION=${LIBREVISION} \ 60135446Strhodes -DLIBAGE=${LIBAGE} \ 61135446Strhodes -c ${srcdir}/version.c 62135446Strhodes 63135446Strhodeslibisccfg.@SA@: ${OBJS} 64135446Strhodes ${AR} ${ARFLAGS} $@ ${OBJS} 65135446Strhodes ${RANLIB} $@ 66135446Strhodes 67135446Strhodeslibisccfg.la: ${OBJS} 68135446Strhodes ${LIBTOOL_MODE_LINK} \ 69135446Strhodes ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisccfg.la -rpath ${libdir} \ 70135446Strhodes -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \ 71254402Serwin ${OBJS} ${DNSLIBS} ${ISCCCLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ \ 72254402Serwin ${LIBS} 73135446Strhodes 74135446Strhodestimestamp: libisccfg.@A@ 75135446Strhodes touch timestamp 76135446Strhodes 77135446Strhodesinstalldirs: 78135446Strhodes $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir} 79135446Strhodes 80135446Strhodesinstall:: timestamp installdirs 81135446Strhodes ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libisccfg.@A@ ${DESTDIR}${libdir} 82135446Strhodes 83135446Strhodesclean distclean:: 84135446Strhodes rm -f libisccfg.@A@ timestamp 85