]> git.saurik.com Git - wxWidgets.git/blob - src/zlib/makefile.wat
Applied patch [ 735304 ] wxDisplay::ChangeMode - does not resize full-screen windows
[wxWidgets.git] / src / zlib / makefile.wat
1 ##############################################################################
2 # Name: src/zlib/makefile.wat
3 # Purpose: build zlib using Watcom 11.0+ compiler
4 # Author: Vadim Zeitlin
5 # Created: 21.01.03
6 # RCS-ID: $Id$
7 # Copyright: (c) 2003 Vadim Zeitlin
8 # Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
9 # Licence: wxWindows licence
10 ##############################################################################
11
12 WXDIR = ..\..
13 OUTPUTDIR=watcom
14
15 !include $(WXDIR)\src\makewat.env
16
17 LIBTARGET=$(WXDIR)\lib\zlib$(WATCOM_SUFFIX).lib
18
19 # variables
20 OBJECTS = &
21 $(OUTPUTDIR)\adler32.obj &
22 $(OUTPUTDIR)\compress.obj &
23 $(OUTPUTDIR)\crc32.obj &
24 $(OUTPUTDIR)\gzio.obj &
25 $(OUTPUTDIR)\uncompr.obj &
26 $(OUTPUTDIR)\deflate.obj &
27 $(OUTPUTDIR)\trees.obj &
28 $(OUTPUTDIR)\zutil.obj &
29 $(OUTPUTDIR)\inflate.obj &
30 $(OUTPUTDIR)\infblock.obj &
31 $(OUTPUTDIR)\inftrees.obj &
32 $(OUTPUTDIR)\infcodes.obj &
33 $(OUTPUTDIR)\infutil.obj &
34 $(OUTPUTDIR)\inffast.obj
35
36 # all: test
37
38 all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
39
40 $(OUTPUTDIR):
41 @if not exist $^@ mkdir $^@
42
43 LBCFILE=$(OUTPUTDIR)\zlib.lbc
44 $(LIBTARGET) : $(OBJECTS)
45 %create $(LBCFILE)
46 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
47 wlib /q /b /c /n /p=512 $^@ @$(LBCFILE)
48
49 clean: .SYMBOLIC
50 -erase *.obj
51 -erase *.exe
52 -erase $(LIBTARGET)
53