Blame gtkmm-osx/jpeg-6b/makefile.mms

darco 56a656
# Makefile for Independent JPEG Group's software
darco 56a656
darco 56a656
# This makefile is for use with MMS on Digital VMS systems.
darco 56a656
# Thanks to Rick Dyson (dyson@iowasp.physics.uiowa.edu)
darco 56a656
# and Tim Bell (tbell@netcom.com) for their help.
darco 56a656
darco 56a656
# Read installation instructions before saying "MMS" !!
darco 56a656
darco 56a656
# You may need to adjust these cc options:
darco 56a656
CFLAGS= $(CFLAGS) /NoDebug /Optimize
darco 56a656
# Generally, we recommend defining any configuration symbols in jconfig.h,
darco 56a656
# NOT via /Define switches here.
darco 56a656
.ifdef ALPHA
darco 56a656
OPT=
darco 56a656
.else
darco 56a656
OPT= ,Sys$Disk:[]MAKVMS.OPT/Option
darco 56a656
.endif
darco 56a656
darco 56a656
# Put here the object file name for the correct system-dependent memory
darco 56a656
# manager file.  For Unix this is usually jmemnobs.o, but you may want
darco 56a656
# to use jmemansi.o or jmemname.o if you have limited swap space.
darco 56a656
SYSDEPMEM= jmemnobs.obj
darco 56a656
darco 56a656
# End of configurable options.
darco 56a656
darco 56a656
darco 56a656
# source files: JPEG library proper
darco 56a656
LIBSOURCES= jcapimin.c jcapistd.c jccoefct.c jccolor.c jcdctmgr.c jchuff.c \
darco 56a656
        jcinit.c jcmainct.c jcmarker.c jcmaster.c jcomapi.c jcparam.c \
darco 56a656
        jcphuff.c jcprepct.c jcsample.c jctrans.c jdapimin.c jdapistd.c \
darco 56a656
        jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c jddctmgr.c jdhuff.c \
darco 56a656
        jdinput.c jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdphuff.c \
darco 56a656
        jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c jfdctfst.c \
darco 56a656
        jfdctint.c jidctflt.c jidctfst.c jidctint.c jidctred.c jquant1.c \
darco 56a656
        jquant2.c jutils.c jmemmgr.c
darco 56a656
# memmgr back ends: compile only one of these into a working library
darco 56a656
SYSDEPSOURCES= jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c
darco 56a656
# source files: cjpeg/djpeg/jpegtran applications, also rdjpgcom/wrjpgcom
darco 56a656
APPSOURCES= cjpeg.c djpeg.c jpegtran.c rdjpgcom.c wrjpgcom.c cdjpeg.c \
darco 56a656
        rdcolmap.c rdswitch.c transupp.c rdppm.c wrppm.c rdgif.c wrgif.c \
darco 56a656
        rdtarga.c wrtarga.c rdbmp.c wrbmp.c rdrle.c wrrle.c
darco 56a656
SOURCES= $(LIBSOURCES) $(SYSDEPSOURCES) $(APPSOURCES)
darco 56a656
# files included by source files
darco 56a656
INCLUDES= jchuff.h jdhuff.h jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h \
darco 56a656
        jpegint.h jpeglib.h jversion.h cdjpeg.h cderror.h transupp.h
darco 56a656
# documentation, test, and support files
darco 56a656
DOCS= README install.doc usage.doc cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 \
darco 56a656
        wrjpgcom.1 wizard.doc example.c libjpeg.doc structure.doc \
darco 56a656
        coderules.doc filelist.doc change.log
darco 56a656
MKFILES= configure makefile.cfg makefile.ansi makefile.unix makefile.bcc \
darco 56a656
        makefile.mc6 makefile.dj makefile.wat makefile.vc makelib.ds \
darco 56a656
        makeapps.ds makeproj.mac makcjpeg.st makdjpeg.st makljpeg.st \
darco 56a656
        maktjpeg.st makefile.manx makefile.sas makefile.mms makefile.vms \
darco 56a656
        makvms.opt
darco 56a656
CONFIGFILES= jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \
darco 56a656
        jconfig.vc jconfig.mac jconfig.st jconfig.manx jconfig.sas \
darco 56a656
        jconfig.vms
darco 56a656
CONFIGUREFILES= config.guess config.sub install-sh ltconfig ltmain.sh
darco 56a656
OTHERFILES= jconfig.doc ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm
darco 56a656
TESTFILES= testorig.jpg testimg.ppm testimg.bmp testimg.jpg testprog.jpg \
darco 56a656
        testimgp.jpg
darco 56a656
DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \
darco 56a656
        $(CONFIGUREFILES) $(OTHERFILES) $(TESTFILES)
darco 56a656
# library object files common to compression and decompression
darco 56a656
COMOBJECTS= jcomapi.obj jutils.obj jerror.obj jmemmgr.obj $(SYSDEPMEM)
darco 56a656
# compression library object files
darco 56a656
CLIBOBJECTS= jcapimin.obj jcapistd.obj jctrans.obj jcparam.obj jdatadst.obj \
darco 56a656
        jcinit.obj jcmaster.obj jcmarker.obj jcmainct.obj jcprepct.obj \
