makefile.mms 13 KB

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