home *** CD-ROM | disk | FTP | other *** search
/ Geek 6 / Geek-006.iso / linux / video / xmovie-1.5.3.tar.gz / xmovie-1.5.3.tar / xmovie-1.5.3 / quicktime / jpeg / makefile.vms < prev    next >
Makefile  |  2000-11-29  |  4KB  |  143 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$Mode () .eqs. "INTERACTIVE"
  12. $   Then
  13. $       VERIFY = F$Verify (0)
  14. $   Else
  15. $       VERIFY = F$Verify (1)
  16. $ EndIf
  17. $ On Control_Y Then GoTo End
  18. $ On Error     Then GoTo End
  19. $
  20. $ If F$GetSyi ("HW_MODEL") .gt. 1023 
  21. $   Then
  22. $       OPT = ""
  23. $   Else
  24. $       OPT = ",Sys$Disk:[]makvms.opt/Option"
  25. $ EndIf
  26. $ DoCompile := CC /NoDebug /Optimize /NoList
  27. $!
  28. $ DoCompile jcapimin.c
  29. $ DoCompile jcapistd.c
  30. $ DoCompile jctrans.c
  31. $ DoCompile jcparam.c
  32. $ DoCompile jdatadst.c
  33. $ DoCompile jcinit.c
  34. $ DoCompile jcmaster.c
  35. $ DoCompile jcmarker.c
  36. $ DoCompile jcmainct.c
  37. $ DoCompile jcprepct.c
  38. $ DoCompile jccoefct.c
  39. $ DoCompile jccolor.c
  40. $ DoCompile jcsample.c
  41. $ DoCompile jchuff.c
  42. $ DoCompile jcphuff.c
  43. $ DoCompile jcdctmgr.c
  44. $ DoCompile jfdctfst.c
  45. $ DoCompile jfdctflt.c
  46. $ DoCompile jfdctint.c
  47. $ DoCompile jdapimin.c
  48. $ DoCompile jdapistd.c
  49. $ DoCompile jdtrans.c
  50. $ DoCompile jdatasrc.c
  51. $ DoCompile jdmaster.c
  52. $ DoCompile jdinput.c
  53. $ DoCompile jdmarker.c
  54. $ DoCompile jdhuff.c
  55. $ DoCompile jdphuff.c
  56. $ DoCompile jdmainct.c
  57. $ DoCompile jdcoefct.c
  58. $ DoCompile jdpostct.c
  59. $ DoCompile jddctmgr.c
  60. $ DoCompile jidctfst.c
  61. $ DoCompile jidctflt.c
  62. $ DoCompile jidctint.c
  63. $ DoCompile jidctred.c
  64. $ DoCompile jdsample.c
  65. $ DoCompile jdcolor.c
  66. $ DoCompile jquant1.c
  67. $ DoCompile jquant2.c
  68. $ DoCompile jdmerge.c
  69. $ DoCompile jcomapi.c
  70. $ DoCompile jutils.c
  71. $ DoCompile jerror.c
  72. $ DoCompile jmemmgr.c
  73. $ DoCompile jmemnobs.c
  74. $!
  75. $ Library /Create libjpeg.olb  jcapimin.obj,jcapistd.obj,jctrans.obj, -
  76.           jcparam.obj,jdatadst.obj,jcinit.obj,jcmaster.obj,jcmarker.obj, -
  77.           jcmainct.obj,jcprepct.obj,jccoefct.obj,jccolor.obj,jcsample.obj, -
  78.           jchuff.obj,jcphuff.obj,jcdctmgr.obj,jfdctfst.obj,jfdctflt.obj, -
  79.           jfdctint.obj,jdapimin.obj,jdapistd.obj,jdtrans.obj,jdatasrc.obj, -
  80.           jdmaster.obj,jdinput.obj,jdmarker.obj,jdhuff.obj,jdphuff.obj, -
  81.           jdmainct.obj,jdcoefct.obj,jdpostct.obj,jddctmgr.obj,jidctfst.obj, -
  82.           jidctflt.obj,jidctint.obj,jidctred.obj,jdsample.obj,jdcolor.obj, -
  83.           jquant1.obj,jquant2.obj,jdmerge.obj,jcomapi.obj,jutils.obj, -
  84.           jerror.obj,jmemmgr.obj,jmemnobs.obj
  85. $!
  86. $ DoCompile cjpeg.c
  87. $ DoCompile rdppm.c
  88. $ DoCompile rdgif.c
  89. $ DoCompile rdtarga.c
  90. $ DoCompile rdrle.c
  91. $ DoCompile rdbmp.c
  92. $ DoCompile rdswitch.c
  93. $ DoCompile cdjpeg.c
  94. $!
  95. $ Link /NoMap /Executable = cjpeg.exe  cjpeg.obj,rdppm.obj,rdgif.obj, -
  96.           rdtarga.obj,rdrle.obj,rdbmp.obj,rdswitch.obj,cdjpeg.obj,libjpeg.olb/Library'OPT'
  97. $!
  98. $ DoCompile djpeg.c
  99. $ DoCompile wrppm.c
  100. $ DoCompile wrgif.c
  101. $ DoCompile wrtarga.c
  102. $ DoCompile wrrle.c
  103. $ DoCompile wrbmp.c
  104. $ DoCompile rdcolmap.c
  105. $ DoCompile cdjpeg.c
  106. $!
  107. $ Link /NoMap /Executable = djpeg.exe  djpeg.obj,wrppm.obj,wrgif.obj, -
  108.           wrtarga.obj,wrrle.obj,wrbmp.obj,rdcolmap.obj,cdjpeg.obj,libjpeg.olb/Library'OPT'
  109. $!
  110. $ DoCompile jpegtran.c
  111. $ DoCompile rdswitch.c
  112. $ DoCompile cdjpeg.c
  113. $ DoCompile transupp.c
  114. $!
  115. $ Link /NoMap /Executable = jpegtran.exe  jpegtran.obj,rdswitch.obj, -
  116.           cdjpeg.obj,transupp.obj,libjpeg.olb/Library'OPT'
  117. $!
  118. $ DoCompile rdjpgcom.c
  119. $ Link /NoMap /Executable = rdjpgcom.exe  rdjpgcom.obj'OPT'
  120. $!
  121. $ DoCompile wrjpgcom.c
  122. $ Link /NoMap /Executable = wrjpgcom.exe  wrjpgcom.obj'OPT'
  123. $!
  124. $! Run the self-test
  125. $!
  126. $ mcr sys$disk:[]djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
  127. $ mcr sys$disk:[]djpeg -dct int -bmp -colors 256 -outfile testout.bmp testorig.jpg
  128. $ mcr sys$disk:[]cjpeg -dct int      -outfile testout.jpg testimg.ppm
  129. $ mcr sys$disk:[]djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg
  130. $ mcr sys$disk:[]cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm
  131. $ mcr sys$disk:[]jpegtran -outfile testoutt.jpg testprog.jpg
  132. $ Backup /Compare/Log testimg.ppm testout.ppm
  133. $ Backup /Compare/Log testimg.bmp testout.bmp
  134. $ Backup /Compare/Log testimg.jpg testout.jpg
  135. $ Backup /Compare/Log testimg.ppm testoutp.ppm
  136. $ Backup /Compare/Log testimgp.jpg testoutp.jpg
  137. $ Backup /Compare/Log testorig.jpg testoutt.jpg
  138. $!
  139. $End:
  140. $   If Verify Then Set Verify
  141. $ Exit
  142.