Changeset a2809dc in rtems


Ignore:
Timestamp:
Mar 29, 2010, 3:51:22 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
b1b07f1a
Parents:
f9be936
Message:

Import from zlib-1.2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/zlib/win32/Makefile.msc

    rf9be936 ra2809dc  
    33#
    44# Usage:
    5 #   nmake -f win32/Makefile.msc            (standard build)
    6 #   nmake -f win32/Makefile.msc LOC=-DFOO  (nonstandard build)
    7 #   nmake -f win32/Makefile.msc LOC=-DASMV OBJA=match.obj  (use ASM code)
    8 
     5#   nmake -f win32/Makefile.msc                          (standard build)
     6#   nmake -f win32/Makefile.msc LOC=-DFOO                (nonstandard build)
     7#   nmake -f win32/Makefile.msc LOC="-DASMV -DASMINF" \
     8#         OBJA="inffas32.obj match686.obj"               (use ASM code, x86)
     9#   nmake -f win32/Makefile.msc AS=ml64 LOC="-DASMV -DASMINF" \
     10#         OBJA="inffasx64.obj gvmat64.obj inffas8664.c"  (use ASM code, x64)
    911
    1012# optional build flags
    1113LOC =
    12 
    1314
    1415# variables
     
    2425CFLAGS  = -nologo -MD -W3 -O2 -Oy- -Zi -Fd"zlib" $(LOC)
    2526WFLAGS  = -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
    26 ASFLAGS = -coff -Zi
     27ASFLAGS = -coff -Zi $(LOC)
    2728LDFLAGS = -nologo -debug -incremental:no -opt:ref
    2829ARFLAGS = -nologo
     
    3031
    3132OBJS = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj \
    32        gzwrite.obj infback.obj inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj
     33       gzwrite.obj infback.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj
    3334OBJA =
    3435
     
    7273        $(CC) -c $(WFLAGS) $(CFLAGS) $<
    7374
    74 .asm.obj:
     75{contrib/masmx64}.c.obj:
     76        $(CC) -c $(WFLAGS) $(CFLAGS) $<
     77
     78{contrib/masmx64}.asm.obj:
     79        $(AS) -c $(ASFLAGS) $<
     80
     81{contrib/masmx86}.asm.obj:
    7582        $(AS) -c $(ASFLAGS) $<
    7683
     
    108115zutil.obj: zutil.c zutil.h zlib.h zconf.h
    109116
     117gvmat64.obj: contrib\masmx64\gvmat64.asm
     118
     119inffasx64.obj: contrib\masmx64\inffasx64.asm
     120
     121inffas8664.obj: contrib\masmx64\inffas8664.c zutil.h zlib.h zconf.h \
     122                inftrees.h inflate.h inffast.h
     123
     124inffas32.obj: contrib\masmx86\inffas32.asm
     125
     126match686.obj: contrib\masmx86\match686.asm
     127
    110128example.obj: example.c zlib.h zconf.h
    111129
Note: See TracChangeset for help on using the changeset viewer.