makefile.mms
上传用户:zlh9724
上传日期:2007-01-04
资源大小:1991k
文件大小:12k
源码类别:

浏览器

开发平台:

Unix_Linux

  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= 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 jmemansi.c jmemname.c jmemnobs.c 
  29.         jmemdos.c
  30. # source files: cjpeg/djpeg/jpegtran applications, also rdjpgcom/wrjpgcom
  31. APPSOURCES= cjpeg.c djpeg.c jpegtran.c cdjpeg.c rdcolmap.c rdswitch.c 
  32.         rdjpgcom.c wrjpgcom.c rdppm.c wrppm.c rdgif.c wrgif.c rdtarga.c 
  33.         wrtarga.c rdbmp.c wrbmp.c rdrle.c wrrle.c
  34. SOURCES= $(LIBSOURCES) $(APPSOURCES)
  35. # files included by source files
  36. INCLUDES= jchuff.h jdhuff.h jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h 
  37.         jpegint.h jpeglib.h jversion.h cdjpeg.h cderror.h
  38. # documentation, test, and support files
  39. DOCS= README install.doc usage.doc cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 
  40.         wrjpgcom.1 wizard.doc example.c libjpeg.doc structure.doc 
  41.         coderules.doc filelist.doc change.log
  42. MKFILES= configure makefile.cfg makefile.ansi makefile.unix makefile.bcc 
  43.         makefile.mc6 makefile.dj makefile.wat makcjpeg.st makdjpeg.st 
  44.         makljpeg.st maktjpeg.st makefile.manx makefile.sas makefile.mms 
  45.         makefile.vms makvms.opt
  46. CONFIGFILES= jconfig.cfg jconfig.manx jconfig.sas jconfig.st jconfig.bcc 
  47.         jconfig.mc6 jconfig.dj jconfig.wat jconfig.vms
  48. OTHERFILES= jconfig.doc ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm
  49. TESTFILES= testorig.jpg testimg.ppm testimg.gif testimg.jpg testprog.jpg 
  50.         testimgp.jpg
  51. DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) 
  52.         $(OTHERFILES) $(TESTFILES)
  53. # library object files common to compression and decompression
  54. COMOBJECTS= jcomapi.obj jutils.obj jerror.obj jmemmgr.obj $(SYSDEPMEM)
  55. # compression library object files
  56. CLIBOBJECTS= jcapimin.obj jcapistd.obj jctrans.obj jcparam.obj jdatadst.obj 
  57.         jcinit.obj jcmaster.obj jcmarker.obj jcmainct.obj jcprepct.obj 
  58.         jccoefct.obj jccolor.obj jcsample.obj jchuff.obj jcphuff.obj 
  59.         jcdctmgr.obj jfdctfst.obj jfdctflt.obj jfdctint.obj
  60. # decompression library object files
  61. DLIBOBJECTS= jdapimin.obj jdapistd.obj jdtrans.obj jdatasrc.obj 
  62.         jdmaster.obj jdinput.obj jdmarker.obj jdhuff.obj jdphuff.obj 
  63.         jdmainct.obj jdcoefct.obj jdpostct.obj jddctmgr.obj jidctfst.obj 
  64.         jidctflt.obj jidctint.obj jidctred.obj jdsample.obj jdcolor.obj 
  65.         jquant1.obj jquant2.obj jdmerge.obj
  66. # These objectfiles are included in libjpeg.olb
  67. LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
  68. # object files for sample applications (excluding library files)
  69. COBJECTS= cjpeg.obj rdppm.obj rdgif.obj rdtarga.obj rdrle.obj rdbmp.obj 
  70.         rdswitch.obj cdjpeg.obj
  71. DOBJECTS= djpeg.obj wrppm.obj wrgif.obj wrtarga.obj wrrle.obj wrbmp.obj 
  72.         rdcolmap.obj cdjpeg.obj
  73. TROBJECTS= jpegtran.obj rdswitch.obj cdjpeg.obj
  74. # objectfile lists with commas --- what a crock
  75. COBJLIST= cjpeg.obj,rdppm.obj,rdgif.obj,rdtarga.obj,rdrle.obj,rdbmp.obj,
  76.           rdswitch.obj,cdjpeg.obj
  77. DOBJLIST= djpeg.obj,wrppm.obj,wrgif.obj,wrtarga.obj,wrrle.obj,wrbmp.obj,
  78.           rdcolmap.obj,cdjpeg.obj
  79. TROBJLIST= jpegtran.obj,rdswitch.obj,cdjpeg.obj
  80. LIBOBJLIST= jcapimin.obj,jcapistd.obj,jctrans.obj,jcparam.obj,jdatadst.obj,
  81.           jcinit.obj,jcmaster.obj,jcmarker.obj,jcmainct.obj,jcprepct.obj,
  82.           jccoefct.obj,jccolor.obj,jcsample.obj,jchuff.obj,jcphuff.obj,
  83.           jcdctmgr.obj,jfdctfst.obj,jfdctflt.obj,jfdctint.obj,jdapimin.obj,
  84.           jdapistd.obj,jdtrans.obj,jdatasrc.obj,jdmaster.obj,jdinput.obj,
  85.           jdmarker.obj,jdhuff.obj,jdphuff.obj,jdmainct.obj,jdcoefct.obj,
  86.           jdpostct.obj,jddctmgr.obj,jidctfst.obj,jidctflt.obj,jidctint.obj,
  87.           jidctred.obj,jdsample.obj,jdcolor.obj,jquant1.obj,jquant2.obj,
  88.           jdmerge.obj,jcomapi.obj,jutils.obj,jerror.obj,jmemmgr.obj,$(SYSDEPMEM)
  89. .first
  90. @- Define /NoLog Sys Sys$Library
  91. ALL : libjpeg.olb cjpeg.exe djpeg.exe jpegtran.exe rdjpgcom.exe wrjpgcom.exe
  92. @ Continue
  93. libjpeg.olb : $(LIBOBJECTS)
  94. Library /Create libjpeg.olb $(LIBOBJLIST)
  95. cjpeg.exe : $(COBJECTS) libjpeg.olb
  96. $(LINK) $(LFLAGS) /Executable = cjpeg.exe $(COBJLIST),libjpeg.olb/Library$(OPT)
  97. djpeg.exe : $(DOBJECTS) libjpeg.olb
  98. $(LINK) $(LFLAGS) /Executable = djpeg.exe $(DOBJLIST),libjpeg.olb/Library$(OPT)
  99. jpegtran.exe : $(TROBJECTS) libjpeg.olb
  100. $(LINK) $(LFLAGS) /Executable = jpegtran.exe $(TROBJLIST),libjpeg.olb/Library$(OPT)
  101. rdjpgcom.exe : rdjpgcom.obj
  102. $(LINK) $(LFLAGS) /Executable = rdjpgcom.exe rdjpgcom.obj$(OPT)
  103. wrjpgcom.exe : wrjpgcom.obj
  104. $(LINK) $(LFLAGS) /Executable = wrjpgcom.exe wrjpgcom.obj$(OPT)
  105. jconfig.h : jconfig.vms
  106. @- Copy jconfig.vms jconfig.h
  107. clean :
  108. @- Set Protection = Owner:RWED *.*;-1
  109. @- Set Protection = Owner:RWED *.OBJ
  110. - Purge /NoLog /NoConfirm *.*
  111. - Delete /NoLog /NoConfirm *.OBJ;
  112. test : cjpeg.exe djpeg.exe jpegtran.exe
  113. mcr sys$disk:[]djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
  114. mcr sys$disk:[]djpeg -dct int -gif -outfile testout.gif testorig.jpg
  115. mcr sys$disk:[]cjpeg -dct int      -outfile testout.jpg testimg.ppm
  116. mcr sys$disk:[]djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg
  117. mcr sys$disk:[]cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm
  118. mcr sys$disk:[]jpegtran -outfile testoutt.jpg testprog.jpg
  119. - Backup /Compare/Log   testimg.ppm testout.ppm
  120. - Backup /Compare/Log   testimg.gif testout.gif
  121. - Backup /Compare/Log   testimg.jpg testout.jpg
  122. - Backup /Compare/Log   testimg.ppm testoutp.ppm
  123. - Backup /Compare/Log   testimgp.jpg testoutp.jpg
  124. - Backup /Compare/Log   testorig.jpg testoutt.jpg
  125. jcapimin.obj: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  126. jcapistd.obj: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  127. jccoefct.obj: jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  128. jccolor.obj: jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  129. jcdctmgr.obj: jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  130. jchuff.obj: jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
  131. jcinit.obj: jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  132. jcmainct.obj: jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  133. jcmarker.obj: jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  134. jcmaster.obj: jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  135. jcomapi.obj: jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  136. jcparam.obj: jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  137. jcphuff.obj: jcphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
  138. jcprepct.obj: jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  139. jcsample.obj: jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  140. jctrans.obj: jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  141. jdapimin.obj: jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  142. jdapistd.obj: jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  143. jdatadst.obj: jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
  144. jdatasrc.obj: jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
  145. jdcoefct.obj: jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  146. jdcolor.obj: jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  147. jddctmgr.obj: jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  148. jdhuff.obj: jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
  149. jdinput.obj: jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  150. jdmainct.obj: jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  151. jdmarker.obj: jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  152. jdmaster.obj: jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  153. jdmerge.obj: jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  154. jdphuff.obj: jdphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
  155. jdpostct.obj: jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  156. jdsample.obj: jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  157. jdtrans.obj: jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  158. jerror.obj: jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
  159. jfdctflt.obj: jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  160. jfdctfst.obj: jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  161. jfdctint.obj: jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  162. jidctflt.obj: jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  163. jidctfst.obj: jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  164. jidctint.obj: jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  165. jidctred.obj: jidctred.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  166. jquant1.obj: jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  167. jquant2.obj: jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  168. jutils.obj: jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  169. jmemmgr.obj: jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  170. jmemansi.obj: jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  171. jmemname.obj: jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  172. jmemnobs.obj: jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  173. jmemdos.obj: jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  174. cjpeg.obj: cjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  175. djpeg.obj: djpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  176. jpegtran.obj: jpegtran.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  177. cdjpeg.obj: cdjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  178. rdcolmap.obj: rdcolmap.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  179. rdswitch.obj: rdswitch.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  180. rdjpgcom.obj: rdjpgcom.c jinclude.h jconfig.h
  181. wrjpgcom.obj: wrjpgcom.c jinclude.h jconfig.h
  182. rdppm.obj: rdppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  183. wrppm.obj: wrppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  184. rdgif.obj: rdgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  185. wrgif.obj: wrgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  186. rdtarga.obj: rdtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  187. wrtarga.obj: wrtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  188. rdbmp.obj: rdbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  189. wrbmp.obj: wrbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  190. rdrle.obj: rdrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  191. wrrle.obj: wrrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h