Changeset 2789347 in rtems


Ignore:
Timestamp:
Mar 7, 2010, 6:30:35 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
fa21416a
Parents:
bd88f7a
Message:

Import from zlib-1.2.4

File:
1 edited

Legend:

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

    rbd88f7a r2789347  
    1 # Makefile for zlib -- Microsoft (Visual) C
    2 #
    3 # Authors:
    4 #   Cosmin Truta, 11-Mar-2003
    5 #   Christian Spieler, 19-Mar-2003
    6 #
    7 # Last updated:
    8 #   Cosmin Truta, 27-Aug-2003
     1# Makefile for zlib using Microsoft (Visual) C
     2# zlib is copyright (C) 1995-2006 Jean-loup Gailly and Mark Adler
    93#
    104# Usage:
     
    2822AR = lib
    2923RC = rc
    30 CFLAGS  = -nologo -MD -O2 $(LOC)
    31 ASFLAGS = -coff
    32 LDFLAGS = -nologo -release
     24CFLAGS  = -nologo -MD -W3 -O2 -Oy- -Zi -Fd"zlib" $(LOC)
     25WFLAGS  = -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
     26ASFLAGS = -coff -Zi
     27LDFLAGS = -nologo -debug -incremental:no -opt:ref
    3328ARFLAGS = -nologo
    3429RCFLAGS = /dWIN32 /r
    3530
    36 OBJS = adler32.obj compress.obj crc32.obj deflate.obj gzio.obj infback.obj \
    37        inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj
     31OBJS = 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
    3833OBJA =
    3934
     
    5045$(SHAREDLIB): win32/zlib.def $(OBJS) $(OBJA) zlib1.res
    5146        $(LD) $(LDFLAGS) -def:win32/zlib.def -dll -implib:$(IMPLIB) \
    52           -out:$@ $(OBJS) $(OBJA) zlib1.res
     47          -out:$@ -base:0x5A4C0000 $(OBJS) $(OBJA) zlib1.res
     48        if exist $@.manifest \
     49          mt -nologo -manifest $@.manifest -outputresource:$@;2
    5350
    5451example.exe: example.obj $(STATICLIB)
    5552        $(LD) $(LDFLAGS) example.obj $(STATICLIB)
     53        if exist $@.manifest \
     54          mt -nologo -manifest $@.manifest -outputresource:$@;1
    5655
    5756minigzip.exe: minigzip.obj $(STATICLIB)
    5857        $(LD) $(LDFLAGS) minigzip.obj $(STATICLIB)
     58        if exist $@.manifest \
     59          mt -nologo -manifest $@.manifest -outputresource:$@;1
    5960
    6061example_d.exe: example.obj $(IMPLIB)
    6162        $(LD) $(LDFLAGS) -out:$@ example.obj $(IMPLIB)
     63        if exist $@.manifest \
     64          mt -nologo -manifest $@.manifest -outputresource:$@;1
    6265
    6366minigzip_d.exe: minigzip.obj $(IMPLIB)
    6467        $(LD) $(LDFLAGS) -out:$@ minigzip.obj $(IMPLIB)
     68        if exist $@.manifest \
     69          mt -nologo -manifest $@.manifest -outputresource:$@;1
    6570
    6671.c.obj:
    67         $(CC) -c $(CFLAGS) $<
     72        $(CC) -c $(WFLAGS) $(CFLAGS) $<
    6873
    6974.asm.obj:
     
    7883deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
    7984
    80 gzio.obj: gzio.c zutil.h zlib.h zconf.h
     85gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h
     86
     87gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h
     88
     89gzread.obj: gzread.c zlib.h zconf.h gzguts.h
     90
     91gzwrite.obj: gzwrite.c zlib.h zconf.h gzguts.h
    8192
    8293infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \
     
    124135        -del *.exp
    125136        -del *.exe
     137        -del *.pdb
     138        -del *.manifest
    126139        -del foo.gz
Note: See TracChangeset for help on using the changeset viewer.