Makefile.in revision e40d5d6b7183419899b1eeeeb3aeb1a6a630def7
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews# Copyright (C) 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews# Permission to use, copy, modify, and/or distribute this software for any
9ba8f087afc600a12076d52ea4ed1f006f3b46d8Mark Andrews# purpose with or without fee is hereby granted, provided that the above
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews# copyright notice and this permission notice appear in all copies.
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews# PERFORMANCE OF THIS SOFTWARE.
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews# $Id: Makefile.in,v 1.8 2010/06/09 23:50:58 tbox Exp $
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrewstop_srcdir = @top_srcdir@
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrewssrcdir = @top_srcdir@/lib/isc
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrewsexport_srcdir = @top_srcdir@/lib/export
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews@BIND9_VERSION@
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark AndrewsCINCLUDES = -I${srcdir}/unix/include \
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews -I${srcdir}/@ISC_THREAD_DIR@/include \
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews -I${srcdir}/@ISC_ARCH_DIR@/include \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews -I${export_srcdir}/isc/include -I${srcdir}/include \
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews @ISC_OPENSSL_INC@
ed12ab17de6d192fd46914be8dc55fb573470664Mark AndrewsCDEFINES = @USE_OPENSSL@ -DUSE_APPIMPREGISTER -DUSE_MEMIMPREGISTER \
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews -DUSE_SOCKETIMPREGISTER -DUSE_TASKIMPREGISTER \
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews -DUSE_TIMERIMPREGISTER
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews# Alphabetically
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews# {file,dir}.c is necessary for isclog
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews# symtab.c is necessary for isccfg
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark AndrewsAPIOBJS = app_api.@O@ mem_api.@O@ socket_api.@O@ \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews task_api.@O@ timer_api.@O@
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark AndrewsISCDRIVEROBJS = mem.@O@ unix/socket.@O@ task.@O@ timer.@O@ lib.@O@ \
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews heap.@O@ #timer module depends on this
ed12ab17de6d192fd46914be8dc55fb573470664Mark AndrewsUNIXOBJS = @ISC_ISCIPV6_O@ \
dfa22b7b17b17e50ee72ca39e992713db1a62097Mark Andrews unix/stdtime.@O@ unix/strerror.@O@ unix/time.@O@
dfa22b7b17b17e50ee72ca39e992713db1a62097Mark AndrewsTHREADOPTOBJS = @ISC_THREAD_DIR@/condition.@O@ @ISC_THREAD_DIR@/mutex.@O@
dfa22b7b17b17e50ee72ca39e992713db1a62097Mark AndrewsTHREADOBJS = @THREADOPTOBJS@ @ISC_THREAD_DIR@/thread.@O@
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark AndrewsWIN32OBJS = win32/condition.@O@ win32/dir.@O@ win32/file.@O@ \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews win32/fsaccess.@O@ win32/once.@O@ win32/stdtime.@O@ \
dfa22b7b17b17e50ee72ca39e992713db1a62097Mark Andrews# Alphabetically
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark AndrewsOBJS = @ISC_EXTRA_OBJS@ \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews assertions.@O@ backtrace.@O@ backtrace-emptytbl.@O@ base32.@O@ \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews base64.@O@ buffer.@O@ bufferlist.@O@ \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews error.@O@ event.@O@ \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews hash.@O@ hex.@O@ hmacmd5.@O@ hmacsha.@O@ \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews inet_aton.@O@ iterated_hash.@O@ lex.@O@ lfsr.@O@ log.@O@ \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews md5.@O@ mutexblock.@O@ \
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews netaddr.@O@ netscope.@O@ \
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews ondestroy.@O@ \
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews parseint.@O@ portset.@O@ radix.@O@ \
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews random.@O@ refcount.@O@ region.@O@ result.@O@ rwlock.@O@ \
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews serial.@O@ sha1.@O@ sha2.@O@ sockaddr.@O@ stats.@O@ string.@O@ \
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews symtab.@O@ \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews version.@O@ \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews ${APIOBJS} ${ISCDRIVEROBJS} \
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews ${UNIXOBJS} ${NLSOBJS} ${THREADOBJS}
ed12ab17de6d192fd46914be8dc55fb573470664Mark Andrews# Alphabetically
dfa22b7b17b17e50ee72ca39e992713db1a62097Mark AndrewsISCDRIVERSRCS = mem.c task.c lib.c timer.c heap.c
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark AndrewsSRCS = @ISC_EXTRA_SRCS@ \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews assertions.c backtrace.c backtrace-emptytbl.c base32.c \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews inet_aton.c iterated_hash.c lex.c log.c lfsr.c \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews random.c refcount.c region.c result.c rwlock.c \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews serial.c sha1.c sha2.c sockaddr.c stats.c string.c symtab.c \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews ${APISRCS} ${ISCDRIVERSRCS}
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark AndrewsLIBS = @LIBS@
dfa22b7b17b17e50ee72ca39e992713db1a62097Mark AndrewsSUBDIRS = include unix nls @ISC_THREAD_DIR@
dfa22b7b17b17e50ee72ca39e992713db1a62097Mark AndrewsTARGETS = timestamp
dfa22b7b17b17e50ee72ca39e992713db1a62097Mark Andrews@BIND9_MAKE_RULES@
dfa22b7b17b17e50ee72ca39e992713db1a62097Mark Andrewsversion.@O@: ${srcdir}/version.c
dfa22b7b17b17e50ee72ca39e992713db1a62097Mark Andrews ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
dfa22b7b17b17e50ee72ca39e992713db1a62097Mark Andrews -DVERSION=\"${VERSION}\" \
dfa22b7b17b17e50ee72ca39e992713db1a62097Mark Andrews -DLIBINTERFACE=${LIBINTERFACE} \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews -DLIBREVISION=${LIBREVISION} \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews -DLIBAGE=${LIBAGE} \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrewslibisc.@SA@: ${OBJS}
9ba8f087afc600a12076d52ea4ed1f006f3b46d8Mark Andrews ${AR} ${ARFLAGS} $@ ${OBJS}
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews ${RANLIB} $@
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews ${LIBTOOL_MODE_LINK} \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc.la \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews -rpath ${export_libdir} \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews ${OBJS} ${LIBS}
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrewstimestamp: libisc.@A@
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews touch timestamp
dfa22b7b17b17e50ee72ca39e992713db1a62097Mark Andrews $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${export_libdir}
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrewsinstall:: timestamp installdirs
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libisc.@A@ \
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews ${DESTDIR}${export_libdir}
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrewsclean distclean::
f7cf0e6785e4a7e5574328a7000a9e8926a9bc9cMark Andrews rm -f libisc.@A@ libisc.la timestamp