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