home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 5 / ctrom5b.zip / ctrom5b / DOS / GRAFISCH / JPGSRC5A / MAKEFILE.VMS < prev    next >
Text File  |  1994-12-07  |  3KB  |  105 lines

  1. $! Makefile for Independent JPEG Group's software
  2. $!
  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.
  8. $!
  9. $! Read installation instructions before running this!!
  10. $!
  11. $ If F$GetSyi ("HW_MODEL") .gt. 1023 
  12. $   Then
  13. $       OPT = ""
  14. $   Else
  15. $       OPT = ",Sys$Disk:[]makvms.opt/Option"
  16. $ EndIf
  17. $ DoCompile := CC /NoDebug /Optimize
  18. $!
  19. $ DoCompile jcapi.c
  20. $ DoCompile jcparam.c
  21. $ DoCompile jdatadst.c
  22. $ DoCompile jcmaster.c
  23. $ DoCompile jcmarker.c
  24. $ DoCompile jcmainct.c
  25. $ DoCompile jcprepct.c
  26. $ DoCompile jccoefct.c
  27. $ DoCompile jccolor.c
  28. $ DoCompile jcsample.c
  29. $ DoCompile jchuff.c
  30. $ DoCompile jcdctmgr.c
  31. $ DoCompile jfdctfst.c
  32. $ DoCompile jfdctflt.c
  33. $ DoCompile jfdctint.c
  34. $ DoCompile jdapi.c
  35. $ DoCompile jdatasrc.c
  36. $ DoCompile jdmaster.c
  37. $ DoCompile jdmarker.c
  38. $ DoCompile jdmainct.c
  39. $ DoCompile jdcoefct.c
  40. $ DoCompile jdpostct.c
  41. $ DoCompile jddctmgr.c
  42. $ DoCompile jidctfst.c
  43. $ DoCompile jidctflt.c
  44. $ DoCompile jidctint.c
  45. $ DoCompile jidctred.c
  46. $ DoCompile jdhuff.c
  47. $ DoCompile jdsample.c
  48. $ DoCompile jdcolor.c
  49. $ DoCompile jquant1.c
  50. $ DoCompile jquant2.c
  51. $ DoCompile jdmerge.c
  52. $ DoCompile jcomapi.c
  53. $ DoCompile jutils.c
  54. $ DoCompile jerror.c
  55. $ DoCompile jmemmgr.c
  56. $ DoCompile jmemnobs.c
  57. $!
  58. $ Library /Create libjpeg.olb  jcapi.obj,jcparam.obj,jdatadst.obj, -
  59.           jcmaster.obj,jcmarker.obj,jcmainct.obj,jcprepct.obj,jccoefct.obj, -
  60.           jccolor.obj,jcsample.obj,jchuff.obj,jcdctmgr.obj,jfdctfst.obj, -
  61.           jfdctflt.obj,jfdctint.obj,jdapi.obj,jdatasrc.obj,jdmaster.obj, -
  62.           jdmarker.obj,jdmainct.obj,jdcoefct.obj,jdpostct.obj,jddctmgr.obj, -
  63.           jidctfst.obj,jidctflt.obj,jidctint.obj,jidctred.obj,jdhuff.obj, -
  64.           jdsample.obj,jdcolor.obj,jquant1.obj,jquant2.obj,jdmerge.obj, -
  65.           jcomapi.obj,jutils.obj,jerror.obj,jmemmgr.obj,jmemnobs.obj
  66. $!
  67. $ DoCompile cjpeg.c
  68. $ DoCompile rdppm.c
  69. $ DoCompile rdgif.c
  70. $ DoCompile rdtarga.c
  71. $ DoCompile rdrle.c
  72. $ DoCompile rdbmp.c
  73. $!
  74. $ Link /Executable = cjpeg.exe  cjpeg.obj,rdppm.obj,rdgif.obj,rdtarga.obj, -
  75.           rdrle.obj,rdbmp.obj,libjpeg.olb/Library'OPT'
  76. $!
  77. $ DoCompile djpeg.c
  78. $ DoCompile wrppm.c
  79. $ DoCompile wrgif.c
  80. $ DoCompile wrtarga.c
  81. $ DoCompile wrrle.c
  82. $ DoCompile wrbmp.c
  83. $ DoCompile rdcolmap.c
  84. $!
  85. $ Link /Executable = djpeg.exe  djpeg.obj,wrppm.obj,wrgif.obj,wrtarga.obj, -
  86.           wrrle.obj,wrbmp.obj,rdcolmap.obj,libjpeg.olb/Library'OPT'
  87. $!
  88. $ DoCompile rdjpgcom.c
  89. $ Link /Executable = rdjpgcom.exe  rdjpgcom.obj'OPT'
  90. $!
  91. $ DoCompile wrjpgcom.c
  92. $ Link /Executable = wrjpgcom.exe  wrjpgcom.obj'OPT'
  93. $!
  94. $! Run the self-test
  95. $!
  96. $ mcr sys$disk:[]djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
  97. $ mcr sys$disk:[]djpeg -dct int -gif -outfile testout.gif testorig.jpg
  98. $ mcr sys$disk:[]cjpeg -dct int      -outfile testout.jpg testimg.ppm
  99. $ Backup /Compare/Log testimg.ppm testout.ppm
  100. $ Backup /Compare/Log testimg.gif testout.gif
  101. $ Backup /Compare/Log testimg.jpg testout.jpg
  102. $!
  103. $ Exit
  104.