makefile.mms 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. # Makefile for Independent JPEG Group's software
  2. # This makefile is for use with MMS on Digital VMS systems.
  3. # Thanks to Rick Dyson ([email protected])
  4. # and Tim Bell ([email protected]) for their help.
  5. # Read installation instructions before saying "MMS" !!
  6. # You may need to adjust these cc options:
  7. CFLAGS= $(CFLAGS) /NoDebug /Optimize
  8. # Generally, we recommend defining any configuration symbols in jconfig.h,
  9. # NOT via /Define switches here.
  10. .ifdef ALPHA
  11. OPT=
  12. .else
  13. OPT= ,Sys$Disk:[]MAKVMS.OPT/Option
  14. .endif
  15. # Put here the object file name for the correct system-dependent memory
  16. # manager file. For Unix this is usually jmemnobs.o, but you may want
  17. # to use jmemansi.o or jmemname.o if you have limited swap space.
  18. SYSDEPMEM= jmemnobs.obj
  19. # End of configurable options.
  20. # source files: JPEG library proper
  21. LIBSOURCES= jcapimin.c jcapistd.c jccoefct.c jccolor.c jcdctmgr.c jchuff.c \
  22. jcinit.c jcmainct.c jcmarker.c jcmaster.c jcomapi.c jcparam.c \
  23. jcphuff.c jcprepct.c jcsample.c jctrans.c jdapimin.c jdapistd.c \
  24. jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c jddctmgr.c jdhuff.c \
  25. jdinput.c jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdphuff.c \
  26. jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c jfdctfst.c \
  27. jfdctint.c jidctflt.c jidctfst.c jidctint.c jidctred.c jquant1.c \
  28. jquant2.c jutils.c jmemmgr.c
  29. # memmgr back ends: compile only one of these into a working library
  30. SYSDEPSOURCES= jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c
  31. # source files: cjpeg/djpeg/jpegtran applications, also rdjpgcom/wrjpgcom
  32. APPSOURCES= cjpeg.c djpeg.c jpegtran.c rdjpgcom.c wrjpgcom.c cdjpeg.c \
  33. rdcolmap.c rdswitch.c transupp.c rdppm.c wrppm.c rdgif.c wrgif.c \
  34. rdtarga.c wrtarga.c rdbmp.c wrbmp.c rdrle.c wrrle.c
  35. SOURCES= $(LIBSOURCES) $(SYSDEPSOURCES) $(APPSOURCES)
  36. # files included by source files
  37. INCLUDES= jchuff.h jdhuff.h jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h \
  38. jpegint.h jpeglib.h jversion.h cdjpeg.h cderror.h transupp.h
  39. # documentation, test, and support files
  40. DOCS= README install.doc usage.doc cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 \
  41. wrjpgcom.1 wizard.doc example.c libjpeg.doc structure.doc \
  42. coderules.doc filelist.doc change.log
  43. MKFILES= configure makefile.cfg makefile.ansi makefile.unix makefile.bcc \
  44. makefile.mc6 makefile.dj makefile.wat makefile.vc makelib.ds \
  45. makeapps.ds makeproj.mac makcjpeg.st makdjpeg.st makljpeg.st \
  46. maktjpeg.st makefile.manx makefile.sas makefile.mms makefile.vms \
  47. makvms.opt
  48. CONFIGFILES= jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \
  49. jconfig.vc jconfig.mac jconfig.st jconfig.manx jconfig.sas \
  50. jconfig.vms
  51. CONFIGUREFILES= config.guess config.sub install-sh ltconfig ltmain.sh
  52. OTHERFILES= jconfig.doc ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm
  53. TESTFILES= testorig.jpg testimg.ppm testimg.bmp testimg.jpg testprog.jpg \
  54. testimgp.jpg
  55. DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \
  56. $(CONFIGUREFILES) $(OTHERFILES) $(TESTFILES)
  57. # library object files common to compression and decompression
  58. COMOBJECTS= jcomapi.obj jutils.obj jerror.obj jmemmgr.obj $(SYSDEPMEM)
  59. # compression library object files
  60. CLIBOBJECTS= jcapimin.obj jcapistd.obj jctrans.obj jcparam.obj jdatadst.obj \
  61. jcinit.obj jcmaster.obj jcmarker.obj jcmainct.obj jcprepct.obj \
  62. jccoefct.obj jccolor.obj jcsample.obj jchuff.obj jcphuff.obj \
  63. jcdctmgr.obj jfdctfst.obj jfdctflt.obj jfdctint.obj
  64. # decompression library object files
  65. DLIBOBJECTS= jdapimin.obj jdapistd.obj jdtrans.obj jdatasrc.obj \
  66. jdmaster.obj jdinput.obj jdmarker.obj jdhuff.obj jdphuff.obj \
  67. jdmainct.obj jdcoefct.obj jdpostct.obj jddctmgr.obj jidctfst.obj \
  68. jidctflt.obj jidctint.obj jidctred.obj jdsample.obj jdcolor.obj \
  69. jquant1.obj jquant2.obj jdmerge.obj
  70. # These objectfiles are included in libjpeg.olb
  71. LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
  72. # object files for sample applications (excluding library files)
  73. COBJECTS= cjpeg.obj rdppm.obj rdgif.obj rdtarga.obj rdrle.obj rdbmp.obj \
  74. rdswitch.obj cdjpeg.obj
  75. DOBJECTS= djpeg.obj wrppm.obj wrgif.obj wrtarga.obj wrrle.obj wrbmp.obj \
  76. rdcolmap.obj cdjpeg.obj
  77. TROBJECTS= jpegtran.obj rdswitch.obj cdjpeg.obj transupp.obj
  78. # objectfile lists with commas --- what a crock
  79. COBJLIST= cjpeg.obj,rdppm.obj,rdgif.obj,rdtarga.obj,rdrle.obj,rdbmp.obj,\
  80. rdswitch.obj,cdjpeg.obj
  81. DOBJLIST= djpeg.obj,wrppm.obj,wrgif.obj,wrtarga.obj,wrrle.obj,wrbmp.obj,\
  82. rdcolmap.obj,cdjpeg.obj
  83. TROBJLIST= jpegtran.obj,rdswitch.obj,cdjpeg.obj,transupp.obj
  84. LIBOBJLIST= jcapimin.obj,jcapistd.obj,jctrans.obj,jcparam.obj,jdatadst.obj,\
  85. jcinit.obj,jcmaster.obj,jcmarker.obj,jcmainct.obj,jcprepct.obj,\
  86. jccoefct.obj,jccolor.obj,jcsample.obj,jchuff.obj,jcphuff.obj,\
  87. jcdctmgr.obj,jfdctfst.obj,jfdctflt.obj,jfdctint.obj,jdapimin.obj,\
  88. jdapistd.obj,jdtrans.obj,jdatasrc.obj,jdmaster.obj,jdinput.obj,\
  89. jdmarker.obj,jdhuff.obj,jdphuff.obj,jdmainct.obj,jdcoefct.obj,\
  90. jdpostct.obj,jddctmgr.obj,jidctfst.obj,jidctflt.obj,jidctint.obj,\
  91. jidctred.obj,jdsample.obj,jdcolor.obj,jquant1.obj,jquant2.obj,\
  92. jdmerge.obj,jcomapi.obj,jutils.obj,jerror.obj,jmemmgr.obj,$(SYSDEPMEM)
  93. .first
  94. @- Define /NoLog Sys Sys$Library
  95. ALL : libjpeg.olb cjpeg.exe djpeg.exe jpegtran.exe rdjpgcom.exe wrjpgcom.exe
  96. @ Continue
  97. libjpeg.olb : $(LIBOBJECTS)
  98. Library /Create libjpeg.olb $(LIBOBJLIST)
  99. cjpeg.exe : $(COBJECTS) libjpeg.olb
  100. $(LINK) $(LFLAGS) /Executable = cjpeg.exe $(COBJLIST),libjpeg.olb/Library$(OPT)
  101. djpeg.exe : $(DOBJECTS) libjpeg.olb
  102. $(LINK) $(LFLAGS) /Executable = djpeg.exe $(DOBJLIST),libjpeg.olb/Library$(OPT)
  103. jpegtran.exe : $(TROBJECTS) libjpeg.olb
  104. $(LINK) $(LFLAGS) /Executable = jpegtran.exe $(TROBJLIST),libjpeg.olb/Library$(OPT)
  105. rdjpgcom.exe : rdjpgcom.obj
  106. $(LINK) $(LFLAGS) /Executable = rdjpgcom.exe rdjpgcom.obj$(OPT)
  107. wrjpgcom.exe : wrjpgcom.obj
  108. $(LINK) $(LFLAGS) /Executable = wrjpgcom.exe wrjpgcom.obj$(OPT)
  109. jconfig.h : jconfig.vms
  110. @- Copy jconfig.vms jconfig.h
  111. clean :
  112. @- Set Protection = Owner:RWED *.*;-1
  113. @- Set Protection = Owner:RWED *.OBJ
  114. - Purge /NoLog /NoConfirm *.*
  115. - Delete /NoLog /NoConfirm *.OBJ;
  116. test : cjpeg.exe djpeg.exe jpegtran.exe
  117. mcr sys$disk:[]djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
  118. mcr sys$disk:[]djpeg -dct int -bmp -colors 256 -outfile testout.bmp testorig.jpg
  119. mcr sys$disk:[]cjpeg -dct int -outfile testout.jpg testimg.ppm
  120. mcr sys$disk:[]djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg
  121. mcr sys$disk:[]cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm
  122. mcr sys$disk:[]jpegtran -outfile testoutt.jpg testprog.jpg
  123. - Backup /Compare/Log testimg.ppm testout.ppm
  124. - Backup /Compare/Log testimg.bmp testout.bmp
  125. - Backup /Compare/Log testimg.jpg testout.jpg
  126. - Backup /Compare/Log testimg.ppm testoutp.ppm
  127. - Backup /Compare/Log testimgp.jpg testoutp.jpg
  128. - Backup /Compare/Log testorig.jpg testoutt.jpg
  129. jcapimin.obj : jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  130. jcapistd.obj : jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  131. jccoefct.obj : jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  132. jccolor.obj : jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  133. jcdctmgr.obj : jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  134. jchuff.obj : jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
  135. jcinit.obj : jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  136. jcmainct.obj : jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  137. jcmarker.obj : jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  138. jcmaster.obj : jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  139. jcomapi.obj : jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  140. jcparam.obj : jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  141. jcphuff.obj : jcphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
  142. jcprepct.obj : jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  143. jcsample.obj : jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  144. jctrans.obj : jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  145. jdapimin.obj : jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  146. jdapistd.obj : jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  147. jdatadst.obj : jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
  148. jdatasrc.obj : jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
  149. jdcoefct.obj : jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  150. jdcolor.obj : jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  151. jddctmgr.obj : jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  152. jdhuff.obj : jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
  153. jdinput.obj : jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  154. jdmainct.obj : jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  155. jdmarker.obj : jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  156. jdmaster.obj : jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  157. jdmerge.obj : jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  158. jdphuff.obj : jdphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
  159. jdpostct.obj : jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  160. jdsample.obj : jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  161. jdtrans.obj : jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  162. jerror.obj : jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
  163. jfdctflt.obj : jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  164. jfdctfst.obj : jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  165. jfdctint.obj : jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  166. jidctflt.obj : jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  167. jidctfst.obj : jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  168. jidctint.obj : jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  169. jidctred.obj : jidctred.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  170. jquant1.obj : jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  171. jquant2.obj : jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  172. jutils.obj : jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  173. jmemmgr.obj : jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  174. jmemansi.obj : jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  175. jmemname.obj : jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  176. jmemnobs.obj : jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  177. jmemdos.obj : jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  178. jmemmac.obj : jmemmac.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  179. cjpeg.obj : cjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  180. djpeg.obj : djpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  181. jpegtran.obj : jpegtran.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h transupp.h jversion.h
  182. rdjpgcom.obj : rdjpgcom.c jinclude.h jconfig.h
  183. wrjpgcom.obj : wrjpgcom.c jinclude.h jconfig.h
  184. cdjpeg.obj : cdjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  185. rdcolmap.obj : rdcolmap.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  186. rdswitch.obj : rdswitch.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  187. transupp.obj : transupp.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h transupp.h
  188. rdppm.obj : rdppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  189. wrppm.obj : wrppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  190. rdgif.obj : rdgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  191. wrgif.obj : wrgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  192. rdtarga.obj : rdtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  193. wrtarga.obj : wrtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  194. rdbmp.obj : rdbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  195. wrbmp.obj : wrbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  196. rdrle.obj : rdrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  197. wrrle.obj : wrrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h