Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / lib / isc / Makefile.in
blob3f4c5c38c4e663a4e3b403e97ab438409c59c55b
1 # Copyright (C) 2004-2014 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 srcdir = @srcdir@
17 VPATH = @srcdir@
18 top_srcdir = @top_srcdir@
20 @BIND9_VERSION@
22 @LIBISC_API@
24 @BIND9_MAKE_INCLUDES@
26 PROVIDER = @PKCS11_PROVIDER@
28 CINCLUDES = -I${srcdir}/unix/include \
29 -I${srcdir}/@ISC_THREAD_DIR@/include \
30 -I${srcdir}/@ISC_ARCH_DIR@/include \
31 -I./include \
32 -I${srcdir}/include @ISC_OPENSSL_INC@ ${DNS_INCLUDES}
33 CDEFINES = @CRYPTO@ -DPK11_LIB_LOCATION=\"${PROVIDER}\"
34 CWARNINGS =
36 # Alphabetically
37 UNIXOBJS = @ISC_ISCIPV6_O@ @ISC_ISCPK11_API_O@ \
38 unix/app.@O@ unix/dir.@O@ unix/entropy.@O@ \
39 unix/errno2result.@O@ unix/file.@O@ unix/fsaccess.@O@ \
40 unix/interfaceiter.@O@ unix/keyboard.@O@ unix/net.@O@ \
41 unix/os.@O@ unix/resource.@O@ unix/socket.@O@ unix/stdio.@O@ \
42 unix/stdtime.@O@ unix/strerror.@O@ unix/syslog.@O@ unix/time.@O@
44 NLSOBJS = nls/msgcat.@O@
46 THREADOPTOBJS = @ISC_THREAD_DIR@/condition.@O@ @ISC_THREAD_DIR@/mutex.@O@
48 THREADOBJS = @THREADOPTOBJS@ @ISC_THREAD_DIR@/thread.@O@
50 WIN32OBJS = win32/condition.@O@ win32/dir.@O@ win32/file.@O@ \
51 win32/fsaccess.@O@ win32/once.@O@ win32/stdtime.@O@ \
52 win32/thread.@O@ win32/time.@O@
54 # Alphabetically
55 OBJS = @ISC_EXTRA_OBJS@ @ISC_PK11_O@ @ISC_PK11_RESULT_O@ \
56 aes.@O@ assertions.@O@ backtrace.@O@ base32.@O@ base64.@O@ \
57 bind9.@O@ buffer.@O@ bufferlist.@O@ \
58 commandline.@O@ counter.@O@ crc64.@O@ error.@O@ event.@O@ \
59 hash.@O@ heap.@O@ hex.@O@ hmacmd5.@O@ hmacsha.@O@ \
60 httpd.@O@ inet_aton.@O@ iterated_hash.@O@ \
61 lex.@O@ lfsr.@O@ lib.@O@ log.@O@ \
62 md5.@O@ mem.@O@ mutexblock.@O@ \
63 netaddr.@O@ netscope.@O@ pool.@O@ ondestroy.@O@ \
64 parseint.@O@ portset.@O@ quota.@O@ radix.@O@ random.@O@ \
65 ratelimiter.@O@ refcount.@O@ region.@O@ regex.@O@ result.@O@ \
66 rwlock.@O@ \
67 safe.@O@ serial.@O@ sha1.@O@ sha2.@O@ sockaddr.@O@ stats.@O@ \
68 string.@O@ strtoul.@O@ symtab.@O@ task.@O@ taskpool.@O@ \
69 tm.@O@ timer.@O@ version.@O@ \
70 ${UNIXOBJS} ${NLSOBJS} ${THREADOBJS}
71 SYMTBLOBJS = backtrace-emptytbl.@O@
73 # Alphabetically
74 SRCS = @ISC_EXTRA_SRCS@ @ISC_PK11_C@ @ISC_PK11_RESULT_C@ \
75 aes.c assertions.c backtrace.c base32.c base64.c bind9.c \
76 buffer.c bufferlist.c commandline.c counter.c crc64.c \
77 error.c event.c heap.c hex.c hmacmd5.c hmacsha.c \
78 httpd.c inet_aton.c iterated_hash.c \
79 lex.c lfsr.c lib.c log.c \
80 md5.c mem.c mutexblock.c \
81 netaddr.c netscope.c pool.c ondestroy.c \
82 parseint.c portset.c quota.c radix.c random.c \
83 ratelimiter.c refcount.c region.c regex.c result.c rwlock.c \
84 safe.c serial.c sha1.c sha2.c sockaddr.c stats.c string.c \
85 strtoul.c symtab.c task.c taskpool.c timer.c \
86 tm.c version.c
88 LIBS = @ISC_OPENSSL_LIBS@ @LIBS@
90 # Note: the order of SUBDIRS is important.
91 # Attempt to disable parallel processing.
92 .NOTPARALLEL:
93 .NO_PARALLEL:
94 SUBDIRS = include unix nls @ISC_THREAD_DIR@ @ISC_ARCH_DIR@
95 TARGETS = timestamp
96 TESTDIRS = @UNITTESTS@
98 @BIND9_MAKE_RULES@
100 safe.@O@: safe.c
101 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} @CCNOOPT@ \
102 -c ${srcdir}/safe.c
104 version.@O@: version.c
105 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
106 -DVERSION=\"${VERSION}\" \
107 -DLIBINTERFACE=${LIBINTERFACE} \
108 -DLIBREVISION=${LIBREVISION} \
109 -DLIBAGE=${LIBAGE} \
110 -c ${srcdir}/version.c
112 libisc.@SA@: ${OBJS} ${SYMTBLOBJS}
113 ${AR} ${ARFLAGS} $@ ${OBJS} ${SYMTBLOBJS}
114 ${RANLIB} $@
116 libisc-nosymtbl.@SA@: ${OBJS}
117 ${AR} ${ARFLAGS} $@ ${OBJS}
118 ${RANLIB} $@
120 libisc.la: ${OBJS} ${SYMTBLOBJS}
121 ${LIBTOOL_MODE_LINK} \
122 ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc.la -rpath ${libdir} \
123 -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
124 ${OBJS} ${SYMTBLOBJS} ${LIBS}
126 libisc-nosymtbl.la: ${OBJS}
127 ${LIBTOOL_MODE_LINK} \
128 ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc-nosymtbl.la -rpath ${libdir} \
129 -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
130 ${OBJS} ${LIBS}
132 timestamp: libisc.@A@ libisc-nosymtbl.@A@
133 touch timestamp
135 installdirs:
136 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
138 install:: timestamp installdirs
139 ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libisc.@A@ ${DESTDIR}${libdir}
141 clean distclean::
142 rm -f libisc.@A@ libisc-nosymtbl.@A@ libisc.la \
143 libisc-nosymtbl.la timestamp