# Makefile for Independent JPEG Group's software # This makefile is for Amiga systems using SAS C 5.10b. # Use jmemname.c as the system-dependent memory manager. # Contributed by Ed Hanway (sisd!jeh@uunet.uu.net). # Read SETUP instructions before saying "make" !! # The name of your C compiler: CC= lc # Uncomment the following lines for generic 680x0 version ARCHFLAGS= SUFFIX= # Uncomment the following lines for 68030-only version #ARCHFLAGS= -m3 #SUFFIX=.030 # You may need to adjust these cc options: CFLAGS= -v -b -rr -O -j104 $(ARCHFLAGS) -DHAVE_STDC -DINCLUDES_ARE_ANSI \ -DAMIGA -DTWO_FILE_COMMANDLINE -DINCOMPLETE_TYPES_BROKEN \ -DNO_MKTEMP -DNEED_SIGNAL_CATCHER # -j104 disables warnings for mismatched const qualifiers # Link-time cc options: LDFLAGS= SC SD ND BATCH # To link any special libraries, add the necessary commands here. LDLIBS= LIB LIB:lcr.lib # miscellaneous OS-dependent stuff # linker LN= blink # file deletion command RM= delete quiet # library (.lib) file creation command AR= oml # source files (independently compilable files) SOURCES= jbsmooth.c jcarith.c jccolor.c jcdeflts.c jcexpand.c jchuff.c \ jcmain.c jcmaster.c jcmcu.c jcpipe.c jcsample.c jdarith.c jdcolor.c \ jddeflts.c jdhuff.c jdmain.c jdmaster.c jdmcu.c jdpipe.c jdsample.c \ jerror.c jquant1.c jquant2.c jfwddct.c jrevdct.c jutils.c jmemmgr.c \ jrdjfif.c jrdgif.c jrdppm.c jrdrle.c jrdtarga.c jwrjfif.c jwrgif.c \ jwrppm.c jwrrle.c jwrtarga.c # virtual source files (not present in distribution file) VIRTSOURCES= jmemsys.c # system-dependent implementations of source files SYSDEPFILES= jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemdos.h \ jmemdosa.asm # files included by source files INCLUDES= jinclude.h jconfig.h jpegdata.h jversion.h jmemsys.h egetopt.c # documentation, test, and support files DOCS= README SETUP USAGE CHANGELOG cjpeg.1 djpeg.1 architecture codingrules MAKEFILES= makefile.ansi makefile.unix makefile.manx makefile.sas \ makefile.mc5 makefile.mc6 makcjpeg.lnk makdjpeg.lnk makefile.bcc \ makcjpeg.lst makdjpeg.lst makefile.pwc makcjpeg.cf makdjpeg.cf \ makljpeg.cf makefile.mms makefile.vms makvms.opt OTHERFILES= ansi2knr.c ckconfig.c example.c TESTFILES= testorig.jpg testimg.ppm testimg.gif testimg.jpg DISTFILES= $(DOCS) $(MAKEFILES) $(SOURCES) $(SYSDEPFILES) $(INCLUDES) \ $(OTHERFILES) $(TESTFILES) # objectfiles common to cjpeg and djpeg COMOBJECTS= jutils.o jerror.o jmemmgr.o jmemsys.o # compression objectfiles CLIBOBJECTS= jcmaster.o jcdeflts.o jcarith.o jccolor.o jcexpand.o jchuff.o \ jcmcu.o jcpipe.o jcsample.o jfwddct.o jwrjfif.o jrdgif.o jrdppm.o \ jrdrle.o jrdtarga.o COBJECTS= jcmain.o $(CLIBOBJECTS) $(COMOBJECTS) # decompression objectfiles DLIBOBJECTS= jdmaster.o jddeflts.o jbsmooth.o jdarith.o jdcolor.o jdhuff.o \ jdmcu.o jdpipe.o jdsample.o jquant1.o jquant2.o jrevdct.o jrdjfif.o \ jwrgif.o jwrppm.o jwrrle.o jwrtarga.o DOBJECTS= jdmain.o $(DLIBOBJECTS) $(COMOBJECTS) # These objectfiles are included in libjpeg.lib LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS) all: cjpeg$(SUFFIX) djpeg$(SUFFIX) # By default, libjpeg.lib is not built unless you explicitly request it. # You can add libjpeg.lib to the line above if you want it built by default. cjpeg$(SUFFIX): $(COBJECTS) $(LN)