home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / xloadimg.zip / xloadimage.4.1 / jpeg / makefile.mms < prev    next >
Makefile  |  1993-02-18  |  7KB  |  144 lines

  1. # Makefile for Independent JPEG Group's software
  2.  
  3. # This makefile is for use with MMS on VAX/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 SETUP instructions before saying "MMS" !!
  8.  
  9. CFLAGS= $(CFLAGS) /NoDebug /Optimize /Define = (TWO_FILE_COMMANDLINE,HAVE_STDC,INCLUDES_ARE_ANSI)
  10. OPT= Sys$Disk:[]MAKVMS.OPT
  11.  
  12.  
  13. # source files (independently compilable files)
  14. SOURCES= jbsmooth.c jcarith.c jccolor.c jcdeflts.c jcexpand.c jchuff.c \
  15.         jcmain.c jcmaster.c jcmcu.c jcpipe.c jcsample.c jdarith.c jdcolor.c \
  16.         jddeflts.c jdhuff.c jdmain.c jdmaster.c jdmcu.c jdpipe.c jdsample.c \
  17.         jerror.c jquant1.c jquant2.c jfwddct.c jrevdct.c jutils.c jmemmgr.c \
  18.         jrdjfif.c jrdgif.c jrdppm.c jrdrle.c jrdtarga.c jwrjfif.c jwrgif.c \
  19.         jwrppm.c jwrrle.c jwrtarga.c
  20. # virtual source files (not present in distribution file, see SETUP)
  21. VIRTSOURCES= jmemsys.c
  22. # system-dependent implementations of virtual source files
  23. SYSDEPFILES= jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemdos.h \
  24.         jmemdosa.asm
  25. # files included by source files
  26. INCLUDES= jinclude.h jconfig.h jpegdata.h jversion.h jmemsys.h
  27. # documentation, test, and support files
  28. DOCS= README SETUP USAGE CHANGELOG cjpeg.1 djpeg.1 architecture codingrules
  29. MAKEFILES= makefile.ansi makefile.unix makefile.manx makefile.sas \
  30.         makcjpeg.st makdjpeg.st makljpeg.st makefile.mc5 makefile.mc6 \
  31.         makefile.bcc makefile.icc makljpeg.icc makefile.mms makefile.vms \
  32.         makvms.opt
  33. OTHERFILES= ansi2knr.c ckconfig.c example.c
  34. TESTFILES= testorig.jpg testimg.ppm testimg.gif testimg.jpg
  35. DISTFILES= $(DOCS) $(MAKEFILES) $(SOURCES) $(SYSDEPFILES) $(INCLUDES) \
  36.         $(OTHERFILES) $(TESTFILES)
  37. # objectfiles common to cjpeg and djpeg
  38. COMOBJECTS= jutils.obj jerror.obj jmemmgr.obj jmemsys.obj
  39. # compression objectfiles
  40. CLIBOBJECTS= jcmaster.obj jcdeflts.obj jcarith.obj jccolor.obj jcexpand.obj \
  41.         jchuff.obj jcmcu.obj jcpipe.obj jcsample.obj jfwddct.obj \
  42.         jwrjfif.obj jrdgif.obj jrdppm.obj jrdrle.obj jrdtarga.obj
  43. COBJECTS= jcmain.obj $(CLIBOBJECTS) $(COMOBJECTS)
  44. # decompression objectfiles
  45. DLIBOBJECTS= jdmaster.obj jddeflts.obj jbsmooth.obj jdarith.obj jdcolor.obj \
  46.         jdhuff.obj jdmcu.obj jdpipe.obj jdsample.obj jquant1.obj \
  47.         jquant2.obj jrevdct.obj jrdjfif.obj jwrgif.obj jwrppm.obj \
  48.         jwrrle.obj jwrtarga.obj
  49. DOBJECTS= jdmain.obj $(DLIBOBJECTS) $(COMOBJECTS)
  50. # These objectfiles are included in libjpeg.olb
  51. LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
  52. # objectfile lists with commas --- what a crock
  53. COBJLIST= jcmain.obj,jcmaster.obj,jcdeflts.obj,jcarith.obj,jccolor.obj,\
  54.           jcexpand.obj,jchuff.obj,jcmcu.obj,jcpipe.obj,jcsample.obj,\
  55.           jfwddct.obj,jwrjfif.obj,jrdgif.obj,jrdppm.obj,jrdrle.obj,\
  56.           jrdtarga.obj,jutils.obj,jerror.obj,jmemmgr.obj,jmemsys.obj
  57. DOBJLIST= jdmain.obj,jdmaster.obj,jddeflts.obj,jbsmooth.obj,jdarith.obj,\
  58.           jdcolor.obj,jdhuff.obj,jdmcu.obj,jdpipe.obj,jdsample.obj,\
  59.           jquant1.obj,jquant2.obj,jrevdct.obj,jrdjfif.obj,jwrgif.obj,\
  60.           jwrppm.obj,jwrrle.obj,jwrtarga.obj,jutils.obj,jerror.obj,\
  61.           jmemmgr.obj,jmemsys.obj
  62. LIBOBJLIST= jcmaster.obj,jcdeflts.obj,jcarith.obj,jccolor.obj,jcexpand.obj,\
  63.           jchuff.obj,jcmcu.obj,jcpipe.obj,jcsample.obj,jfwddct.obj,\
  64.           jwrjfif.obj,jrdgif.obj,jrdppm.obj,jrdrle.obj,jrdtarga.obj,\
  65.           jdmaster.obj,jddeflts.obj,jbsmooth.obj,jdarith.obj,jdcolor.obj,\
  66.           jdhuff.obj,jdmcu.obj,jdpipe.obj,jdsample.obj,jquant1.obj,\
  67.           jquant2.obj,jrevdct.obj,jrdjfif.obj,jwrgif.obj,jwrppm.obj,\
  68.           jwrrle.obj,jwrtarga.obj,jutils.obj,jerror.obj,jmemmgr.obj,\
  69.           jmemsys.obj
  70.  
  71.  
  72. .first
  73.     @ Define Sys Sys$Library
  74.  
  75. # By default, libjpeg.olb is not built unless you explicitly request it.
  76. # You can add libjpeg.olb to the next line if you want it built by default.
  77. ALL : cjpeg.exe djpeg.exe
  78.     @ Continue
  79.  
  80. cjpeg.exe : $(COBJECTS)
  81.     $(LINK) $(LFLAGS) /Executable = cjpeg.exe $(COBJLIST),$(OPT)/Option
  82.  
  83. djpeg.exe : $(DOBJECTS)
  84.     $(LINK) $(LFLAGS) /Executable = djpeg.exe $(DOBJLIST),$(OPT)/Option
  85.  
  86. # libjpeg.olb is useful if you are including the JPEG software in a larger
  87. # program; you'd include it in your link, rather than the individual modules.
  88. libjpeg.olb : $(LIBOBJECTS)
  89.     Library /Create libjpeg.olb $(LIBOBJLIST)
  90.  
  91. clean :
  92.     @- Set Protection = Owner:RWED *.*;-1
  93.     @- Set Protection = Owner:RWED *.OBJ
  94.     - Purge /NoLog /NoConfirm *.*
  95.     - Delete /NoLog /NoConfirm *.OBJ;
  96.  
  97. test : cjpeg.exe djpeg.exe
  98.     mcr sys$disk:[]djpeg      testorig.jpg testout.ppm
  99.     mcr sys$disk:[]djpeg -gif testorig.jpg testout.gif
  100.     mcr sys$disk:[]cjpeg      testimg.ppm testout.jpg
  101.     - Backup /Compare/Log      testimg.ppm testout.ppm
  102.     - Backup /Compare/Log      testimg.gif testout.gif
  103.     - Backup /Compare/Log      testimg.jpg testout.jpg
  104.  
  105.  
  106. jbsmooth.obj : jbsmooth.c jinclude.h jconfig.h jpegdata.h
  107. jcarith.obj : jcarith.c jinclude.h jconfig.h jpegdata.h
  108. jccolor.obj : jccolor.c jinclude.h jconfig.h jpegdata.h
  109. jcdeflts.obj : jcdeflts.c jinclude.h jconfig.h jpegdata.h
  110. jcexpand.obj : jcexpand.c jinclude.h jconfig.h jpegdata.h
  111. jchuff.obj : jchuff.c jinclude.h jconfig.h jpegdata.h
  112. jcmain.obj : jcmain.c jinclude.h jconfig.h jpegdata.h jversion.h
  113. jcmaster.obj : jcmaster.c jinclude.h jconfig.h jpegdata.h
  114. jcmcu.obj : jcmcu.c jinclude.h jconfig.h jpegdata.h
  115. jcpipe.obj : jcpipe.c jinclude.h jconfig.h jpegdata.h
  116. jcsample.obj : jcsample.c jinclude.h jconfig.h jpegdata.h
  117. jdarith.obj : jdarith.c jinclude.h jconfig.h jpegdata.h
  118. jdcolor.obj : jdcolor.c jinclude.h jconfig.h jpegdata.h
  119. jddeflts.obj : jddeflts.c jinclude.h jconfig.h jpegdata.h
  120. jdhuff.obj : jdhuff.c jinclude.h jconfig.h jpegdata.h
  121. jdmain.obj : jdmain.c jinclude.h jconfig.h jpegdata.h jversion.h
  122. jdmaster.obj : jdmaster.c jinclude.h jconfig.h jpegdata.h
  123. jdmcu.obj : jdmcu.c jinclude.h jconfig.h jpegdata.h
  124. jdpipe.obj : jdpipe.c jinclude.h jconfig.h jpegdata.h
  125. jdsample.obj : jdsample.c jinclude.h jconfig.h jpegdata.h
  126. jerror.obj : jerror.c jinclude.h jconfig.h jpegdata.h
  127. jquant1.obj : jquant1.c jinclude.h jconfig.h jpegdata.h
  128. jquant2.obj : jquant2.c jinclude.h jconfig.h jpegdata.h
  129. jfwddct.obj : jfwddct.c jinclude.h jconfig.h jpegdata.h
  130. jrevdct.obj : jrevdct.c jinclude.h jconfig.h jpegdata.h
  131. jutils.obj : jutils.c jinclude.h jconfig.h jpegdata.h
  132. jmemmgr.obj : jmemmgr.c jinclude.h jconfig.h jpegdata.h jmemsys.h
  133. jrdjfif.obj : jrdjfif.c jinclude.h jconfig.h jpegdata.h
  134. jrdgif.obj : jrdgif.c jinclude.h jconfig.h jpegdata.h
  135. jrdppm.obj : jrdppm.c jinclude.h jconfig.h jpegdata.h
  136. jrdrle.obj : jrdrle.c jinclude.h jconfig.h jpegdata.h
  137. jrdtarga.obj : jrdtarga.c jinclude.h jconfig.h jpegdata.h
  138. jwrjfif.obj : jwrjfif.c jinclude.h jconfig.h jpegdata.h
  139. jwrgif.obj : jwrgif.c jinclude.h jconfig.h jpegdata.h
  140. jwrppm.obj : jwrppm.c jinclude.h jconfig.h jpegdata.h
  141. jwrrle.obj : jwrrle.c jinclude.h jconfig.h jpegdata.h
  142. jwrtarga.obj : jwrtarga.c jinclude.h jconfig.h jpegdata.h
  143. jmemsys.obj : jmemsys.c jinclude.h jconfig.h jpegdata.h jmemsys.h
  144.