home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 5 / ctrom5b.zip / ctrom5b / DOS / GRAFISCH / JPGSRC5A / MAKEFILE.MMS < prev    next >
Text File  |  1994-12-07  |  11KB  |  182 lines

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