etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / win32utils / legacy / BuildAll.bat.in
blobc559c7f19e78b19bbb2a66b7605632505b1b851b
1 echo off
2 rem
3 rem Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
4 rem Copyright (C) 2001-2002 Internet Software Consortium.
5 rem
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.
9 rem
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.
18 rem BuildAll.bat
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.
23 rem IMPORTANT NOTE:
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
33 rem Setup the files
34 call BuildSetup.bat
36 echo Build all of the Library files
38 cd ..\..\lib
40 cd isc\win32
41 nmake /nologo -f libisc.mak CFG="libisc - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
42 cd ..\..
44 cd dns\win32
45 nmake /nologo -f libdns.mak CFG="libdns - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
46 cd ..\..
48 cd isccfg\win32
49 nmake /nologo -f libisccfg.mak CFG="libisccfg - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
50 cd ..\..
52 cd isccc\win32
53 nmake /nologo -f libisccc.mak CFG="libisccc - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
54 cd ..\..
56 cd bind9\win32
57 nmake /nologo -f libbind9.mak CFG="libbind9 - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
58 cd ..\..
60 cd lwres\win32
61 nmake /nologo -f liblwres.mak CFG="liblwres - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
62 cd ..\..
64 cd irs\win32
65 nmake /nologo -f libirs.mak CFG="libirs - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
66 cd ..\..
68 @IF TESTS
69 cd tests\win32
70 nmake /nologo -f libtests.mak CFG="libtests - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
71 cd ..\..
72 @END TESTS
74 @IF SAMPLES
75 cd samples\win32
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"
82 cd ..\..
83 @END SAMPLES
85 rem This is the DLL required for the event Viewer
87 cd win32\bindevt
88 nmake /nologo -f bindevt.mak CFG="bindevt - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
89 cd ..\..
91 cd ..
93 echo Now build the apps
95 cd bin
97 cd named\win32
98 nmake /nologo -f named.mak CFG="named - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
100 cd ..\..
102 cd rndc\win32
103 nmake /nologo -f rndc.mak CFG="rndc - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
105 cd ..\..
107 cd confgen\win32
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"
111 cd ..\..
113 cd dig\win32
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"
117 cd ..\..
119 cd delv\win32
120 nmake /nologo -f delv.mak CFG="delv - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
121 cd ..\..
123 cd nsupdate\win32
124 nmake /nologo -f nsupdate.mak CFG="nsupdate - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
125 cd ..\..
127 cd check\win32
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"
130 cd ..\..
132 cd dnssec\win32
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"
141 cd ..\..
143 @IF PKCS11
144 cd pkcs11\win32
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"
149 cd ..\..
150 @END PKCS11
152 cd tools\win32
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"
159 cd ..\..
161 @IF TESTS
162 cd tests
163 @IF ATOMIC
164 cd atomic\win32
165 nmake /nologo -f t_atomic.mak CFG="t_atomic - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
166 cd ..\..
167 @END ATOMIC
169 cd db\win32
170 nmake /nologo -f t_db.mak CFG="t_db - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
171 cd ..\..
173 cd dst\win32
174 nmake /nologo -f t_dst.mak CFG="t_dst - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
175 cd ..\..
177 cd master\win32
178 nmake /nologo -f t_master.mak CFG="t_master - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
179 cd ..\..
181 cd mem\win32
182 nmake /nologo -f t_mem.mak CFG="t_mem - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
183 cd ..\..
185 cd hashes\win32
186 nmake /nologo -f t_hashes.mak CFG="t_hashes - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
187 cd ..\..
189 cd names\win32
190 nmake /nologo -f t_names.mak CFG="t_names - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
191 cd ..\..
193 cd rbt\win32
194 nmake /nologo -f t_rbt.mak CFG="t_rbt - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
195 cd ..\..
197 cd resolver\win32
198 nmake /nologo -f t_resolver.mak CFG="t_resolver - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
199 cd ..\..
201 cd sockaddr\win32
202 nmake /nologo -f t_sockaddr.mak CFG="t_sockaddr - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
203 cd ..\..
205 cd tasks\win32
206 nmake /nologo -f t_tasks.mak CFG="t_tasks - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
207 cd ..\..
209 cd timers\win32
210 nmake /nologo -f t_timers.mak CFG="t_timers - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
211 cd ..\..
213 cd ..
214 @END TESTS
216 @IF XTESTS
217 cd tests\win32
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"
225 cd ..\..
226 @END XTESTS
228 rem This is the BIND 9 Installer
230 cd win32\BINDInstall
231 nmake /nologo -f BINDInstall.mak CFG="BINDInstall - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
232 cd ..\..
234 cd ..
236 cd win32utils\legacy
238 call BuildPost.bat
240 echo Done.
242 rem exit here.