Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / win32utils / legacy / BuildSetup.bat.in
blob6ad68f7ab62fa8d9fd3aa4e9b90357003f2b125f
1 echo off
2 rem
3 rem Copyright (C) 2004,2005 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 BuildSetup.bat
19 rem This script sets up the files necessary ready to build BIND 9.
20 rem This requires perl to be installed on the system.
22 echo Generate header files for lib/dns
24 cd ..\..\lib\dns
25 cd win32
26 nmake /nologo /f gen.mak CFG="gen - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1"
27 cd ..
28 gen -s . -t > include/dns/enumtype.h
29 gen -s . -c > include/dns/enumclass.h
30 gen -s . -i -P ./rdata/rdatastructpre.h -S ./rdata/rdatastructsuf.h > include/dns/rdatastruct.h
31 gen -s . > code.h
32 cd ..\..\win32utils\legacy
34 rem Make sure that the Build directories are there.
36 if NOT Exist ..\..\Build mkdir ..\..\Build
37 if NOT Exist ..\..\Build\Release mkdir ..\..\Build\Release
38 if NOT Exist ..\..\Build\Debug mkdir ..\..\Build\Debug
40 echo Copying the ARM and the Installation Notes.
42 copy ..\..\COPYRIGHT ..\..\Build\Release
43 copy ..\..\COPYRIGHT ..\..\Build\Debug
44 copy ..\..\README ..\..\Build\Release
45 copy ..\..\HISTORY ..\..\Build\Release
46 copy ..\readme1st.txt ..\..\Build\Release
47 copy ..\index.html ..\..\Build\Release
48 copy ..\..\doc\arm\*.html ..\..\Build\Release
49 copy ..\..\doc\arm\Bv9ARM.pdf ..\..\Build\Release
50 copy ..\..\CHANGES ..\..\Build\Release
51 if Exist ..\CHANGES.SE copy ..\CHANGES.SE ..\Build\Release
52 copy ..\..\FAQ ..\..\Build\Release
54 echo Copying the standalone manual pages.
56 copy ..\..\bin\named\named.html ..\..\Build\Release
57 copy ..\..\bin\rndc\*.html ..\..\Build\Release
58 copy ..\..\bin\confgen\*.html ..\..\Build\Release
59 copy ..\..\bin\dig\*.html ..\..\Build\Release
60 copy ..\..\bin\delv\*.html ..\..\Build\Release
61 copy ..\..\bin\nsupdate\*.html ..\..\Build\Release
62 copy ..\..\bin\check\*.html ..\..\Build\Release
63 copy ..\..\bin\dnssec\dnssec-keygen.html ..\..\Build\Release
64 copy ..\..\bin\dnssec\dnssec-signzone.html ..\..\Build\Release
65 copy ..\..\bin\dnssec\dnssec-dsfromkey.html ..\..\Build\Release
66 copy ..\..\bin\dnssec\dnssec-keyfromlabel.html ..\..\Build\Release
67 copy ..\..\bin\dnssec\dnssec-settime.html ..\..\Build\Release
68 copy ..\..\bin\dnssec\dnssec-revoke.html ..\..\Build\Release
69 copy ..\..\bin\dnssec\dnssec-verify.html ..\..\Build\Release
70 copy ..\..\bin\dnssec\dnssec-importkey.html ..\..\Build\Release
71 @IF PYTHON
72 copy ..\..\bin\python\dnssec-checkds.html ..\..\Build\Release
73 copy ..\..\bin\python\dnssec-coverage.html ..\..\Build\Release
74 @END PYTHON
75 @IF PKCS11
76 copy ..\..\bin\pkcs11\pkcs11-keygen.html ..\..\Build\Release
77 copy ..\..\bin\pkcs11\pkcs11-list.html ..\..\Build\Release
78 copy ..\..\bin\pkcs11\pkcs11-destroy.html ..\..\Build\Release
79 copy ..\..\bin\pkcs11\pkcs11-tokens.html ..\..\Build\Release
80 @END PKCS11
81 copy ..\..\bin\tools\arpaname.html ..\..\Build\Release
82 copy ..\..\bin\tools\genrandom.html ..\..\Build\Release
83 copy ..\..\bin\tools\isc-hmac-fixup.html ..\..\Build\Release
84 copy ..\..\bin\tools\named-journalprint.html ..\..\Build\Release
85 copy ..\..\bin\tools\named-rrchecker.html ..\..\Build\Release
86 copy ..\..\bin\tools\nsec3hash.html ..\..\Build\Release
88 echo Copying the migration notes.
90 copy ..\..\doc\misc\migration ..\..\Build\Release
91 copy ..\..\doc\misc\migration-4to9 ..\..\Build\Release
93 @IF OPENSSL
94 echo Copying the OpenSSL DLL and LICENSE.
96 copy @OPENSSL_DLL@ ..\..\Build\Release\
97 copy @OPENSSL_DLL@ ..\..\Build\Debug\
98 copy @OPENSSL_PATH@\LICENSE ..\..\Build\Release\OpenSSL-LICENSE
99 copy @OPENSSL_PATH@\LICENSE ..\..\Build\Debug\OpenSSL-LICENSE
100 @END OPENSSL
102 @IF LIBXML2
103 echo Copying the libxml DLL.
105 copy @LIBXML2_DLL@ ..\..\Build\Release\
106 copy @LIBXML2_DLL@ ..\..\Build\Debug\
107 @END LIBXML2
109 @IF GSSAPI
110 echo Copying the GSSAPI and KRB5 DLLs.
112 copy @GSSAPI_DLL@ ..\..\Build\Release\
113 copy @GSSAPI_DLL@ ..\..\Build\Debug\
114 copy @KRB5_DLL@ ..\..\Build\Release\
115 copy @KRB5_DLL@ ..\..\Build\Debug\
116 copy @COMERR_DLL@ ..\..\Build\Release\
117 copy @COMERR_DLL@ ..\..\Build\Debug\
118 copy @K5SPRT_DLL@ ..\..\Build\Release\
119 copy @K5SPRT_DLL@ ..\..\Build\Debug\
120 copy @WSHELP_DLL@ ..\..\Build\Release\
121 copy @WSHELP_DLL@ ..\..\Build\Debug\
122 @END GSSAPI
124 @IF GEOIP
125 echo Copying the GeoIP DLL.
127 copy @GEOIP_DLL@ ..\..\Build\Release\
128 copy @GEOIP_DLL@ ..\..\Build\Debug\
129 @END GEOIP
131 @IF IDNKIT
132 echo Copying the IDN kit DLL.
134 copy @IDN_DLL@ ..\Build\Release\
135 copy @IDN_DLL@ ..\Build\Debug\
136 copy @ICONV_DLL@ ..\Build\Release\
137 copy @ICONV_DLL@ ..\Build\Debug\
138 @END IDNKIT
140 echo Copying the redistributable runtime object.
143 rem Use /Y so we always have the current version of the installer.
146 copy /Y @VCREDIST_PATH@ ..\..\Build\Release\
147 copy /Y @VCREDIST_PATH@ ..\..\Build\Debug\
149 @IF TESTS
150 cd ..\..\bin\tests\dst
151 copy "Kdh.+002+18602.key.in" "Kdh.+002+18602.key"
152 copy "Kdh.+002+18602.private.in" "Kdh.+002+18602.private"
153 copy "Kdh.+002+48957.key.in" "Kdh.+002+48957.key"
154 copy "Kdh.+002+48957.private.in" "Kdh.+002+48957.private"
155 copy "Ktest.+001+00002.key.in" "Ktest.+001+00002.key"
156 copy "Ktest.+001+54622.key.in" "Ktest.+001+54622.key"
157 copy "Ktest.+001+54622.private.in" "Ktest.+001+54622.private"
158 copy "Ktest.+003+23616.key.in" "Ktest.+003+23616.key"
159 copy "Ktest.+003+23616.private.in" "Ktest.+003+23616.private"
160 copy "Ktest.+003+49667.key.in" "Ktest.+003+49667.key"
161 copy dst_2_data.in dst_2_data
162 copy t2_data_1.in t2_data_1
163 copy t2_data_2.in t2_data_2
164 copy t2_dsasig.in t2_dsasig
165 copy t2_rsasig.in t2_rsasig
166 cd ..\..\..\win32utils\legacy
167 @END TESTS
169 echo Running Message Compiler
171 cd ..\..\lib\win32\bindevt
172 mc bindevt.mc
173 cd ..\..\..\win32utils\legacy
175 rem Done