summaryrefslogtreecommitdiff
path: root/win32utils
diff options
context:
space:
mode:
authorInternet Software Consortium, Inc <@isc.org>2007-11-15 21:13:31 -0700
committerLaMont Jones <lamont@debian.org>2007-11-15 21:13:31 -0700
commit14844197c23f37b19e272cb34cb6f0f862598d36 (patch)
treed12bb00afd217ab6cfcc1aa9d2754ef8a693f69b /win32utils
parent10df5197b0b46b9f8e34b3855e9373c00c63b5a9 (diff)
downloadbind9-14844197c23f37b19e272cb34cb6f0f862598d36.tar.gz
9.5.0a7
Diffstat (limited to 'win32utils')
-rw-r--r--win32utils/BuildAll.bat15
-rw-r--r--win32utils/BuildOpenSSL.bat26
-rw-r--r--win32utils/BuildSetup.bat31
-rw-r--r--win32utils/updateopenssl.pl4
4 files changed, 53 insertions, 23 deletions
diff --git a/win32utils/BuildAll.bat b/win32utils/BuildAll.bat
index 024d8fc1..36b87cfb 100644
--- a/win32utils/BuildAll.bat
+++ b/win32utils/BuildAll.bat
@@ -30,9 +30,6 @@ rem a future release of BIND 9 for Windows NT/2000/XP.
echo Setting up the BIND files required for the build
-rem Get and update for the latest build of the openssl library
-perl updateopenssl.pl
-
rem Setup the files
call BuildSetup.bat
@@ -79,33 +76,27 @@ cd bin
cd named\win32
nmake /nologo -f named.mak CFG="named - Win32 Release" NO_EXTERNAL_DEPS="1"
-copy ..\named.html ..\..\..\Build\Release
cd ..\..
cd rndc\win32
nmake /nologo -f rndc.mak CFG="rndc - Win32 Release" NO_EXTERNAL_DEPS="1"
nmake /nologo -f confgen.mak CFG="rndcconfgen - Win32 Release" NO_EXTERNAL_DEPS="1"
-copy ..\*.html ..\..\..\Build\Release
cd ..\..
cd dig\win32
nmake /nologo -f dig.mak CFG="dig - Win32 Release" NO_EXTERNAL_DEPS="1"
nmake /nologo /nologo -f host.mak CFG="host - Win32 Release" NO_EXTERNAL_DEPS="1"
nmake /nologo -f nslookup.mak CFG="nslookup - Win32 Release" NO_EXTERNAL_DEPS="1"
-copy ..\*.html ..\..\..\Build\Release
cd ..\..
cd nsupdate\win32
nmake /nologo -f nsupdate.mak CFG="nsupdate - Win32 Release" NO_EXTERNAL_DEPS="1"
-copy ..\*.html ..\..\..\Build\Release
cd ..\..
cd check\win32
nmake /nologo -f namedcheckconf.mak CFG="namedcheckconf - Win32 Release" NO_EXTERNAL_DEPS="1"
nmake /nologo -f namedcheckzone.mak CFG="namedcheckzone - Win32 Release" NO_EXTERNAL_DEPS="1"
-copy /Y ..\..\..\Build\Release\named-checkzone.exe ..\..\..\Build\Release\named-compilezone.exe
-copy ..\*.html ..\..\..\Build\Release
cd ..\..
cd dnssec\win32
@@ -113,9 +104,6 @@ nmake /nologo -f keygen.mak CFG="keygen - Win32 Release" NO_EXTERNAL_DEPS="1"
rem nmake /nologo -f makekeyset.mak CFG="makekeyset - Win32 Release" NO_EXTERNAL_DEPS="1"
rem nmake /nologo -f signkey.mak CFG="signkey - Win32 Release" NO_EXTERNAL_DEPS="1"
nmake /nologo -f signzone.mak CFG="signzone - Win32 Release" NO_EXTERNAL_DEPS="1"
-rem copy ..\*.html ..\..\..\Build\Release
-copy ..\dnssec-keygen.html ..\..\..\Build\Release
-copy ..\dnssec-signzone.html ..\..\..\Build\Release
cd ..\..
rem This is the BIND 9 Installer
@@ -128,8 +116,7 @@ cd ..
cd win32utils
-copy ..\doc\misc\migration ..\Build\Release
-copy ..\doc\misc\migration-4to9 ..\Build\Release
+call BuildPost.bat
echo Done.
diff --git a/win32utils/BuildOpenSSL.bat b/win32utils/BuildOpenSSL.bat
new file mode 100644
index 00000000..7d597f32
--- /dev/null
+++ b/win32utils/BuildOpenSSL.bat
@@ -0,0 +1,26 @@
+echo off
+rem
+rem Copyright (C) 2007 Internet Systems Consortium, Inc. ("ISC")
+rem
+rem Permission to use, copy, modify, and distribute this software for any
+rem purpose with or without fee is hereby granted, provided that the above
+rem copyright notice and this permission notice appear in all copies.
+rem
+rem THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
+rem REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+rem AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
+rem INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+rem LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+rem OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+rem PERFORMANCE OF THIS SOFTWARE.
+
+rem BuildOpenSSL.bat
+rem This script copys the OpenSSL dlls into place.
+rem This script may be modified by updateopenssl.pl.
+
+echo Copying the OpenSSL DLL.
+
+copy ..\..\openssl-0.9.8d\out32dll\libeay32.dll ..\Build\Release\
+copy ..\..\openssl-0.9.8d\out32dll\libeay32.dll ..\Build\Debug\
+
+rem Done
diff --git a/win32utils/BuildSetup.bat b/win32utils/BuildSetup.bat
index e0a7dd67..6d042e11 100644
--- a/win32utils/BuildSetup.bat
+++ b/win32utils/BuildSetup.bat
@@ -19,6 +19,9 @@ rem BuildSetup.bat
rem This script sets up the files necessary ready to build BIND 9.
rem This requires perl to be installed on the system.
+rem Get and update for the latest build of the openssl library
+perl updateopenssl.pl
+
rem Set up the configuration file
cd ..
copy config.h.win32 config.h
@@ -31,10 +34,6 @@ rem Generate header files for lib/dns
call dnsheadergen.bat
-echo Ensure that the OpenSSL sources are at the same level in
-echo the directory tree and is named openssl-0.9.8d or libdns
-echo will not build.
-
rem Make sure that the Build directories are there.
if NOT Exist ..\Build mkdir ..\Build
@@ -52,10 +51,22 @@ copy ..\doc\arm\Bv9ARM.pdf ..\Build\Release
copy ..\CHANGES ..\Build\Release
copy ..\FAQ ..\Build\Release
-echo Copying the OpenSSL DLL.
+echo Copying the standalone manual pages.
+
+copy ..\bin\named\named.html ..\Build\Release
+copy ..\bin\rndc\*.html ..\Build\Release
+copy ..\bin\dig\*.html ..\Build\Release
+copy ..\bin\nsupdate\*.html ..\Build\Release
+copy ..\bin\check\*.html ..\Build\Release
+copy ..\bin\dnssec\dnssec-keygen.html ..\Build\Release
+copy ..\bin\dnssec\dnssec-signzone.html ..\Build\Release
+
+echo Copying the migration notes.
-copy ..\..\openssl-0.9.8d\out32dll\libeay32.dll ..\Build\Release\
-copy ..\..\openssl-0.9.8d\out32dll\libeay32.dll ..\Build\Debug\
+copy ..\doc\misc\migration ..\Build\Release
+copy ..\doc\misc\migration-4to9 ..\Build\Release
+
+call BuildOpenSSL.bat
rem
rem set vcredist here so that it is correctly expanded in the if body
@@ -87,4 +98,10 @@ copy /Y "%FrameworkSDKDir%\%vcredist%" ..\Build\Debug\
echo "**** Run vsvars32.bat ****"
)
+echo Running Message Compiler
+
+cd ..\lib\win32\bindevt
+mc bindevt.mc
+cd ..\..\..\win32utils
+
rem Done
diff --git a/win32utils/updateopenssl.pl b/win32utils/updateopenssl.pl
index 4c63982a..6376a740 100644
--- a/win32utils/updateopenssl.pl
+++ b/win32utils/updateopenssl.pl
@@ -14,7 +14,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
-# $Id: updateopenssl.pl,v 1.7 2007/06/19 23:47:24 tbox Exp $
+# $Id: updateopenssl.pl,v 1.8 2007/08/06 04:42:38 marka Exp $
# updateopenssl.pl
# This script locates the latest version of OpenSSL in the grandparent
@@ -25,7 +25,7 @@ $path = "..\\..\\";
# List of files that need to be updated with the actual version of the
# openssl directory
-@filelist = ("BuildSetup.bat",
+@filelist = ("BuildOpenSSL.bat",
"../lib/dns/win32/libdns.mak",
"../lib/dns/win32/libdns.dsp");