darco 56a656
        jccoefct.obj jccolor.obj jcsample.obj jchuff.obj jcphuff.obj \
darco 56a656
        jcdctmgr.obj jfdctfst.obj jfdctflt.obj jfdctint.obj
darco 56a656
# decompression library object files
darco 56a656
DLIBOBJECTS= jdapimin.obj jdapistd.obj jdtrans.obj jdatasrc.obj \
darco 56a656
        jdmaster.obj jdinput.obj jdmarker.obj jdhuff.obj jdphuff.obj \
darco 56a656
        jdmainct.obj jdcoefct.obj jdpostct.obj jddctmgr.obj jidctfst.obj \
darco 56a656
        jidctflt.obj jidctint.obj jidctred.obj jdsample.obj jdcolor.obj \
darco 56a656
        jquant1.obj jquant2.obj jdmerge.obj
darco 56a656
# These objectfiles are included in libjpeg.olb
darco 56a656
LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
darco 56a656
# object files for sample applications (excluding library files)
darco 56a656
COBJECTS= cjpeg.obj rdppm.obj rdgif.obj rdtarga.obj rdrle.obj rdbmp.obj \
darco 56a656
        rdswitch.obj cdjpeg.obj
darco 56a656
DOBJECTS= djpeg.obj wrppm.obj wrgif.obj wrtarga.obj wrrle.obj wrbmp.obj \
darco 56a656
        rdcolmap.obj cdjpeg.obj
darco 56a656
TROBJECTS= jpegtran.obj rdswitch.obj cdjpeg.obj transupp.obj
darco 56a656
# objectfile lists with commas --- what a crock
darco 56a656
COBJLIST= cjpeg.obj,rdppm.obj,rdgif.obj,rdtarga.obj,rdrle.obj,rdbmp.obj,\
darco 56a656
          rdswitch.obj,cdjpeg.obj
darco 56a656
DOBJLIST= djpeg.obj,wrppm.obj,wrgif.obj,wrtarga.obj,wrrle.obj,wrbmp.obj,\
darco 56a656
          rdcolmap.obj,cdjpeg.obj
darco 56a656
TROBJLIST= jpegtran.obj,rdswitch.obj,cdjpeg.obj,transupp.obj
darco 56a656
LIBOBJLIST= jcapimin.obj,jcapistd.obj,jctrans.obj,jcparam.obj,jdatadst.obj,\
darco 56a656
          jcinit.obj,jcmaster.obj,jcmarker.obj,jcmainct.obj,jcprepct.obj,\
darco 56a656
          jccoefct.obj,jccolor.obj,jcsample.obj,jchuff.obj,jcphuff.obj,\
darco 56a656
          jcdctmgr.obj,jfdctfst.obj,jfdctflt.obj,jfdctint.obj,jdapimin.obj,\
darco 56a656
          jdapistd.obj,jdtrans.obj,jdatasrc.obj,jdmaster.obj,jdinput.obj,\
darco 56a656
          jdmarker.obj,jdhuff.obj,jdphuff.obj,jdmainct.obj,jdcoefct.obj,\
darco 56a656
          jdpostct.obj,jddctmgr.obj,jidctfst.obj,jidctflt.obj,jidctint.obj,\
darco 56a656
          jidctred.obj,jdsample.obj,jdcolor.obj,jquant1.obj,jquant2.obj,\
darco 56a656
          jdmerge.obj,jcomapi.obj,jutils.obj,jerror.obj,jmemmgr.obj,$(SYSDEPMEM)
darco 56a656
darco 56a656
darco 56a656
.first
darco 56a656
	@- Define /NoLog Sys Sys$Library
darco 56a656
darco 56a656
ALL : libjpeg.olb cjpeg.exe djpeg.exe jpegtran.exe rdjpgcom.exe wrjpgcom.exe
darco 56a656
	@ Continue
darco 56a656
darco 56a656
libjpeg.olb : $(LIBOBJECTS)
darco 56a656
	Library /Create libjpeg.olb $(LIBOBJLIST)
darco 56a656
darco 56a656
cjpeg.exe : $(COBJECTS) libjpeg.olb
darco 56a656
	$(LINK) $(LFLAGS) /Executable = cjpeg.exe $(COBJLIST),libjpeg.olb/Library$(OPT)
darco 56a656
darco 56a656
djpeg.exe : $(DOBJECTS) libjpeg.olb
darco 56a656
	$(LINK) $(LFLAGS) /Executable = djpeg.exe $(DOBJLIST),libjpeg.olb/Library$(OPT)
darco 56a656
darco 56a656
jpegtran.exe : $(TROBJECTS) libjpeg.olb
darco 56a656
	$(LINK) $(LFLAGS) /Executable = jpegtran.exe $(TROBJLIST),libjpeg.olb/Library$(OPT)
darco 56a656
darco 56a656
rdjpgcom.exe : rdjpgcom.obj
darco 56a656
	$(LINK) $(LFLAGS) /Executable = rdjpgcom.exe rdjpgcom.obj$(OPT)
