1 | # Makefile for Independent JPEG Group's software
|
---|
2 |
|
---|
3 | # This makefile is for use with MMS on Digital VMS systems.
|
---|
4 | # Thanks to Rick Dyson (dyson@iowasp.physics.uiowa.edu)
|
---|
5 | # and Tim Bell (tbell@netcom.com) for their help.
|
---|
6 |
|
---|
7 | # Read installation instructions before saying "MMS" !!
|
---|
8 |
|
---|
9 | # You may need to adjust these cc options:
|
---|
10 | CFLAGS= $(CFLAGS) /NoDebug /Optimize
|
---|
11 | # Generally, we recommend defining any configuration symbols in jconfig.h,
|
---|
12 | # NOT via /Define switches here.
|
---|
13 | .ifdef ALPHA
|
---|
14 | OPT=
|
---|
15 | .else
|
---|
16 | OPT= ,Sys$Disk:[]MAKVMS.OPT/Option
|
---|
17 | .endif
|
---|
18 |
|
---|
19 | # Put here the object file name for the correct system-dependent memory
|
---|
20 | # manager file. For Unix this is usually jmemnobs.o, but you may want
|
---|
21 | # to use jmemansi.o or jmemname.o if you have limited swap space.
|
---|
22 | SYSDEPMEM= jmemnobs.obj
|
---|
23 |
|
---|
24 | # End of configurable options.
|
---|
25 |
|
---|
26 |
|
---|
27 | # source files: JPEG library proper
|
---|
28 | LIBSOURCES= jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
|
---|
29 | jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
|
---|
30 | jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \
|
---|
31 | jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \
|
---|
32 | jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \
|
---|
33 | jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \
|
---|
34 | jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c jquant1.c \
|
---|
35 | jquant2.c jutils.c jmemmgr.c
|
---|
36 | # memmgr back ends: compile only one of these into a working library
|
---|
37 | SYSDEPSOURCES= jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c
|
---|
38 | # source files: cjpeg/djpeg/jpegtran applications, also rdjpgcom/wrjpgcom
|
---|
39 | APPSOURCES= cjpeg.c djpeg.c jpegtran.c rdjpgcom.c wrjpgcom.c cdjpeg.c \
|
---|
40 | rdcolmap.c rdswitch.c transupp.c rdppm.c wrppm.c rdgif.c wrgif.c \
|
---|
41 | rdtarga.c wrtarga.c rdbmp.c wrbmp.c rdrle.c wrrle.c
|
---|
42 | SOURCES= $(LIBSOURCES) $(SYSDEPSOURCES) $(APPSOURCES)
|
---|
43 | # files included by source files
|
---|
44 | INCLUDES= jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h jpegint.h \
|
---|
45 | jpeglib.h jversion.h cdjpeg.h cderror.h transupp.h
|
---|
46 | # documentation, test, and support files
|
---|
47 | DOCS= README install.txt usage.txt cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 \
|
---|
48 | wrjpgcom.1 wizard.txt example.c libjpeg.txt structure.txt \
|
---|
49 | coderules.txt filelist.txt change.log
|
---|
50 | MKFILES= configure Makefile.in makefile.ansi makefile.unix makefile.bcc \
|
---|
51 | makefile.mc6 makefile.dj makefile.wat makefile.vc makejdsw.vc6 \
|
---|
52 | makeadsw.vc6 makejdep.vc6 makejdsp.vc6 makejmak.vc6 makecdep.vc6 \
|
---|
53 | makecdsp.vc6 makecmak.vc6 makeddep.vc6 makeddsp.vc6 makedmak.vc6 \
|
---|
54 | maketdep.vc6 maketdsp.vc6 maketmak.vc6 makerdep.vc6 makerdsp.vc6 \
|
---|
55 | makermak.vc6 makewdep.vc6 makewdsp.vc6 makewmak.vc6 makejsln.vc9 \
|
---|
56 | makeasln.vc9 makejvcp.vc9 makecvcp.vc9 makedvcp.vc9 maketvcp.vc9 \
|
---|
57 | makervcp.vc9 makewvcp.vc9 makeproj.mac makcjpeg.st makdjpeg.st \
|
---|
58 | makljpeg.st maktjpeg.st makefile.manx makefile.sas makefile.mms \
|
---|
59 | makefile.vms makvms.opt
|
---|
60 | CONFIGFILES= jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \
|
---|
61 | jconfig.vc jconfig.mac jconfig.st jconfig.manx jconfig.sas \
|
---|
62 | jconfig.vms
|
---|
63 | CONFIGUREFILES= config.guess config.sub install-sh ltmain.sh depcomp missing
|
---|
64 | OTHERFILES= jconfig.txt ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm \
|
---|
65 | libjpeg.map
|
---|
66 | TESTFILES= testorig.jpg testimg.ppm testimg.bmp testimg.jpg testprog.jpg \
|
---|
67 | testimgp.jpg
|
---|
68 | DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \
|
---|
69 | $(CONFIGUREFILES) $(OTHERFILES) $(TESTFILES)
|
---|
70 | # library object files common to compression and decompression
|
---|
71 | COMOBJECTS= jaricom.obj jcomapi.obj jutils.obj jerror.obj jmemmgr.obj $(SYSDEPMEM)
|
---|
72 | # compression library object files
|
---|
73 | CLIBOBJECTS= jcapimin.obj jcapistd.obj jcarith.obj jctrans.obj jcparam.obj \
|
---|
74 | jdatadst.obj jcinit.obj jcmaster.obj jcmarker.obj jcmainct.obj \
|
---|
75 | jcprepct.obj jccoefct.obj jccolor.obj jcsample.obj jchuff.obj \
|
---|
76 | jcdctmgr.obj jfdctfst.obj jfdctflt.obj jfdctint.obj
|
---|
77 | # decompression library object files
|
---|
78 | DLIBOBJECTS= jdapimin.obj jdapistd.obj jdarith.obj jdtrans.obj jdatasrc.obj \
|
---|
79 | jdmaster.obj jdinput.obj jdmarker.obj jdhuff.obj jdmainct.obj \
|
---|
80 | jdcoefct.obj jdpostct.obj jddctmgr.obj jidctfst.obj jidctflt.obj \
|
---|
81 | jidctint.obj jdsample.obj jdcolor.obj jquant1.obj jquant2.obj \
|
---|
82 | jdmerge.obj
|
---|
83 | # These objectfiles are included in libjpeg.olb
|
---|
84 | LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
|
---|
85 | # object files for sample applications (excluding library files)
|
---|
86 | COBJECTS= cjpeg.obj rdppm.obj rdgif.obj rdtarga.obj rdrle.obj rdbmp.obj \
|
---|
87 | rdswitch.obj cdjpeg.obj
|
---|
88 | DOBJECTS= djpeg.obj wrppm.obj wrgif.obj wrtarga.obj wrrle.obj wrbmp.obj \
|
---|
89 | rdcolmap.obj cdjpeg.obj
|
---|
90 | TROBJECTS= jpegtran.obj rdswitch.obj cdjpeg.obj transupp.obj
|
---|
91 | # objectfile lists with commas --- what a crock
|
---|
92 | COBJLIST= cjpeg.obj,rdppm.obj,rdgif.obj,rdtarga.obj,rdrle.obj,rdbmp.obj,\
|
---|
93 | rdswitch.obj,cdjpeg.obj
|
---|
94 | DOBJLIST= djpeg.obj,wrppm.obj,wrgif.obj,wrtarga.obj,wrrle.obj,wrbmp.obj,\
|
---|
95 | rdcolmap.obj,cdjpeg.obj
|
---|
96 | TROBJLIST= jpegtran.obj,rdswitch.obj,cdjpeg.obj,transupp.obj
|
---|
97 | LIBOBJLIST= jaricom.obj,jcapimin.obj,jcapistd.obj,jcarith.obj,jctrans.obj,\
|
---|
98 | jcparam.obj,jdatadst.obj,jcinit.obj,jcmaster.obj,jcmarker.obj,\
|
---|
99 | jcmainct.obj,jcprepct.obj,jccoefct.obj,jccolor.obj,jcsample.obj,\
|
---|
100 | jchuff.obj,jcdctmgr.obj,jfdctfst.obj,jfdctflt.obj,jfdctint.obj,\
|
---|
101 | jdapimin.obj,jdapistd.obj,jdarith.obj,jdtrans.obj,jdatasrc.obj,\
|
---|
102 | jdmaster.obj,jdinput.obj,jdmarker.obj,jdhuff.obj,jdmainct.obj,\
|
---|
103 | jdcoefct.obj,jdpostct.obj,jddctmgr.obj,jidctfst.obj,jidctflt.obj,\
|
---|
104 | jidctint.obj,jdsample.obj,jdcolor.obj,jquant1.obj,jquant2.obj,\
|
---|
105 | jdmerge.obj,jcomapi.obj,jutils.obj,jerror.obj,jmemmgr.obj,$(SYSDEPMEM)
|
---|
106 |
|
---|
107 |
|
---|
108 | .first
|
---|
109 | @- Define /NoLog Sys Sys$Library
|
---|
110 |
|
---|
111 | ALL : libjpeg.olb cjpeg.exe djpeg.exe jpegtran.exe rdjpgcom.exe wrjpgcom.exe
|
---|
112 | @ Continue
|
---|
113 |
|
---|
114 | libjpeg.olb : $(LIBOBJECTS)
|
---|
115 | Library /Create libjpeg.olb $(LIBOBJLIST)
|
---|
116 |
|
---|
117 | cjpeg.exe : $(COBJECTS) libjpeg.olb
|
---|
118 | $(LINK) $(LFLAGS) /Executable = cjpeg.exe $(COBJLIST),libjpeg.olb/Library$(OPT)
|
---|
119 |
|
---|
120 | djpeg.exe : $(DOBJECTS) libjpeg.olb
|
---|
121 | $(LINK) $(LFLAGS) /Executable = djpeg.exe $(DOBJLIST),libjpeg.olb/Library$(OPT)
|
---|
122 |
|
---|
123 | jpegtran.exe : $(TROBJECTS) libjpeg.olb
|
---|
124 | $(LINK) $(LFLAGS) /Executable = jpegtran.exe $(TROBJLIST),libjpeg.olb/Library$(OPT)
|
---|
125 |
|
---|
126 | rdjpgcom.exe : rdjpgcom.obj
|
---|
127 | $(LINK) $(LFLAGS) /Executable = rdjpgcom.exe rdjpgcom.obj$(OPT)
|
---|
128 |
|
---|
129 | wrjpgcom.exe : wrjpgcom.obj
|
---|
130 | $(LINK) $(LFLAGS) /Executable = wrjpgcom.exe wrjpgcom.obj$(OPT)
|
---|
131 |
|
---|
132 | jconfig.h : jconfig.vms
|
---|
133 | @- Copy jconfig.vms jconfig.h
|
---|
134 |
|
---|
135 | clean :
|
---|
136 | @- Set Protection = Owner:RWED *.*;-1
|
---|
137 | @- Set Protection = Owner:RWED *.OBJ
|
---|
138 | - Purge /NoLog /NoConfirm *.*
|
---|
139 | - Delete /NoLog /NoConfirm *.OBJ;
|
---|
140 |
|
---|
141 | test : cjpeg.exe djpeg.exe jpegtran.exe
|
---|
142 | mcr sys$disk:[]djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
|
---|
143 | mcr sys$disk:[]djpeg -dct int -bmp -colors 256 -outfile testout.bmp testorig.jpg
|
---|
144 | mcr sys$disk:[]cjpeg -dct int -outfile testout.jpg testimg.ppm
|
---|
145 | mcr sys$disk:[]djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg
|
---|
146 | mcr sys$disk:[]cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm
|
---|
147 | mcr sys$disk:[]jpegtran -outfile testoutt.jpg testprog.jpg
|
---|
148 | - Backup /Compare/Log testimg.ppm testout.ppm
|
---|
149 | - Backup /Compare/Log testimg.bmp testout.bmp
|
---|
150 | - Backup /Compare/Log testimg.jpg testout.jpg
|
---|
151 | - Backup /Compare/Log testimg.ppm testoutp.ppm
|
---|
152 | - Backup /Compare/Log testimgp.jpg testoutp.jpg
|
---|
153 | - Backup /Compare/Log testorig.jpg testoutt.jpg
|
---|
154 |
|
---|
155 |
|
---|
156 | jaricom.obj : jaricom.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
157 | jcapimin.obj : jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
158 | jcapistd.obj : jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
159 | jcarith.obj : jcarith.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
160 | jccoefct.obj : jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
161 | jccolor.obj : jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
162 | jcdctmgr.obj : jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
---|
163 | jchuff.obj : jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
164 | jcinit.obj : jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
165 | jcmainct.obj : jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
166 | jcmarker.obj : jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
167 | jcmaster.obj : jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
168 | jcomapi.obj : jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
169 | jcparam.obj : jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
170 | jcprepct.obj : jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
171 | jcsample.obj : jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
172 | jctrans.obj : jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
173 | jdapimin.obj : jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
174 | jdapistd.obj : jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
175 | jdarith.obj : jdarith.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
176 | jdatadst.obj : jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
|
---|
177 | jdatasrc.obj : jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
|
---|
178 | jdcoefct.obj : jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
179 | jdcolor.obj : jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
180 | jddctmgr.obj : jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
---|
181 | jdhuff.obj : jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
182 | jdinput.obj : jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
183 | jdmainct.obj : jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
184 | jdmarker.obj : jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
185 | jdmaster.obj : jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
186 | jdmerge.obj : jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
187 | jdpostct.obj : jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
188 | jdsample.obj : jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
189 | jdtrans.obj : jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
190 | jerror.obj : jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
|
---|
191 | jfdctflt.obj : jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
---|
192 | jfdctfst.obj : jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
---|
193 | jfdctint.obj : jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
---|
194 | jidctflt.obj : jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
---|
195 | jidctfst.obj : jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
---|
196 | jidctint.obj : jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
---|
197 | jquant1.obj : jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
198 | jquant2.obj : jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
199 | jutils.obj : jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
---|
200 | jmemmgr.obj : jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
|
---|
201 | jmemansi.obj : jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
|
---|
202 | jmemname.obj : jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
|
---|
203 | jmemnobs.obj : jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
|
---|
204 | jmemdos.obj : jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
|
---|
205 | jmemmac.obj : jmemmac.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
|
---|
206 | cjpeg.obj : cjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
|
---|
207 | djpeg.obj : djpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
|
---|
208 | jpegtran.obj : jpegtran.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h transupp.h jversion.h
|
---|
209 | rdjpgcom.obj : rdjpgcom.c jinclude.h jconfig.h
|
---|
210 | wrjpgcom.obj : wrjpgcom.c jinclude.h jconfig.h
|
---|
211 | cdjpeg.obj : cdjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
|
---|
212 | rdcolmap.obj : rdcolmap.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
|
---|
213 | rdswitch.obj : rdswitch.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
|
---|
214 | transupp.obj : transupp.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h transupp.h
|
---|
215 | rdppm.obj : rdppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
|
---|
216 | wrppm.obj : wrppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
|
---|
217 | rdgif.obj : rdgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
|
---|
218 | wrgif.obj : wrgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
|
---|
219 | rdtarga.obj : rdtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
|
---|
220 | wrtarga.obj : wrtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
|
---|
221 | rdbmp.obj : rdbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
|
---|
222 | wrbmp.obj : wrbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
|
---|
223 | rdrle.obj : rdrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
|
---|
224 | wrrle.obj : wrrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
|
---|