Archive-Unzip-Burst

 view release on metacpan or  search on metacpan

unzip-6.0/win32/Makefile  view on Meta::CPAN

# NMAKE Makefile for Windows NT/2K/XP/... and Windows 95/98/Me
#   D. Feinleib 7/92 <t-davefe@microsoft.com>
#   H. Gessau 9/93 <henryg@kullmar.kullmar.se>
#   J. Lee 8/95 (johnnyl@microsoft.com)
#   C. Spieler 03/99
#
# Last revised:  06 Jan 2009
#
# Tested with VC++ 2.0 for NT for MIPS and Alpha, Visual C++ 2.2 for Intel CPUs
# Revision tested with VC++ 5.0, 6.0, 8.0 and 9.0 for Intel CPUs
#
# Option switches
# (specify OPTFLAG as "OPTFLAG={1|0}" on the nmake command line)
#   USEBZ2DLL=1         : bzip2 support, link against externally supplied dll
#   USEBZ2STAT=1        : bzip2 support by static library created during build
#   USEBZ2=1            : alias for USEBZ2STAT=1
#
#   USEZLIBDLL=1        : replace built-in inflate by external zlib dll
#   USEZLIBSTAT=1       : replace built-in inflate by external zlib static lib
#   USEZLIB=1           : alias for USEZLIBSTAT=1
#
#   USE_DLLRUNTIME      : link executables against C runtime dll
#                         (default: executables are linked against static lib)
#                         USEBZ2DLL or USEZLIBDLL imply USE_DLLRUNTIME !
#   DLLSTANDALONE       : unzip32.dll is linked against static MT runtime lib
#                         (default: unzip32.dll linked against C runtime dll)
#
#   USE_UTF8            : =0 no unicode names support
#                         =1 force recognition of UTF8 extra fields and
#                            "UTF8 name" attrib (default)
#
#   USEASM              : use assembler code for crc32 function (default)
#   NOASM               : use C implementation for crc32 function
#   USEMASM             : use MS macro assembler (MASM) to assemble crc32 code
#   USEML               : use MS macro assembler (ML driver) to create crc32
#                         (default: use C inline assembler code for crc32)
#
#   NOCRC_OPT=1         : disable "unfolding CRC tables" optimization
#
#   USEIZTIMEZONE       : =0 (default) timezone setup by built-in C RTL
#                         =1 apply InfoZip replacement code for timezone setup
#                            (recognizes extended syntax when timezone setup
#                            is overridden by environment variable)

# Nmake macros for building Win32 applications
# To build with debug info use 'nmake debug=1'
!IFNDEF debug
NODEBUG=1
!ENDIF

!ifdef NOASM
APPLY_ASMCRC=0
!else
!ifdef USEASM
APPLY_ASMCRC=1
!endif
!endif

# Options to decide whether using zlib as decompression library.
# Specify USEZLIBDLL or USEZLIBSTAT to replace UnZip's built-in inflation code
# by the inflate service of the zlib library.
# (The option USEZLIB is currently set as a synonym for USEZLIBSTAT.)
!if defined(USEZLIBSTAT) || defined(USEZLIBDLL)
USEZLIB=1
!endif

!ifdef USEZLIB
!if defined(USEZLIBSTAT) && defined(USEZLIBDLL)
!ERROR Conflicting options USEZLIBSTAT and USEZLIBDLL requested!
!endif
# Set static zlib linkage as default in case nothing is specified.
!if !defined(USEZLIBSTAT) && !defined(USEZLIBDLL)
USEZLIBSTAT=1
!endif
!undef USEASM
APPLY_ASMCRC=0
NOCRC_OPT=1
ZLIBLIB=zlib.lib
ZLIBLIBDLL=zdll.lib
!else # !USEZLIB
ZLIBLIB=
ZLIBLIBDLL=
!endif # ?USEZLIB


# Options to include optional support for bzip2 decompression
!if defined(USEBZ2STAT) || defined(USEBZ2DLL)
USEBZ2=1



( run in 0.924 second using v1.01-cache-2.11-cpan-5a3173703d6 )