1 $! Makefile for Independent JPEG Group's software
3 $! This is a command procedure for Digital VMS systems that do not have MMS.
4 $! It builds the JPEG software by brute force, recompiling everything whether
5 $! or not it is necessary. It then runs the basic self-test.
6 $! Thanks to Rick Dyson (dyson@iowasp.physics.uiowa.edu)
7 $! and Tim Bell (tbell@netcom.com) for their help.
9 $! Read installation instructions before running this!!
11 $ If F$Mode () .eqs. "INTERACTIVE"
13 $ VERIFY = F$Verify (0)
15 $ VERIFY = F$Verify (1)
17 $ On Control_Y Then GoTo End
18 $ On Error Then GoTo End
20 $ If F$GetSyi ("HW_MODEL") .gt. 1023
24 $ OPT = ",Sys$Disk:[]makvms.opt/Option"
27 $ DoCompile := CC /NoDebug /Optimize /NoList
29 $ DoCompile jcapimin.c
30 $ DoCompile jcapistd.c
33 $ DoCompile jdatadst.c
35 $ DoCompile jcmaster.c
36 $ DoCompile jcmarker.c
37 $ DoCompile jcmainct.c
38 $ DoCompile jcprepct.c
39 $ DoCompile jccoefct.c
41 $ DoCompile jcsample.c
44 $ DoCompile jcdctmgr.c
45 $ DoCompile jfdctfst.c
46 $ DoCompile jfdctflt.c
47 $ DoCompile jfdctint.c
48 $ DoCompile jdapimin.c
49 $ DoCompile jdapistd.c
51 $ DoCompile jdatasrc.c
52 $ DoCompile jdmaster.c
54 $ DoCompile jdmarker.c
57 $ DoCompile jdmainct.c
58 $ DoCompile jdcoefct.c
59 $ DoCompile jdpostct.c
60 $ DoCompile jddctmgr.c
61 $ DoCompile jidctfst.c
62 $ DoCompile jidctflt.c
63 $ DoCompile jidctint.c
64 $ DoCompile jidctred.c
65 $ DoCompile jdsample.c
74 $ DoCompile jmemnobs.c
76 $ Library /Create libjpeg.olb jcapimin.obj,jcapistd.obj,jctrans.obj, -
77 jcparam.obj,jdatadst.obj,jcinit.obj,jcmaster.obj,jcmarker.obj, -
78 jcmainct.obj,jcprepct.obj,jccoefct.obj,jccolor.obj,jcsample.obj, -
79 jchuff.obj,jcphuff.obj,jcdctmgr.obj,jfdctfst.obj,jfdctflt.obj, -
80 jfdctint.obj,jdapimin.obj,jdapistd.obj,jdtrans.obj,jdatasrc.obj, -
81 jdmaster.obj,jdinput.obj,jdmarker.obj,jdhuff.obj,jdphuff.obj, -
82 jdmainct.obj,jdcoefct.obj,jdpostct.obj,jddctmgr.obj,jidctfst.obj, -
83 jidctflt.obj,jidctint.obj,jidctred.obj,jdsample.obj,jdcolor.obj, -
84 jquant1.obj,jquant2.obj,jdmerge.obj,jcomapi.obj,jutils.obj, -
85 jerror.obj,jmemmgr.obj,jmemnobs.obj
93 $ DoCompile rdswitch.c
96 $ Link /NoMap /Executable = cjpeg.exe cjpeg.obj,rdppm.obj,rdgif.obj, -
97 rdtarga.obj,rdrle.obj,rdbmp.obj,rdswitch.obj,cdjpeg.obj,libjpeg.olb/Library'OPT'
102 $ DoCompile wrtarga.c
105 $ DoCompile rdcolmap.c
108 $ Link /NoMap /Executable = djpeg.exe djpeg.obj,wrppm.obj,wrgif.obj, -
109 wrtarga.obj,wrrle.obj,wrbmp.obj,rdcolmap.obj,cdjpeg.obj,libjpeg.olb/Library'OPT'
111 $ DoCompile jpegtran.c
112 $ DoCompile rdswitch.c
114 $ DoCompile transupp.c
116 $ Link /NoMap /Executable = jpegtran.exe jpegtran.obj,rdswitch.obj, -
117 cdjpeg.obj,transupp.obj,libjpeg.olb/Library'OPT'
119 $ DoCompile rdjpgcom.c
120 $ Link /NoMap /Executable = rdjpgcom.exe rdjpgcom.obj'OPT'
122 $ DoCompile wrjpgcom.c
123 $ Link /NoMap /Executable = wrjpgcom.exe wrjpgcom.obj'OPT'
127 $ mcr sys$disk:[]djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
128 $ mcr sys$disk:[]djpeg -dct int -bmp -colors 256 -outfile testout.bmp testorig.jpg
129 $ mcr sys$disk:[]cjpeg -dct int -outfile testout.jpg testimg.ppm
130 $ mcr sys$disk:[]djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg
131 $ mcr sys$disk:[]cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm
132 $ mcr sys$disk:[]jpegtran -outfile testoutt.jpg testprog.jpg
133 $ Backup /Compare/Log testimg.ppm testout.ppm
134 $ Backup /Compare/Log testimg.bmp testout.bmp
135 $ Backup /Compare/Log testimg.jpg testout.jpg
136 $ Backup /Compare/Log testimg.ppm testoutp.ppm
137 $ Backup /Compare/Log testimgp.jpg testoutp.jpg
138 $ Backup /Compare/Log testorig.jpg testoutt.jpg
141 $ If Verify Then Set Verify