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
30 $ DoCompile jcapimin.c
31 $ DoCompile jcapistd.c
35 $ DoCompile jdatadst.c
37 $ DoCompile jcmaster.c
38 $ DoCompile jcmarker.c
39 $ DoCompile jcmainct.c
40 $ DoCompile jcprepct.c
41 $ DoCompile jccoefct.c
43 $ DoCompile jcsample.c
45 $ DoCompile jcdctmgr.c
46 $ DoCompile jfdctfst.c
47 $ DoCompile jfdctflt.c
48 $ DoCompile jfdctint.c
49 $ DoCompile jdapimin.c
50 $ DoCompile jdapistd.c
53 $ DoCompile jdatasrc.c
54 $ DoCompile jdmaster.c
56 $ DoCompile jdmarker.c
58 $ DoCompile jdmainct.c
59 $ DoCompile jdcoefct.c
60 $ DoCompile jdpostct.c
61 $ DoCompile jddctmgr.c
62 $ DoCompile jidctfst.c
63 $ DoCompile jidctflt.c
64 $ DoCompile jidctint.c
65 $ DoCompile jdsample.c
74 $ DoCompile jmemnobs.c
76 $ Library /Create libjpeg.olb jaricom.obj,jcapimin.obj,jcapistd.obj, -
77 jcarith.obj,jctrans.obj,jcparam.obj,jdatadst.obj,jcinit.obj, -
78 jcmaster.obj,jcmarker.obj,jcmainct.obj,jcprepct.obj,jccoefct.obj, -
79 jccolor.obj,jcsample.obj,jchuff.obj,jcdctmgr.obj,jfdctfst.obj, -
80 jfdctflt.obj,jfdctint.obj,jdapimin.obj,jdapistd.obj,jdarith.obj, -
81 jdtrans.obj,jdatasrc.obj,jdmaster.obj,jdinput.obj,jdmarker.obj, -
82 jdhuff.obj,jdmainct.obj,jdcoefct.obj,jdpostct.obj,jddctmgr.obj, -
83 jidctfst.obj,jidctflt.obj,jidctint.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