darco 56a656
darco 56a656
wrjpgcom.exe : wrjpgcom.obj
darco 56a656
	$(LINK) $(LFLAGS) /Executable = wrjpgcom.exe wrjpgcom.obj$(OPT)
darco 56a656
darco 56a656
jconfig.h : jconfig.vms
darco 56a656
	@- Copy jconfig.vms jconfig.h
darco 56a656
darco 56a656
clean :
darco 56a656
	@- Set Protection = Owner:RWED *.*;-1
darco 56a656
	@- Set Protection = Owner:RWED *.OBJ
darco 56a656
	- Purge /NoLog /NoConfirm *.*
darco 56a656
	- Delete /NoLog /NoConfirm *.OBJ;
darco 56a656
darco 56a656
test : cjpeg.exe djpeg.exe jpegtran.exe
darco 56a656
	mcr sys$disk:[]djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
darco 56a656
	mcr sys$disk:[]djpeg -dct int -bmp -colors 256 -outfile testout.bmp testorig.jpg
darco 56a656
	mcr sys$disk:[]cjpeg -dct int      -outfile testout.jpg testimg.ppm
darco 56a656
	mcr sys$disk:[]djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg
darco 56a656
	mcr sys$disk:[]cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm
darco 56a656
	mcr sys$disk:[]jpegtran -outfile testoutt.jpg testprog.jpg
darco 56a656
	- Backup /Compare/Log	  testimg.ppm testout.ppm
darco 56a656
	- Backup /Compare/Log	  testimg.bmp testout.bmp
darco 56a656
	- Backup /Compare/Log	  testimg.jpg testout.jpg
darco 56a656
	- Backup /Compare/Log	  testimg.ppm testoutp.ppm
darco 56a656
	- Backup /Compare/Log	  testimgp.jpg testoutp.jpg
darco 56a656
	- Backup /Compare/Log	  testorig.jpg testoutt.jpg
darco 56a656
darco 56a656
darco 56a656
jcapimin.obj : jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jcapistd.obj : jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jccoefct.obj : jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jccolor.obj : jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jcdctmgr.obj : jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
darco 56a656
jchuff.obj : jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
darco 56a656
jcinit.obj : jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jcmainct.obj : jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jcmarker.obj : jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jcmaster.obj : jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jcomapi.obj : jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jcparam.obj : jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jcphuff.obj : jcphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
darco 56a656
jcprepct.obj : jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jcsample.obj : jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jctrans.obj : jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jdapimin.obj : jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jdapistd.obj : jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jdatadst.obj : jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
darco 56a656
jdatasrc.obj : jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
darco 56a656
jdcoefct.obj : jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jdcolor.obj : jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jddctmgr.obj : jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
darco 56a656
jdhuff.obj : jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
darco 56a656
jdinput.obj : jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jdmainct.obj : jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jdmarker.obj : jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jdmaster.obj : jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jdmerge.obj : jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jdphuff.obj : jdphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
darco 56a656
jdpostct.obj : jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jdsample.obj : jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jdtrans.obj : jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jerror.obj : jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
darco 56a656
jfdctflt.obj : jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
darco 56a656
jfdctfst.obj : jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
darco 56a656
jfdctint.obj : jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
darco 56a656
jidctflt.obj : jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
darco 56a656
jidctfst.obj : jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
darco 56a656
jidctint.obj : jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
darco 56a656
jidctred.obj : jidctred.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
darco 56a656
jquant1.obj : jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jquant2.obj : jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jutils.obj : jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
darco 56a656
jmemmgr.obj : jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
darco 56a656
jmemansi.obj : jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
darco 56a656
jmemname.obj : jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
darco 56a656
jmemnobs.obj : jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
darco 56a656
jmemdos.obj : jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
darco 56a656
jmemmac.obj : jmemmac.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
darco 56a656
cjpeg.obj : cjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
darco 56a656
djpeg.obj : djpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
darco 56a656
jpegtran.obj : jpegtran.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h transupp.h jversion.h
darco 56a656
rdjpgcom.obj : rdjpgcom.c jinclude.h jconfig.h
darco 56a656
wrjpgcom.obj : wrjpgcom.c jinclude.h jconfig.h
darco 56a656
cdjpeg.obj : cdjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
darco 56a656
rdcolmap.obj : rdcolmap.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
darco 56a656
rdswitch.obj : rdswitch.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
darco 56a656
transupp.obj : transupp.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h transupp.h
darco 56a656
rdppm.obj : rdppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
darco 56a656
wrppm.obj : wrppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
darco 56a656
rdgif.obj : rdgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
darco 56a656
wrgif.obj : wrgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
darco 56a656
rdtarga.obj : rdtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
darco 56a656
wrtarga.obj : wrtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
darco 56a656
rdbmp.obj : rdbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
darco 56a656
wrbmp.obj : wrbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
darco 56a656
rdrle.obj : rdrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
darco 56a656
wrrle.obj : wrrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h