Makefile.in revision 9c91aa26411a449f26cf5e0b7fb588f8a71977a8
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews# Copyright (C) 1998, 1999 Internet Software Consortium.
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews#
0add14467b53f33ace931f9a4790113cb8b5e45dTinderbox User# Permission to use, copy, modify, and distribute this software for any
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# purpose with or without fee is hereby granted, provided that the above
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# copyright notice and this permission notice appear in all copies.
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews#
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# SOFTWARE.
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrewssrcdir = @srcdir@
d76ed813a51465e5c47d521ab09ea20c06f1428dMark AndrewsVPATH = @srcdir@
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrewstop_srcdir = @top_srcdir@
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews
68116c5a5fd36fef812fc207de3b7714db2994d5Evan Hunt@BIND9_VERSION@
68116c5a5fd36fef812fc207de3b7714db2994d5Evan Hunt
68116c5a5fd36fef812fc207de3b7714db2994d5Evan Hunt@LIBISC_API@
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews
d76ed813a51465e5c47d521ab09ea20c06f1428dMark AndrewsCINCLUDES = -I./unix/include \
95de316a5d99b09804eda3223d1a41623d7ed611Evan Hunt -I${srcdir}/unix/include \
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt -I${srcdir}/pthreads/include \
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt -I${srcdir}/include
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan HuntCDEFINES =
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan HuntCWARNINGS =
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt# Alphabetically
d76ed813a51465e5c47d521ab09ea20c06f1428dMark AndrewsUNIXOBJS = @ISC_ISCIPV6_O@ \
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews unix/app.@O@ unix/dir.@O@ unix/interfaceiter.@O@ \
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews unix/net.@O@ unix/socket.@O@ unix/time.@O@ \
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt unix/stdtime.@O@
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan HuntNLSOBJS = nls/msgcat.@O@
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt
68116c5a5fd36fef812fc207de3b7714db2994d5Evan HuntPTHREADOBJS = pthreads/condition.@O@
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt# Alphabetically
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan HuntOBJS = @ISC_EXTRA_OBJS@ \
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Hunt assertions.@O@ base64.@O@ bitstring.@O@ buffer.@O@ \
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt bufferlist.@O@ error.@O@ event.@O@ heap.@O@ lex.@O@ lib.@O@ \
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt log.@O@ mem.@O@ mutexblock.@O@ result.@O@ rwlock.@O@ \
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt serial.@O@ \
ab6fd5e89266a29efdafee3784d2cb06f8624b1bMark Andrews sockaddr.@O@ str.@O@ symtab.@O@ task.@O@ timer.@O@ \
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt version.@O@ \
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt ${UNIXOBJS} ${NLSOBJS} ${PTHREADOBJS}
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt
68116c5a5fd36fef812fc207de3b7714db2994d5Evan Hunt# Alphabetically
89740699cd2191d9b84e67716c281b2dfeba5e56Evan HuntSRCS = @ISC_EXTRA_SRCS@ \
ab6fd5e89266a29efdafee3784d2cb06f8624b1bMark Andrews assertions.c base64.c bitstring.c buffer.c \
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt bufferlist.c error.c event.c heap.c lex.c lib.c \
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt log.c mem.c mutexblock.c result.c rwlock.c \
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt serial.c \
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt sockaddr.c str.c symtab.c task.c timer.c \
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt version.c
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt
89740699cd2191d9b84e67716c281b2dfeba5e56Evan HuntLIBS = @LIBS@
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt
89740699cd2191d9b84e67716c281b2dfeba5e56Evan HuntSUBDIRS = include unix nls pthreads
89740699cd2191d9b84e67716c281b2dfeba5e56Evan HuntTARGETS = timestamp
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt@BIND9_MAKE_RULES@
89740699cd2191d9b84e67716c281b2dfeba5e56Evan Hunt
66e50468dde42a9757ac489e738d8b2db8fd7f80Evan Huntversion.@O@: version.c
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews ${LIBTOOL} ${CC} ${ALL_CFLAGS} \
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews -DVERSION=\"${VERSION}\" \
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews -DLIBINTERFACE=${LIBINTERFACE} \
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews -DLIBREVISION=${LIBREVISION} \
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt -DLIBAGE=${LIBAGE} \
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews -c $<
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Huntlibisc.a: ${OBJS}
6643b0dd91249ace16218ef667967c87b291992cMark Andrews ${AR} cruv libisc.a ${OBJS}
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt ${RANLIB} libisc.a
68116c5a5fd36fef812fc207de3b7714db2994d5Evan Hunt
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Huntlibisc.la: ${OBJS}
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt ${LIBTOOL} --mode=link \
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt ${CC} ${ALL_CFLAGS} -o libisc.la -rpath ${libdir} \
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt ${OBJS} ${LIBS}
6643b0dd91249ace16218ef667967c87b291992cMark Andrews
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunttimestamp: libisc.@A@
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt touch timestamp
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Huntinstalldirs:
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt if [ ! -d ${libdir} ]; then \
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt mkdir ${libdir}; \
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt fi
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Huntinstall:: timestamp installdirs
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt ${LIBTOOL} ${INSTALL_DATA} libisc.@A@ ${libdir}
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Huntclean distclean::
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt rm -f libisc.a libisc.la timestamp
56c9fcf07580457442b80ac32bdb7c07aa0df870Evan Hunt