JPEGView/Independent JPEG Group/makefile.mms

1 line
8.4 KiB
Plaintext
Raw Permalink Normal View History

# Makefile for Independent JPEG Group's software # This makefile is for use with MMS on VAX/VMS systems. # Thanks to Rick Dyson (dyson@iowasp.physics.uiowa.edu) # and Tim Bell (tbell@netcom.com) for their help. # Read installation instructions before saying "MMS" !! # You may need to adjust these cc options: CFLAGS= $(CFLAGS) /NoDebug /Optimize # Generally, we recommend defining any configuration symbols in jconfig.h, # NOT via /Define switches here. OPT= Sys$Disk:[]MAKVMS.OPT # Put here the object file name for the correct system-dependent memory # manager file. For Unix this is usually jmemnobs.o, but you may want # to use jmemansi.o or jmemname.o if you have limited swap space. SYSDEPMEM= jmemnobs.obj # End of configurable options. # source files: JPEG library proper LIBSOURCES= jcapi.c jccoefct.c jccolor.c jcdctmgr.c jchuff.c jcmainct.c \ jcmarker.c jcmaster.c jcomapi.c jcparam.c jcprepct.c jcsample.c \ jdapi.c jdatasrc.c jdatadst.c jdcoefct.c jdcolor.c jddctmgr.c \ jdhuff.c jdmainct.c jdmarker.c jdmaster.c jdpostct.c jdsample.c \ jerror.c jutils.c jfdctllm.c jidctllm.c jidctred.c jquant1.c \ jquant2.c jmemmgr.c jmemansi.c jmemname.c jmemnobs.c jmemdos.c # source files: cjpeg/djpeg applications APPSOURCES= cjpeg.c djpeg.c rdppm.c wrppm.c rdgif.c wrgif.c rdtarga.c \ wrtarga.c SOURCES= $(LIBSOURCES) $(APPSOURCES) # files included by source files INCLUDES= jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h jpegint.h \ jpeglib.h jversion.h cdjpeg.h cderror.h # documentation, test, and support files DOCS= README install.doc usage.doc cjpeg.1 djpeg.1 example.c libjpeg.doc \ structure.doc coderules.doc filelist.doc change.log MAKEFILES= configure makefile.auto makefile.ansi makefile.unix \ makefile.manx makefile.sas makcjpeg.st makdjpeg.st makljpeg.st \ makefile.bcc makefile.mc6 makefile.mms makefile.vms makvms.opt CONFIGFILES= jconfig.auto jconfig.manx jconfig.sas jconfig.st jconfig.bcc \ jconfig.mc6 jconfig.vms OTHERFILES= jconfig.doc ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm TESTFILES= testorig.jpg testimg.ppm testimg.gif testimg.jpg DISTFILES= $(DOCS) $(MAKEFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \ $(OTHERFILES) $(TESTFILES) # library object files common to compression and decompression COMOBJECTS= jcomapi.obj jutils.obj jerror.obj jmemmgr.obj $(SYSDEPMEM) # compression library object files CLIBOBJECTS= jcapi.obj jcparam.obj jdatadst.obj jcmaster.obj jcmarker.obj \ jcmainct.obj jcprepct.obj jccoefct.obj jccolor.obj jcsample.obj \ jchuff.obj jcdctmgr.obj jfdctllm.obj # decompression library object files DLIBOBJECTS= jdapi.obj jdatasrc.obj jdmaster.obj jdmarker.obj jdmainct.obj \ jdcoefct.obj jdpostct.obj jddctmgr.obj jidctllm.obj jidctred.obj \ jdhuff.obj jdsample.obj jdcolor.obj jquant1.obj jquant2.obj # These objectfiles are included in libjpeg.olb LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS) # object files for cjpeg and djpeg applications (excluding library files) COBJECTS= cjpeg.obj rdppm.obj rdgif.obj rdtarga.obj DOBJECTS= djpeg.obj wrppm.obj wrgif.obj wrtarga.obj # objectfile lists with commas --- what a crock COBJLIST= cjpeg.obj,rdppm.obj,rdgif.obj,rdtarga.obj DOBJLIST= djpeg.obj,wrppm.obj,wrgif.obj,wrtarga.obj LIBOBJLIST= jcapi.obj,jcparam.obj,jdatadst.obj,jcmaster.obj,jcmarker.obj,\ jcmainct.obj,jcprepct.obj,jccoefct.obj,jccolor.obj,jcsample.obj,\ jchuff.obj,jcdctmgr.obj,jfdctllm.obj,jdapi.obj,jdatasrc.obj,\ jdmaster.obj,jdmarker.obj,jdmainct.obj,jdcoefct.obj,jdpostct.obj,\ jddctmgr.obj,jidctllm.obj,jidctred.obj,jdhuff.obj,jdsample.obj,\ jdcolor.obj,jquant1.obj,jquant2.obj,jcomapi.obj,jutils.obj,\ jerror.obj,jmemmgr.obj,$(SYSDEPMEM) .first @ Define Sys Sys$Library ALL : libjpeg.olb cjpeg.exe djpeg.exe @ Continue libjpeg.olb : $(LIBOBJECTS) Library /Create libjpeg.olb $(LIBOBJLIST) cjpeg.exe : $(COBJECTS) libjpeg.olb $(LINK) $(LFLAGS) /Executable = cjpeg.exe $(COBJLIST),libjpeg.olb/Library,$(OP