3 rem Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
4 rem Copyright (C) 2001-2002 Internet Software Consortium.
6 rem Permission to use, copy, modify, and distribute this software for any
7 rem purpose with or without fee is hereby granted, provided that the above
8 rem copyright notice and this permission notice appear in all copies.
10 rem THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
11 rem REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12 rem AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
13 rem INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14 rem LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
15 rem OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16 rem PERFORMANCE OF THIS SOFTWARE.
19 rem This script sets up the files necessary ready to build BIND 9
20 rem and then builds all of the binaries that make up the installation kit.
21 rem This requires perl to be installed on the system.
24 rem OpenSSL is a prerequisite for building and running this release of
25 rem BIND 9. You must fetch the OpenSSL sources yourself from
26 rem http://www.OpenSSL.org/ and compile it yourself. The code must reside
27 rem at the same level as the bind 9.2.0 source tree and it's top-level
28 rem directory be named openssl-0.9.6k. This restriction will be lifted in
29 rem a future release of BIND 9 for Windows NT/2000/XP.
31 echo Setting up the BIND
files required
for the build
36 echo Build all of the Library
files
41 nmake
/nologo
-f libisc.mak CFG
="libisc - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
45 nmake
/nologo
-f libdns.mak CFG
="libdns - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
49 nmake
/nologo
-f libisccfg.mak CFG
="libisccfg - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
53 nmake
/nologo
-f libisccc.mak CFG
="libisccc - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
57 nmake
/nologo
-f libbind9.mak CFG
="libbind9 - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
61 nmake
/nologo
-f liblwres.mak CFG
="liblwres - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
65 nmake
/nologo
-f libirs.mak CFG
="libirs - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
70 nmake
/nologo
-f libtests.mak CFG
="libtests - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
76 nmake
/nologo
-f resolve.mak CFG
="resolve - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
77 nmake
/nologo
-f async.mak CFG
="async - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
78 nmake
/nologo
-f gai.mak CFG
="gai - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
79 nmake
/nologo
-f update.mak CFG
="update - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
80 nmake
/nologo
-f request.mak CFG
="request - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
81 nmake
/nologo
-f nsprobe.mak CFG
="nsprobe - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
85 rem This is the DLL required for the event Viewer
88 nmake
/nologo
-f bindevt.mak CFG
="bindevt - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
93 echo Now build the apps
98 nmake
/nologo
-f named.mak CFG
="named - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
103 nmake
/nologo
-f rndc.mak CFG
="rndc - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
108 nmake
/nologo
-f rndcconfgen.mak CFG
="rndcconfgen - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
109 nmake
/nologo
-f ddnsconfgen.mak CFG
="ddnsconfgen - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
114 nmake
/nologo
-f dig.mak CFG
="dig - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
115 nmake
/nologo
/nologo
-f host.mak CFG
="host - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
116 nmake
/nologo
-f nslookup.mak CFG
="nslookup - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
120 nmake
/nologo
-f delv.mak CFG
="delv - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
124 nmake
/nologo
-f nsupdate.mak CFG
="nsupdate - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
128 nmake
/nologo
-f checkconf.mak CFG
="checkconf - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
129 nmake
/nologo
-f checkzone.mak CFG
="checkzone - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
133 nmake
/nologo
-f keygen.mak CFG
="keygen - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
134 nmake
/nologo
-f signzone.mak CFG
="signzone - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
135 nmake
/nologo
-f dsfromkey.mak CFG
="dsfromkey - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
136 nmake
/nologo
-f keyfromlabel.mak CFG
="keyfromlabel - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
137 nmake
/nologo
-f revoke.mak CFG
="revoke - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
138 nmake
/nologo
-f settime.mak CFG
="settime - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
139 nmake
/nologo
-f
verify.mak CFG
="verify - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
140 nmake
/nologo
-f importkey.mak CFG
="importkey - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
145 nmake
/nologo
-f pk11keygen.mak CFG
="pk11keygen - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
146 nmake
/nologo
-f pk11list.mak CFG
="pk11list - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
147 nmake
/nologo
-f pk11destroy.mak CFG
="pk11destroy - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
148 nmake
/nologo
-f pk11tokens.mak CFG
="pk11tokens - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
153 nmake
/nologo
-f arpaname.mak CFG
="arpaname - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
154 nmake
/nologo
-f genrandom.mak CFG
="genrandom - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
155 nmake
/nologo
-f nsec3hash.mak CFG
="nsec3hash - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
156 nmake
/nologo
-f journalprint.mak CFG
="journalprint - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
157 nmake
/nologo
-f ischmacfixup.mak CFG
="ischmacfixup - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
158 nmake
/nologo
-f rrchecker.mak CFG
="rrchecker - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
165 nmake
/nologo
-f t_atomic.mak CFG
="t_atomic - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
170 nmake
/nologo
-f t_db.mak CFG
="t_db - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
174 nmake
/nologo
-f t_dst.mak CFG
="t_dst - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
178 nmake
/nologo
-f t_master.mak CFG
="t_master - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
182 nmake
/nologo
-f t_mem.mak CFG
="t_mem - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
186 nmake
/nologo
-f t_hashes.mak CFG
="t_hashes - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
190 nmake
/nologo
-f t_names.mak CFG
="t_names - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
194 nmake
/nologo
-f t_rbt.mak CFG
="t_rbt - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
198 nmake
/nologo
-f t_resolver.mak CFG
="t_resolver - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
202 nmake
/nologo
-f t_sockaddr.mak CFG
="t_sockaddr - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
206 nmake
/nologo
-f t_tasks.mak CFG
="t_tasks - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
210 nmake
/nologo
-f t_timers.mak CFG
="t_timers - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
218 nmake
/nologo
-f backtrace_test.mak CFG
="backtrace_test - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
219 nmake
/nologo
-f inter_test.mak CFG
="inter_test - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
220 nmake
/nologo
-f rwlock_test.mak CFG
="rwlock_test - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
221 nmake
/nologo
-f shutdown_test.mak CFG
="shutdown_test - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
222 nmake
/nologo
-f sock_test.mak CFG
="sock_test - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
223 nmake
/nologo
-f task_test.mak CFG
="task_test - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
224 nmake
/nologo
-f timer_test.mak CFG
="timer_test - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"
228 rem This is the BIND 9 Installer
231 nmake
/nologo
-f BINDInstall.mak CFG
="BINDInstall - @PLATFORM@ Release" NO_EXTERNAL_DEPS
="1"