]> git.saurik.com Git - wxWidgets.git/blame - src/zlib/makefile.wat
Applied patch [ 619386 ] uxtheme.dll support
[wxWidgets.git] / src / zlib / makefile.wat
CommitLineData
a0499e2f
VZ
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$
ddea7eb6
CE
7# Copyright: (c) 2003 Vadim Zeitlin
8# Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
a0499e2f
VZ
9# Licence: wxWindows licence
10##############################################################################
c801d85f 11
a0499e2f 12WXDIR = ..\..
ddea7eb6 13OUTPUTDIR=watcom
c801d85f 14
a0499e2f 15!include $(WXDIR)\src\makewat.env
c801d85f 16
a0499e2f 17LIBTARGET=$(WXDIR)\lib\zlib$(WATCOM_SUFFIX).lib
c801d85f
KB
18
19# variables
a0499e2f 20OBJECTS = &
ddea7eb6
CE
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
c801d85f 35
8a2c6ef8
JS
36# all: test
37
a0499e2f 38all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
c801d85f 39
a0499e2f
VZ
40$(OUTPUTDIR):
41 @if not exist $^@ mkdir $^@
c801d85f 42
ddea7eb6 43LBCFILE=$(OUTPUTDIR)\zlib.lbc
2796d5da 44$(LIBTARGET) : $(OBJECTS)
a0499e2f
VZ
45 %create $(LBCFILE)
46 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
47 wlib /q /b /c /n /p=512 $^@ @$(LBCFILE)
c801d85f 48
a3ef5bf5 49clean: .SYMBOLIC
c801d85f
KB
50 -erase *.obj
51 -erase *.exe
a0499e2f 52 -erase $(LIBTARGET)
ddea7eb6 53