Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / bsd / bind / dist / lib / isc / Makefile.in
blob7dee9334c83f56377fcfbfaf4037d0fdfbacd06f
1 # Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 1998-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.
16 # Id: Makefile.in,v 1.104 2009/12/05 23:31:41 each Exp
18 srcdir = @srcdir@
19 VPATH = @srcdir@
20 top_srcdir = @top_srcdir@
22 @BIND9_VERSION@
24 @LIBISC_API@
26 CINCLUDES = -I${srcdir}/unix/include \
27 -I${srcdir}/@ISC_THREAD_DIR@/include \
28 -I${srcdir}/@ISC_ARCH_DIR@/include \
29 -I./include \
30 -I${srcdir}/include @ISC_OPENSSL_INC@
31 CDEFINES = @USE_OPENSSL@
32 CWARNINGS =
34 # Alphabetically
35 UNIXOBJS = @ISC_ISCIPV6_O@ \
36 unix/app.@O@ unix/dir.@O@ unix/entropy.@O@ \
37 unix/errno2result.@O@ unix/file.@O@ unix/fsaccess.@O@ \
38 unix/interfaceiter.@O@ unix/keyboard.@O@ unix/net.@O@ \
39 unix/os.@O@ unix/resource.@O@ unix/socket.@O@ unix/stdio.@O@ \
40 unix/stdtime.@O@ unix/strerror.@O@ unix/syslog.@O@ unix/time.@O@
42 NLSOBJS = nls/msgcat.@O@
44 THREADOBJS = @ISC_THREAD_DIR@/condition.@O@ @ISC_THREAD_DIR@/mutex.@O@ \
45 @ISC_THREAD_DIR@/thread.@O@
47 WIN32OBJS = win32/condition.@O@ win32/dir.@O@ win32/file.@O@ \
48 win32/fsaccess.@O@ win32/once.@O@ win32/stdtime.@O@ \
49 win32/thread.@O@ win32/time.@O@
51 # Alphabetically
52 OBJS = @ISC_EXTRA_OBJS@ \
53 assertions.@O@ backtrace.@O@ base32.@O@ base64.@O@ \
54 bitstring.@O@ buffer.@O@ bufferlist.@O@ commandline.@O@ \
55 error.@O@ event.@O@ \
56 hash.@O@ heap.@O@ hex.@O@ hmacmd5.@O@ hmacsha.@O@ \
57 httpd.@O@ inet_aton.@O@ iterated_hash.@O@ \
58 lex.@O@ lfsr.@O@ lib.@O@ log.@O@ \
59 md5.@O@ mem.@O@ mutexblock.@O@ \
60 netaddr.@O@ netscope.@O@ ondestroy.@O@ \
61 parseint.@O@ portset.@O@ quota.@O@ radix.@O@ random.@O@ \
62 ratelimiter.@O@ refcount.@O@ region.@O@ result.@O@ rwlock.@O@ \
63 serial.@O@ sha1.@O@ sha2.@O@ sockaddr.@O@ stats.@O@ \
64 string.@O@ strtoul.@O@ symtab.@O@ task.@O@ taskpool.@O@ \
65 timer.@O@ version.@O@ ${UNIXOBJS} ${NLSOBJS} ${THREADOBJS}
66 SYMTBLOBJS = backtrace-emptytbl.@O@
68 # Alphabetically
69 SRCS = @ISC_EXTRA_SRCS@ \
70 assertions.c backtrace.c base32.c base64.c bitstring.c \
71 buffer.c bufferlist.c commandline.c error.c event.c \
72 heap.c hex.c hmacmd5.c hmacsha.c \
73 httpd.c inet_aton.c iterated_hash.c \
74 lex.c lfsr.c lib.c log.c \
75 md5.c mem.c mutexblock.c \
76 netaddr.c netscope.c ondestroy.c \
77 parseint.c portset.c quota.c radix.c random.c \
78 ratelimiter.c refcount.c region.c result.c rwlock.c \
79 serial.c sha1.c sha2.c sockaddr.c stats.c string.c strtoul.c \
80 symtab.c symtbl-empty.c task.c taskpool.c timer.c version.c
82 LIBS = @LIBS@
84 SUBDIRS = include unix nls @ISC_THREAD_DIR@ @ISC_ARCH_DIR@
85 TARGETS = timestamp
87 @BIND9_MAKE_RULES@
89 version.@O@: version.c
90 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
91 -DVERSION=\"${VERSION}\" \
92 -DLIBINTERFACE=${LIBINTERFACE} \
93 -DLIBREVISION=${LIBREVISION} \
94 -DLIBAGE=${LIBAGE} \
95 -c ${srcdir}/version.c
97 libisc.@SA@: ${OBJS} ${SYMTBLOBJS}
98 ${AR} ${ARFLAGS} $@ ${OBJS} ${SYMTBLOBJS}
99 ${RANLIB} $@
101 libisc-nosymtbl.@SA@: ${OBJS}
102 ${AR} ${ARFLAGS} $@ ${OBJS}
103 ${RANLIB} $@
105 libisc.la: ${OBJS} ${SYMTBLOBJS}
106 ${LIBTOOL_MODE_LINK} \
107 ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc.la -rpath ${libdir} \
108 -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
109 ${OBJS} ${SYMTBLOBJS} ${LIBS}
111 libisc-nosymtbl.la: ${OBJS}
112 ${LIBTOOL_MODE_LINK} \
113 ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc-nosymtbl.la -rpath ${libdir} \
114 -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
115 ${OBJS} ${LIBS}
117 timestamp: libisc.@A@ libisc-nosymtbl.@A@
118 touch timestamp
120 installdirs:
121 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
123 install:: timestamp installdirs
124 ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libisc.@A@ ${DESTDIR}${libdir}
126 install:: @ISC_ARCH_DIR@/include/isc/atomic.h
127 ${INSTALL_DATA} @ISC_ARCH_DIR@/include/isc/atomic.h ${DESTDIR}${includedir}/isc
129 clean distclean::
130 rm -f libisc.@A@ libisc-nosymtbl.@A@ libisc.la \
131 libisc-nosymtbl.la timestamp