makefile.mms 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  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 (dyson@iowasp.physics.uiowa.edu)
  4. # and Tim Bell (tbell@netcom.com) 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= jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
  22. jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
  23. jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \
  24. jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \
  25. jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \
  26. jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \
  27. jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.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= jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h jpegint.h \
  38. jpeglib.h jversion.h cdjpeg.h cderror.h transupp.h
  39. # documentation, test, and support files
  40. DOCS= README install.txt usage.txt cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 \
  41. wrjpgcom.1 wizard.txt example.c libjpeg.txt structure.txt \
  42. coderules.txt filelist.txt change.log
  43. MKFILES= configure Makefile.in makefile.ansi makefile.unix makefile.bcc \
  44. makefile.mc6 makefile.dj makefile.wat makefile.vc makejdsw.vc6 \
  45. makeadsw.vc6 makejdep.vc6 makejdsp.vc6 makejmak.vc6 makecdep.vc6 \
  46. makecdsp.vc6 makecmak.vc6 makeddep.vc6 makeddsp.vc6 makedmak.vc6 \
  47. maketdep.vc6 maketdsp.vc6 maketmak.vc6 makerdep.vc6 makerdsp.vc6 \
  48. makermak.vc6 makewdep.vc6 makewdsp.vc6 makewmak.vc6 makejsln.vc9 \
  49. makeasln.vc9 makejvcp.vc9 makecvcp.vc9 makedvcp.vc9 maketvcp.vc9 \
  50. makervcp.vc9 makewvcp.vc9 makeproj.mac makcjpeg.st makdjpeg.st \
  51. makljpeg.st maktjpeg.st makefile.manx makefile.sas makefile.mms \
  52. makefile.vms makvms.opt
  53. CONFIGFILES= jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \
  54. jconfig.vc jconfig.mac jconfig.st jconfig.manx jconfig.sas \
  55. jconfig.vms
  56. CONFIGUREFILES= config.guess config.sub install-sh ltmain.sh depcomp missing
  57. OTHERFILES= jconfig.txt ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm \
  58. libjpeg.map
  59. TESTFILES= testorig.jpg testimg.ppm testimg.bmp testimg.jpg testprog.jpg \
  60. testimgp.jpg
  61. DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \
  62. $(CONFIGUREFILES) $(OTHERFILES) $(TESTFILES)
  63. # library object files common to compression and decompression
  64. COMOBJECTS= jaricom.obj jcomapi.obj jutils.obj jerror.obj jmemmgr.obj $(SYSDEPMEM)
  65. # compression library object files
  66. CLIBOBJECTS= jcapimin.obj jcapistd.obj jcarith.obj jctrans.obj jcparam.obj \
  67. jdatadst.obj jcinit.obj jcmaster.obj jcmarker.obj jcmainct.obj \
  68. jcprepct.obj jccoefct.obj jccolor.obj jcsample.obj jchuff.obj \
  69. jcdctmgr.obj jfdctfst.obj jfdctflt.obj jfdctint.obj
  70. # decompression library object files
  71. DLIBOBJECTS= jdapimin.obj jdapistd.obj jdarith.obj jdtrans.obj jdatasrc.obj \
  72. jdmaster.obj jdinput.obj jdmarker.obj jdhuff.obj jdmainct.obj \
  73. jdcoefct.obj jdpostct.obj jddctmgr.obj jidctfst.obj jidctflt.obj \
  74. jidctint.obj jdsample.obj jdcolor.obj jquant1.obj jquant2.obj \
  75. jdmerge.obj
  76. # These objectfiles are included in libjpeg.olb
  77. LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
  78. # object files for sample applications (excluding library files)
  79. COBJECTS= cjpeg.obj rdppm.obj rdgif.obj rdtarga.obj rdrle.obj rdbmp.obj \
  80. rdswitch.obj cdjpeg.obj
  81. DOBJECTS= djpeg.obj wrppm.obj wrgif.obj wrtarga.obj wrrle.obj wrbmp.obj \
  82. rdcolmap.obj cdjpeg.obj
  83. TROBJECTS= jpegtran.obj rdswitch.obj cdjpeg.obj transupp.obj
  84. # objectfile lists with commas --- what a crock
  85. COBJLIST= cjpeg.obj,rdppm.obj,rdgif.obj,rdtarga.obj,rdrle.obj,rdbmp.obj,\
  86. rdswitch.obj,cdjpeg.obj
  87. DOBJLIST= djpeg.obj,wrppm.obj,wrgif.obj,wrtarga.obj,wrrle.obj,wrbmp.obj,\
  88. rdcolmap.obj,cdjpeg.obj
  89. TROBJLIST= jpegtran.obj,rdswitch.obj,cdjpeg.obj,transupp.obj
  90. LIBOBJLIST= jaricom.obj,jcapimin.obj,jcapistd.obj,jcarith.obj,jctrans.obj,\
  91. jcparam.obj,jdatadst.obj,jcinit.obj,jcmaster.obj,jcmarker.obj,\
  92. jcmainct.obj,jcprepct.obj,jccoefct.obj,jccolor.obj,jcsample.obj,\
  93. jchuff.obj,jcdctmgr.obj,jfdctfst.obj,jfdctflt.obj,jfdctint.obj,\
  94. jdapimin.obj,jdapistd.obj,jdarith.obj,jdtrans.obj,jdatasrc.obj,\
  95. jdmaster.obj,jdinput.obj,jdmarker.obj,jdhuff.obj,jdmainct.obj,\
  96. jdcoefct.obj,jdpostct.obj,jddctmgr.obj,jidctfst.obj,jidctflt.obj,\
  97. jidctint.obj,jdsample.obj,jdcolor.obj,jquant1.obj,jquant2.obj,\
  98. jdmerge.obj,jcomapi.obj,jutils.obj,jerror.obj,jmemmgr.obj,$(SYSDEPMEM)
  99. .first
  100. @- Define /NoLog Sys Sys$Library
  101. ALL : libjpeg.olb cjpeg.exe djpeg.exe jpegtran.exe rdjpgcom.exe wrjpgcom.exe
  102. @ Continue
  103. libjpeg.olb : $(LIBOBJECTS)
  104. Library /Create libjpeg.olb $(LIBOBJLIST)
  105. cjpeg.exe : $(COBJECTS) libjpeg.olb
  106. $(LINK) $(LFLAGS) /Executable = cjpeg.exe $(COBJLIST),libjpeg.olb/Library$(OPT)
  107. djpeg.exe : $(DOBJECTS) libjpeg.olb
  108. $(LINK) $(LFLAGS) /Executable = djpeg.exe $(DOBJLIST),libjpeg.olb/Library$(OPT)
  109. jpegtran.exe : $(TROBJECTS) libjpeg.olb
  110. $(LINK) $(LFLAGS) /Executable = jpegtran.exe $(TROBJLIST),libjpeg.olb/Library$(OPT)
  111. rdjpgcom.exe : rdjpgcom.obj
  112. $(LINK) $(LFLAGS) /Executable = rdjpgcom.exe rdjpgcom.obj$(OPT)
  113. wrjpgcom.exe : wrjpgcom.obj
  114. $(LINK) $(LFLAGS) /Executable = wrjpgcom.exe wrjpgcom.obj$(OPT)
  115. jconfig.h : jconfig.vms
  116. @- Copy jconfig.vms jconfig.h
  117. clean :
  118. @- Set Protection = Owner:RWED *.*;-1
  119. @- Set Protection = Owner:RWED *.OBJ
  120. - Purge /NoLog /NoConfirm *.*
  121. - Delete /NoLog /NoConfirm *.OBJ;
  122. test : cjpeg.exe djpeg.exe jpegtran.exe
  123. mcr sys$disk:[]djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
  124. mcr sys$disk:[]djpeg -dct int -bmp -colors 256 -outfile testout.bmp testorig.jpg
  125. mcr sys$disk:[]cjpeg -dct int -outfile testout.jpg testimg.ppm
  126. mcr sys$disk:[]djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg
  127. mcr sys$disk:[]cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm
  128. mcr sys$disk:[]jpegtran -outfile testoutt.jpg testprog.jpg
  129. - Backup /Compare/Log testimg.ppm testout.ppm
  130. - Backup /Compare/Log testimg.bmp testout.bmp
  131. - Backup /Compare/Log testimg.jpg testout.jpg
  132. - Backup /Compare/Log testimg.ppm testoutp.ppm
  133. - Backup /Compare/Log testimgp.jpg testoutp.jpg
  134. - Backup /Compare/Log testorig.jpg testoutt.jpg
  135. jaricom.obj : jaricom.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  136. jcapimin.obj : jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  137. jcapistd.obj : jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  138. jcarith.obj : jcarith.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  139. jccoefct.obj : jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  140. jccolor.obj : jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  141. jcdctmgr.obj : jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  142. jchuff.obj : jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  143. jcinit.obj : jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  144. jcmainct.obj : jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  145. jcmarker.obj : jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  146. jcmaster.obj : jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  147. jcomapi.obj : jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  148. jcparam.obj : jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  149. jcprepct.obj : jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  150. jcsample.obj : jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  151. jctrans.obj : jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  152. jdapimin.obj : jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  153. jdapistd.obj : jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  154. jdarith.obj : jdarith.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  155. jdatadst.obj : jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
  156. jdatasrc.obj : jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
  157. jdcoefct.obj : jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  158. jdcolor.obj : jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  159. jddctmgr.obj : jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  160. jdhuff.obj : jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  161. jdinput.obj : jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  162. jdmainct.obj : jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  163. jdmarker.obj : jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  164. jdmaster.obj : jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  165. jdmerge.obj : jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  166. jdpostct.obj : jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  167. jdsample.obj : jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  168. jdtrans.obj : jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  169. jerror.obj : jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
  170. jfdctflt.obj : jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  171. jfdctfst.obj : jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  172. jfdctint.obj : jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  173. jidctflt.obj : jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  174. jidctfst.obj : jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  175. jidctint.obj : jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  176. jquant1.obj : jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  177. jquant2.obj : jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  178. jutils.obj : jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  179. jmemmgr.obj : jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  180. jmemansi.obj : jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  181. jmemname.obj : jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  182. jmemnobs.obj : jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  183. jmemdos.obj : jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  184. jmemmac.obj : jmemmac.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  185. cjpeg.obj : cjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  186. djpeg.obj : djpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  187. jpegtran.obj : jpegtran.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h transupp.h jversion.h
  188. rdjpgcom.obj : rdjpgcom.c jinclude.h jconfig.h
  189. wrjpgcom.obj : wrjpgcom.c jinclude.h jconfig.h
  190. cdjpeg.obj : cdjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  191. rdcolmap.obj : rdcolmap.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  192. rdswitch.obj : rdswitch.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  193. transupp.obj : transupp.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h transupp.h
  194. rdppm.obj : rdppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  195. wrppm.obj : wrppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  196. rdgif.obj : rdgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  197. wrgif.obj : wrgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  198. rdtarga.obj : rdtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  199. wrtarga.obj : wrtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  200. rdbmp.obj : rdbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  201. wrbmp.obj : wrbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  202. rdrle.obj : rdrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  203. wrrle.obj : wrrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h