]> git.saurik.com Git - wxWidgets.git/blob - src/jpeg/makefile.wat
Now scaling doesn't scale GetTextExtent() anymore. This
[wxWidgets.git] / src / jpeg / makefile.wat
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
8
9 WXDIR = ..\..
10 EXTRACPPFLAGS=-i=..\zlib
11
12 !include $(WXDIR)\src\makewat.env
13
14 WXLIB = $(WXDIR)\lib
15
16 LIBTARGET = $(WXLIB)\jpeg$(WATCOM_SUFFIX).lib
17
18 # library object files common to compression and decompression
19 COMOBJECTS = &
20 $(OUTPUTDIR)jcomapi.obj &
21 $(OUTPUTDIR)jutils.obj &
22 $(OUTPUTDIR)jerror.obj &
23 $(OUTPUTDIR)jmemmgr.obj &
24 $(OUTPUTDIR)jmemnobs.obj
25
26 # compression library object files
27 CLIBOBJECTS = &
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
48 # decompression library object files
49 DLIBOBJECTS = &
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
73 # These objectfiles are included in libjpeg.lib
74 OBJECTS = $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
75
76 all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
77
78 $(OUTPUTDIR):
79 @if not exist $^@ mkdir $^@
80
81 LBCFILE=$(OUTPUTDIR)jpeg.lbc
82 $(LIBTARGET) : $(OBJECTS)
83 %create $(LBCFILE)
84 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
85 wlib /q /b /c /n /p=512 $^@ @$(LBCFILE)
86
87 clean: .SYMBOLIC
88 -erase $(OUTPUTDIR)*.obj
89 -erase $(LIBTARGET)
90 -erase $(OUTPUTDIR)*.pch
91 -erase $(OUTPUTDIR)*.err
92 -erase $(OUTPUTDIR)*.lbc
93
94 cleanall: clean
95