Alien-SVN
view release on metacpan or search on metacpan
src/subversion/build/generator/templates/build_zlib.ezt view on Meta::CPAN
[define COPYRIGHT]
#
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
#
[end]@echo off
@rem **************************************************************************
@rem * --== WARNING ==-- This is a generated file. Do not edit!
@rem *
@rem * From this directory, run this batch file like so:
@rem *
@rem * .\build_zlib debug|release Win32|X64 [rebuild|clean]
@rem *
@rem **************************************************************************
@rem **************************************************************************
cd /D [zlib_path]
set exitcode=0
set zlib_version=[zlib_version]
if /i "%1" == "release" goto release
if /i "%1" == "debug" goto debug
goto pIerr
:checkplatform
if /i "%2" == "Win32" goto PWin32
if /i "%2" == "x64" goto PX64
goto pIIerr
:checkrebuild
[if-any use_ml]
@rem **************************************************************************
@rem Compile ASM sources with ML
set ASFLAGS=-nologo -Zi -coff
set LOC=-DASMV -DASMINF
[is zlib_version "1.2.4"]
set OBJA=contrib\masmx86\gvmat32c.obj contrib\masmx86\gvmat32.obj contrib\masmx86\inffas32.obj
set ASM_OPTS=ASFLAGS="%ASFLAGS%" LOC="%LOC%" OBJA="%OBJA%"
[else]
if /i "%2" == "Win32" (
set ASM_OPTS=LOC="-DASMV -DASMINF" OBJA="inffas32.obj match686.obj" "AS=ml -safeseh"
) else if /i "%2" == "x64" (
set ASM_OPTS=LOC="-DASMV -DASMINF" OBJA="inffasx64.obj gvmat64.obj inffas8664.obj" AS=ml64
)
[end]
[end]
if /i "%3" == "rebuild" goto rebuild
if /i "%3" == "clean" goto clean
if not "%3" == "" goto pIIIerr
set target= %STATICLIB%
goto build
:rebuild
set target=clean %STATICLIB%
goto build
:clean
set target=clean
goto build
@rem **************************************************************************
:release
set STATICLIB=zlibstat.lib
set CC_OPTS=/MD /O2 /Zi
goto checkplatform
( run in 3.054 seconds using v1.01-cache-2.11-cpan-140bd7fdf52 )