]> git.saurik.com Git - wxWidgets.git/blame - src/jpeg/makefile.wat
Add wxRTTI to generic wxDirDialog.
[wxWidgets.git] / src / jpeg / makefile.wat
CommitLineData
f6bcfd97
BP
1#!/binb/wmake.exe
2#
3# File: makefile.wat
4# Author: Julian Smart
5# Created: 1998
6#
7# Makefile : Builds JPEG library for Watcom C++, WIN32
dc1efb1d 8
f6bcfd97
BP
9WXDIR = ..\..
10EXTRACPPFLAGS=-i=..\zlib
dc1efb1d 11
f6bcfd97 12!include $(WXDIR)\src\makewat.env
dc1efb1d 13
f6bcfd97 14WXLIB = $(WXDIR)\lib
dc1efb1d 15
a0499e2f 16LIBTARGET = $(WXLIB)\jpeg$(WATCOM_SUFFIX).lib
dc1efb1d 17
dc1efb1d 18# library object files common to compression and decompression
a0499e2f
VZ
19COMOBJECTS = &
20 $(OUTPUTDIR)jcomapi.obj &
21 $(OUTPUTDIR)jutils.obj &
22 $(OUTPUTDIR)jerror.obj &
23 $(OUTPUTDIR)jmemmgr.obj &
24 $(OUTPUTDIR)jmemnobs.obj
25
dc1efb1d 26# compression library object files
a0499e2f
VZ
27CLIBOBJECTS = &
28 $(OUTPUTDIR)jcapimin.obj &
29 $(OUTPUTDIR)jcapistd.obj &
30 $(OUTPUTDIR)jctrans.obj &
31 $(OUTPUTDIR)jcparam.obj &
32 $(OUTPUTDIR)jdatadst.obj &
33 $(OUTPUTDIR)jcinit.obj &
34 $(OUTPUTDIR)jcmaster.obj &
35 $(OUTPUTDIR)jcmarker.obj &
36 $(OUTPUTDIR)jcmainct.obj &
37 $(OUTPUTDIR)jcprepct.obj &
38 $(OUTPUTDIR)jccoefct.obj &
39 $(OUTPUTDIR)jccolor.obj &
40 $(OUTPUTDIR)jcsample.obj &
41 $(OUTPUTDIR)jchuff.obj &
42 $(OUTPUTDIR)jcphuff.obj &
43 $(OUTPUTDIR)jcdctmgr.obj &
44 $(OUTPUTDIR)jfdctfst.obj &
45 $(OUTPUTDIR)jfdctflt.obj &
46 $(OUTPUTDIR)jfdctint.obj
47
dc1efb1d 48# decompression library object files
a0499e2f
VZ
49DLIBOBJECTS = &
50 $(OUTPUTDIR)jdapimin.obj &
51 $(OUTPUTDIR)jdapistd.obj &
52 $(OUTPUTDIR)jdtrans.obj &
53 $(OUTPUTDIR)jdatasrc.obj &
54 $(OUTPUTDIR)jdmaster.obj &
55 $(OUTPUTDIR)jdinput.obj &
56 $(OUTPUTDIR)jdmarker.obj &
57 $(OUTPUTDIR)jdhuff.obj &
58 $(OUTPUTDIR)jdphuff.obj &
59 $(OUTPUTDIR)jdmainct.obj &
60 $(OUTPUTDIR)jdcoefct.obj &
61 $(OUTPUTDIR)jdpostct.obj &
62 $(OUTPUTDIR)jddctmgr.obj &
63 $(OUTPUTDIR)jidctfst.obj &
64 $(OUTPUTDIR)jidctflt.obj &
65 $(OUTPUTDIR)jidctint.obj &
66 $(OUTPUTDIR)jidctred.obj &
67 $(OUTPUTDIR)jdsample.obj &
68 $(OUTPUTDIR)jdcolor.obj &
69 $(OUTPUTDIR)jquant1.obj &
70 $(OUTPUTDIR)jquant2.obj &
71 $(OUTPUTDIR)jdmerge.obj
72
dc1efb1d 73# These objectfiles are included in libjpeg.lib
a0499e2f
VZ
74OBJECTS = $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
75
76all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
77
78$(OUTPUTDIR):
79 @if not exist $^@ mkdir $^@
dc1efb1d 80
a0499e2f 81LBCFILE=$(OUTPUTDIR)jpeg.lbc
f6bcfd97 82$(LIBTARGET) : $(OBJECTS)
a0499e2f
VZ
83 %create $(LBCFILE)
84 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
85 wlib /q /b /c /n /p=512 $^@ @$(LBCFILE)
dc1efb1d 86
a0499e2f
VZ
87clean: .SYMBOLIC
88 -erase $(OUTPUTDIR)*.obj
f6bcfd97 89 -erase $(LIBTARGET)
a0499e2f
VZ
90 -erase $(OUTPUTDIR)*.pch
91 -erase $(OUTPUTDIR)*.err
92 -erase $(OUTPUTDIR)*.lbc
dc1efb1d 93
f6bcfd97 94cleanall: clean
dc1efb1d 95