$! Makefile for Independent JPEG Group's software
$!
$! This is a command procedure for use on VAX/VMS systems that do not have MMS.
$! It builds the JPEG software by brute force, recompiling everything whether
$! or not it is necessary.  It then runs the basic self-test.
$! Thanks to Rick Dyson (dyson@iowasp.physics.uiowa.edu)
$! and Tim Bell (tbell@netcom.com) for their help.
$!
$! Read installation instructions before running this!!
$!
$ DoCompile := CC /NoDebug /Optimize
$!
$ DoCompile jcapi.c
$ DoCompile jcparam.c
$ DoCompile jdatadst.c
$ DoCompile jcmaster.c
$ DoCompile jcmarker.c
$ DoCompile jcmainct.c
$ DoCompile jcprepct.c
$ DoCompile jccoefct.c
$ DoCompile jccolor.c
$ DoCompile jcsample.c
$ DoCompile jchuff.c
$ DoCompile jcdctmgr.c
$ DoCompile jfdctllm.c
$ DoCompile jdapi.c
$ DoCompile jdatasrc.c
$ DoCompile jdmaster.c
$ DoCompile jdmarker.c
$ DoCompile jdmainct.c
$ DoCompile jdcoefct.c
$ DoCompile jdpostct.c
$ DoCompile jddctmgr.c
$ DoCompile jidctllm.c
$ DoCompile jidctred.c
$ DoCompile jdhuff.c
$ DoCompile jdsample.c
$ DoCompile jdcolor.c
$ DoCompile jquant1.c
$ DoCompile jquant2.c
$ DoCompile jcomapi.c
$ DoCompile jutils.c
$ DoCompile jerror.c
$ DoCompile jmemmgr.c
$ DoCompile jmemnobs.c
$!
$ Library /Create libjpeg.olb  jcapi.obj,jcparam.obj,jdatadst.obj, -
          jcmaster.obj,jcmarker.obj,jcmainct.obj,jcprepct.obj,jccoefct.obj, -
          jccolor.obj,jcsample.obj,jchuff.obj,jcdctmgr.obj,jfdctllm.obj, -
          jdapi.obj,jdatasrc.obj,jdmaster.obj,jdmarker.obj,jdmainct.obj, -
          jdcoefct.obj,jdpostct.obj,jddctmgr.obj,jidctllm.obj,jidctred.obj, -
          jdhuff.obj,jdsample.obj,jdcolor.obj,jquant1.obj,jquant2.obj, -
          jcomapi.obj,jutils.obj,jerror.obj,jmemmgr.obj,jmemnobs.obj
$!
$ DoCompile cjpeg.c
$ DoCompile rdppm.c
$ DoCompile rdgif.c
$ DoCompile rdtarga.c
$!
$ Link /Executable = cjpeg.exe  cjpeg.obj,rdppm.obj,rdgif.obj,rdtarga.obj,libjpeg.olb/Library,Sys$Disk:[]MAKVMS.OPT/Option
$!
$ DoCompile djpeg.c
$ DoCompile wrppm.c
$ DoCompile wrgif.c
$ DoCompile wrtarga.c
$!
$ Link /Executable = djpeg.exe  djpeg.obj,wrppm.obj,wrgif.obj,wrtarga.obj,libjpeg.olb/Library,Sys$Disk:[]MAKVMS.OPT/Option
$!
$! Run the self-test
$!
$ mcr sys$disk:[]djpeg      -outfile testout.ppm testorig.jpg
$ mcr sys$disk:[]djpeg -gif -outfile testout.gif testorig.jpg
$ mcr sys$disk:[]cjpeg      -outfile testout.jpg testimg.ppm
$ Backup /Compare/Log testimg.ppm testout.ppm
$ Backup /Compare/Log testimg.gif testout.gif
$ Backup /Compare/Log testimg.jpg testout.jpg
$!
$ Exit
