makefile.mms 14 KB

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