#*********************************************************
#* This source code copyright (c) 1991-2001, Aaron Giles *
#* See the Read Me file for licensing information.       *
#* Contact email: mac@aarongiles.com                     *
#*********************************************************

#--------------------------------------------------------------------
#
# JPEGView MakeFile
#
# Created: 23 Jan 94
# Modified: 17 Mar 94
#
#--------------------------------------------------------------------
# Step 1: Define the variables
#--------------------------------------------------------------------

#--------------------------------- General application variables
AppName = JPEGView
Creator = 'JVWR'
Type = 'APPL'

#--------------------------------- Directories and dependencies
ObjDir = :Objects:
CSrcDir = :Source:C:
68kSrcDir = :Source:68020:
RsrcDir = :Resources:
HeaderDir = :Headers:
LinkDir = :LinkerOutput:
IWDir = :InfinityWindoid:
"{ObjDir}" Ä "{CSrcDir}" "{68kSrcDir}"

#--------------------------------- Include paths
IncludePaths = -i "{MPW}"Interfaces:PPCCIncludes: -i "{HeaderDir}" -i :

#--------------------------------- Library variables
PPCLibs = "{PPCLibraries}"DragLib.xcoff ¶
		  "{PPCLibraries}"InterfaceLib.xcoff ¶
		  "{PPCLibraries}"PPCCRuntime.o ¶
		  "{PPCLibraries}"StdCLib.xcoff ¶
		  "{PPCLibraries}"StdCRuntime.o ¶
		  "{PPCLibraries}"QuickTimeLib.xcoff ¶
		  "{PPCLibraries}"ObjectSupportLib.xcoff ¶
		  :Libraries:JPEGLib.xcoff

PPCRuntime = -l DragLib.xcoff=DragLib~ ¶
			 -l InterfaceLib.xcoff=InterfaceLib ¶
			 -l StdCLib.xcoff=StdCLib ¶
			 -l QuickTimeLib.xcoff=QuickTimeLib~ ¶
			 -l ObjectSupportLib.xcoff=ObjectSupportLib~

PPCSoftLinks = 

68kLibs = "{CLibraries}"StdCLib.o ¶
		  "{Libraries}"Runtime.o ¶
		  "{Libraries}"Interface.o ¶
		  "{Libraries}"AEObjectSupportLib.o ¶
		  :Libraries:JPEGLib.o

#--------------------------------- Object list variables
PPCObjects = "{ObjDir}"AppleEventUtils.c.ppc.o ¶
			 "{ObjDir}"AppleMenu.c.ppc.o ¶
			 "{ObjDir}"BMP.c.ppc.o ¶
			 "{ObjDir}"Bottlenecks.c.ppc.o ¶
			 "{ObjDir}"cApplication.c.ppc.o ¶
			 "{ObjDir}"cDocument.c.ppc.o ¶
			 "{ObjDir}"cDrawingArea.c.ppc.o ¶
			 "{ObjDir}"cFile.c.ppc.o ¶
			 "{ObjDir}"cImage.c.ppc.o ¶
			 "{ObjDir}"ColorsMenu.c.ppc.o ¶
			 "{ObjDir}"ColorsWindow.c.ppc.o ¶
			 "{ObjDir}"CommentsWindow.c.ppc.o ¶
			 "{ObjDir}"CompressedResource.c.ppc.o ¶
			 "{ObjDir}"CoreEventHandlers.c.ppc.o ¶
			 "{ObjDir}"cPixelMap.c.ppc.o ¶
			 "{ObjDir}"cSelection.c.ppc.o ¶
			 "{ObjDir}"CustomCopyBits.c.ppc.o ¶
			 "{ObjDir}"cWindow.c.ppc.o ¶
			 "{ObjDir}"DialogUtils.c.ppc.o ¶
			 "{ObjDir}"EditMenu.c.ppc.o ¶
			 "{ObjDir}"EventHandlers.c.ppc.o ¶
			 "{ObjDir}"EventUtils.c.ppc.o ¶
			 "{ObjDir}"FileMenu.c.ppc.o ¶
			 "{ObjDir}"FloatingWindows.c.ppc.o ¶
			 "{ObjDir}"GeneralMenus.c.ppc.o ¶
			 "{ObjDir}"GIF.c.ppc.o ¶
			 "{ObjDir}"HelpMenu.c.ppc.o ¶
			 "{ObjDir}"ImageUtils.c.ppc.o ¶
			 "{ObjDir}"JPEG.c.ppc.o ¶
			 "{ObjDir}"JPEGNoQuickTime.c.ppc.o ¶
			 "{ObjDir}"JPEGView.c.ppc.o ¶
			 "{ObjDir}"JPEGViewEventHandlers.c.ppc.o ¶
			 "{ObjDir}"JPEGViewGlobals.c.ppc.o ¶
			 "{ObjDir}"MarchingAnts.c.ppc.o ¶
			 "{ObjDir}"MemoryUtils.c.ppc.o ¶
			 "{ObjDir}"MercutioAPI.c.ppc.o ¶
			 "{ObjDir}"MiscellaneousUtils.c.ppc.o ¶
			 "{ObjDir}"MonitorUtils.c.ppc.o ¶
			 "{ObjDir}"PICT.c.ppc.o ¶
			 "{ObjDir}"PNTG.c.ppc.o ¶
			 "{ObjDir}"Preferences.c.ppc.o ¶
			 "{ObjDir}"ProgressProcs.c.ppc.o ¶
			 "{ObjDir}"QDxDispatchPatch.c.ppc.o ¶
			 "{ObjDir}"Quantize.c.ppc.o ¶
			 "{ObjDir}"QuickDrawUtils.c.ppc.o ¶
			 "{ObjDir}"RequiredEventHandlers.c.ppc.o ¶
			 "{ObjDir}"SaveOpen.c.ppc.o ¶
			 "{ObjDir}"SCRN.c.ppc.o ¶
			 "{ObjDir}"SendAppleEvents.c.ppc.o ¶
			 "{ObjDir}"SlideControlsWindow.c.ppc.o ¶
			 "{ObjDir}"SlideShow.c.ppc.o ¶
			 "{ObjDir}"SlideShowOptions.c.ppc.o ¶
			 "{ObjDir}"StandardFolder.c.ppc.o ¶
			 "{ObjDir}"StatisticsWindow.c.ppc.o ¶
			 "{ObjDir}"TIFF.c.ppc.o ¶
			 "{ObjDir}"ViewMenu.c.ppc.o ¶
			 "{ObjDir}"WindowMenu.c.ppc.o ¶
			 "{ObjDir}"WindowUtils.c.ppc.o

68kObjects = "{ObjDir}"AppleEventUtils.c.68k.o ¶
			 "{ObjDir}"AppleMenu.c.68k.o ¶
			 "{ObjDir}"BMP.c.68k.o ¶
			 "{ObjDir}"Bottlenecks.c.68k.o ¶
			 "{ObjDir}"cApplication.c.68k.o ¶
			 "{ObjDir}"cDocument.c.68k.o ¶
			 "{ObjDir}"cDrawingArea.c.68k.o ¶
			 "{ObjDir}"cFile.c.68k.o ¶
			 "{ObjDir}"cImage.c.68k.o ¶
			 "{ObjDir}"ColorsMenu.c.68k.o ¶
			 "{ObjDir}"ColorsWindow.c.68k.o ¶
			 "{ObjDir}"CommentsWindow.c.68k.o ¶
			 "{ObjDir}"CompressedResource.c.68k.o ¶
			 "{ObjDir}"CoreEventHandlers.c.68k.o ¶
			 "{ObjDir}"cPixelMap.c.68k.o ¶
			 "{ObjDir}"cSelection.c.68k.o ¶
			 "{ObjDir}"CustomCopyBits.c.68k.o ¶
			 "{ObjDir}"CustomCopyBits.a.68k.o ¶
			 "{ObjDir}"cWindow.c.68k.o ¶
			 "{ObjDir}"DialogUtils.c.68k.o ¶
			 "{ObjDir}"EditMenu.c.68k.o ¶
			 "{ObjDir}"EventHandlers.c.68k.o ¶
			 "{ObjDir}"EventUtils.c.68k.o ¶
			 "{ObjDir}"FileMenu.c.68k.o ¶
			 "{ObjDir}"FloatingWindows.c.68k.o ¶
			 "{ObjDir}"GeneralMenus.c.68k.o ¶
			 "{ObjDir}"GIF.a.68k.o ¶
			 "{ObjDir}"GIF.c.68k.o ¶
			 "{ObjDir}"HelpMenu.c.68k.o ¶
			 "{ObjDir}"ImageUtils.c.68k.o ¶
			 "{ObjDir}"JPEG.c.68k.o ¶
			 "{ObjDir}"JPEGNoQuickTime.c.68k.o ¶
			 "{ObjDir}"JPEGView.c.68k.o ¶
			 "{ObjDir}"JPEGViewEventHandlers.c.68k.o ¶
			 "{ObjDir}"JPEGViewGlobals.c.68k.o ¶
			 "{ObjDir}"MarchingAnts.c.68k.o ¶
			 "{ObjDir}"MemoryUtils.c.68k.o ¶
			 "{ObjDir}"MercutioAPI.c.68k.o ¶
			 "{ObjDir}"MiscellaneousUtils.c.68k.o ¶
			 "{ObjDir}"MonitorUtils.c.68k.o ¶
			 "{ObjDir}"PICT.c.68k.o ¶
			 "{ObjDir}"PNTG.c.68k.o ¶
			 "{ObjDir}"Preferences.c.68k.o ¶
			 "{ObjDir}"ProgressProcs.c.68k.o ¶
			 "{ObjDir}"QDxDispatchPatch.c.68k.o ¶
			 "{ObjDir}"Quantize.a.68k.o ¶
			 "{ObjDir}"Quantize.c.68k.o ¶
			 "{ObjDir}"QuickDrawUtils.c.68k.o ¶
			 "{ObjDir}"RequiredEventHandlers.c.68k.o ¶
			 "{ObjDir}"SaveOpen.c.68k.o ¶
			 "{ObjDir}"SCRN.c.68k.o ¶
			 "{ObjDir}"SendAppleEvents.c.68k.o ¶
			 "{ObjDir}"SlideControlsWindow.c.68k.o ¶
			 "{ObjDir}"SlideShow.c.68k.o ¶
			 "{ObjDir}"SlideShowOptions.c.68k.o ¶
			 "{ObjDir}"StandardFolder.c.68k.o ¶
			 "{ObjDir}"StatisticsWindow.c.68k.o ¶
			 "{ObjDir}"TIFF.c.68k.o ¶
			 "{ObjDir}"ViewMenu.c.68k.o ¶
			 "{ObjDir}"WindowMenu.c.68k.o ¶
			 "{ObjDir}"WindowUtils.c.68k.o

#--------------------------------- Compiler options
PPCCOptions = -sym off -appleext on {IncludePaths}
PPCCOptionsOpt = -opt speed -appleext on {IncludePaths}
68kCOptions = -mbg off -sym off -r -mc68020 -opt speed {IncludePaths}
68kAsmOptions = -case object -i "{68kSrcDir}"

#--------------------------------------------------------------------
# Step 2: Dependencies for the fat binary
#--------------------------------------------------------------------

#--------------------------------- The application itself
{AppName}.fat ÄÄ {AppName}.ppc {AppName}.68k "{AppName} Help"
	duplicate -d -y {AppName}.ppc {AppName}.fat
	SetFile {AppName}.fat -a BM
	echo "include ¶"{AppName}.68k¶" 'CODE';" | Rez -o {AppName}.fat -append

#--------------------------------- Resources for the application
{AppName}.fat ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"aeteResource.r
	Rez "{RsrcDir}"aeteResource.r -d FAT -append -i "{HeaderDir}" -o {AppName}.fat
{AppName}.fat ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"DialogResources.r
	Rez "{RsrcDir}"DialogResources.r -d FAT -append -i "{HeaderDir}" -o {AppName}.fat
{AppName}.fat ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"GeneralResources.r
	Rez "{RsrcDir}"GeneralResources.r -d FAT -append -i "{HeaderDir}" -o {AppName}.fat
{AppName}.fat ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"MenuResources.r
	Rez "{RsrcDir}"MenuResources.r -d FAT -append -i "{HeaderDir}" -o {AppName}.fat
{AppName}.fat ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"PowerPCResources.r
	Rez "{RsrcDir}"PowerPCResources.r -d FAT -append -i "{HeaderDir}" -o {AppName}.fat
{AppName}.fat ÄÄ "{RsrcDir}"Supplemental.rsrc
	echo "include ¶"{RsrcDir}Supplemental.rsrc¶";" | Rez -append -o {AppName}.fat
{AppName}.fat ÄÄ "{RsrcDir}"About.PICT.rsrc
	echo "include ¶"{RsrcDir}About.PICT.rsrc¶";" | Rez -append -o {AppName}.fat
{AppName}.fat ÄÄ "{RsrcDir}"InfinityWindoid.fat.rsrc
	echo "include ¶"{RsrcDir}InfinityWindoid.fat.rsrc¶";" | Rez -append -o {AppName}.fat
{AppName}.fat ÄÄ "{RsrcDir}"Mercutio.rsrc
	echo "include ¶"{RsrcDir}Mercutio.rsrc¶";" | Rez -append -o {AppName}.fat
{AppName}.fat ÄÄ "{RsrcDir}"QDxDispatchPatch.rsrc
	echo "include ¶"{RsrcDir}QDxDispatchPatch.rsrc¶";" | Rez -append -o {AppName}.fat

#--------------------------------------------------------------------
# Step 3: Compile dependencies for PPC
#--------------------------------------------------------------------

#--------------------------------- The application itself
{AppName}.ppc ÄÄ {PPCObjects} "{HeaderDir}"JPEGView.h "{HeaderDir}"JPEGView.r.h
	PPCLink {PPCObjects} {PPCLibs} -sym on -o "{LinkDir}"{AppName}.xcoff ¶
		-uf "{LinkDir}"{AppName}.ppc.unref -map "{LinkDir}"{AppName}.ppc.map
	MakePEF "{LinkDir}"{AppName}.xcoff {PPCSoftLinks} -ft {Type} -fc {Creator} -o {AppName}.ppc {PPCRuntime}
	SetFile {AppName}.ppc -a BM
	MakeSYM "{LinkDir}"{AppName}.xcoff -r -o "{LinkDir}"{AppName}.xSYM
	delete "{LinkDir}"{AppName}.xcoff

#--------------------------------- Resources for the application
{AppName}.ppc ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"aeteResource.r
	Rez "{RsrcDir}"aeteResource.r -d PPC -append -i "{HeaderDir}" -o {AppName}.ppc
{AppName}.ppc ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"DialogResources.r
	Rez "{RsrcDir}"DialogResources.r -d PPC -append -i "{HeaderDir}" -o {AppName}.ppc
{AppName}.ppc ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"GeneralResources.r
	Rez "{RsrcDir}"GeneralResources.r -d PPC -append -i "{HeaderDir}" -o {AppName}.ppc
{AppName}.ppc ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"MenuResources.r
	Rez "{RsrcDir}"MenuResources.r -d PPC -append -i "{HeaderDir}" -o {AppName}.ppc
{AppName}.ppc ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"PowerPCResources.r
	Rez "{RsrcDir}"PowerPCResources.r -d PPC -append -i "{HeaderDir}" -o {AppName}.ppc
{AppName}.ppc ÄÄ "{RsrcDir}"Supplemental.rsrc
	echo "include ¶"{RsrcDir}Supplemental.rsrc¶";" | Rez -append -o {AppName}.ppc
{AppName}.ppc ÄÄ "{RsrcDir}"About.PICT.rsrc
	echo "include ¶"{RsrcDir}About.PICT.rsrc¶";" | Rez -append -o {AppName}.ppc
{AppName}.ppc ÄÄ "{RsrcDir}"InfinityWindoid.ppc.rsrc
	echo "include ¶"{RsrcDir}InfinityWindoid.ppc.rsrc¶";" | Rez -append -o {AppName}.ppc
{AppName}.ppc ÄÄ "{RsrcDir}"Mercutio.rsrc
	echo "include ¶"{RsrcDir}Mercutio.rsrc¶";" | Rez -append -o {AppName}.ppc
{AppName}.ppc ÄÄ "{RsrcDir}"QDxDispatchPatch.rsrc
	echo "include ¶"{RsrcDir}QDxDispatchPatch.rsrc¶";" | Rez -append -o {AppName}.ppc
{AppName}.ppc ÄÄ "{RsrcDir}"PowerPCStub.rsrc
	echo "include ¶"{RsrcDir}PowerPCStub.rsrc¶";" | Rez -append -o {AppName}.ppc

#--------------------------------- Source files
"{ObjDir}"Bottlenecks.c.ppc.o Ä "{CSrcDir}"Bottlenecks.c
	PPCC "{CSrcDir}"Bottlenecks.c -o "{ObjDir}"Bottlenecks.c.ppc.o {PPCCOptionsOpt}
"{ObjDir}"CustomCopyBits.c.ppc.o Ä "{CSrcDir}"CustomCopyBits.c
	PPCC "{CSrcDir}"CustomCopyBits.c -o "{ObjDir}"CustomCopyBits.c.ppc.o {PPCCOptionsOpt}
"{ObjDir}"GIF.c.ppc.o Ä "{CSrcDir}"GIF.c
	PPCC "{CSrcDir}"GIF.c -o "{ObjDir}"GIF.c.ppc.o {PPCCOptionsOpt}
"{ObjDir}"Quantize.c.ppc.o Ä "{CSrcDir}"Quantize.c
	PPCC "{CSrcDir}"Quantize.c -o "{ObjDir}"Quantize.c.ppc.o {PPCCOptionsOpt}
"{ObjDir}"TIFF.c.ppc.o Ä "{CSrcDir}"TIFF.c
	PPCC "{CSrcDir}"TIFF.c -o "{ObjDir}"TIFF.c.ppc.o {PPCCOptionsOpt}
.c.ppc.o Ä .c
	PPCC "{DepDir}""{default}".c -o "{TargDir}""{default}".c.ppc.o {PPCCOptionsOpt}

#--------------------------------------------------------------------
# Step 4: Compile dependencies for 68k
#--------------------------------------------------------------------

#--------------------------------- The application itself
{AppName}.68k ÄÄ {68kObjects}
	Link {68kObjects} {68kLibs} -o {AppName}.68k -t {Type} -c {Creator} ¶
		-ra =resLocked -rn -sym on ¶
		-uf "{LinkDir}"{AppName}.68k.unref -map >"{LinkDir}"{AppName}.68k.map
	SetFile {AppName}.68k -a BM

#--------------------------------- Resources for the application
{AppName}.68k ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"aeteResource.r
	Rez "{RsrcDir}"aeteResource.r -append -i "{HeaderDir}" -o {AppName}.68k
{AppName}.68k ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"DialogResources.r
	Rez "{RsrcDir}"DialogResources.r -append -i "{HeaderDir}" -o {AppName}.68k
{AppName}.68k ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"GeneralResources.r
	Rez "{RsrcDir}"GeneralResources.r -append -i "{HeaderDir}" -o {AppName}.68k
{AppName}.68k ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"MenuResources.r
	Rez "{RsrcDir}"MenuResources.r -append -i "{HeaderDir}" -o {AppName}.68k
{AppName}.68k ÄÄ "{RsrcDir}"Supplemental.rsrc
	echo "include ¶"{RsrcDir}Supplemental.rsrc¶";" | Rez -append -o {AppName}.68k
{AppName}.68k ÄÄ "{RsrcDir}"About.PICT.rsrc
	echo "include ¶"{RsrcDir}About.PICT.rsrc¶";" | Rez -append -o {AppName}.68k
{AppName}.68k ÄÄ "{RsrcDir}"InfinityWindoid.rsrc
	echo "include ¶"{RsrcDir}InfinityWindoid.rsrc¶";" | Rez -append -o {AppName}.68k
{AppName}.68k ÄÄ "{RsrcDir}"Mercutio.rsrc
	echo "include ¶"{RsrcDir}Mercutio.rsrc¶";" | Rez -append -o {AppName}.68k
{AppName}.68k ÄÄ "{RsrcDir}"QDxDispatchPatch.rsrc
	echo "include ¶"{RsrcDir}QDxDispatchPatch.rsrc¶";" | Rez -append -o {AppName}.68k

#--------------------------------- Source files
.c.68k.o Ä .c "{HeaderDir}"MPW.Header
	C "{DepDir}""{default}".c -o "{TargDir}""{default}".c.68k.o -s "{default}" {68kCOptions}
.a.68k.o Ä .a
	Asm "{DepDir}""{default}".a -o "{TargDir}""{default}".a.68k.o {68kAsmOptions}
"{HeaderDir}"MPW.Header Ä "{HeaderDir}"JPEGView.h "{HeaderDir}"JPEGView.r.h
	C "{HeaderDir}"JPEGView.h {68kCOptions}

#--------------------------------------------------------------------
# Step 5: Compile dependencies for standalone 68k code
#--------------------------------------------------------------------

#--------------------------------- Link QDxDispatch
"{RsrcDir}"QDxDispatchPatch.rsrc Ä "{ObjDir}"QDxDispatchPatch.a.o
	Link -t rsrc -c RSED -rt xPAT=128 -m QDxDispatchPatch -sg QDxDispatchPatch ¶
		"{ObjDir}"QDxDispatchPatch.a.o -o "{RsrcDir}"QDxDispatchPatch.rsrc

#--------------------------------- Compile QDxDispatch
"{ObjDir}"QDxDispatchPatch.a.o Ä "{68kSrcDir}"QDxDispatchPatch.a
    Asm "{68kSrcDir}"QDxDispatchPatch.a -o "{ObjDir}"QDxDispatchPatch.a.o -case object

#--------------------------------- Link PowerPCStub
"{RsrcDir}"PowerPCStub.rsrc Ä "{ObjDir}"PowerPCStub.c.o
	Link -t rsrc -c RSED ¶
		"{Libraries}"Runtime.o ¶
		"{Libraries}"Interface.o ¶
		"{ObjDir}"PowerPCStub.c.o -o "{RsrcDir}"PowerPCStub.rsrc

#--------------------------------- Compile PowerPCStub
"{ObjDir}"PowerPCStub.c.o Ä "{CSrcDir}"PowerPCStub.c
    C -mbg off -r -opt speed ¶
    	"{CSrcDir}"PowerPCStub.c -o "{ObjDir}"PowerPCStub.c.o

#--------------------------------------------------------------------
# Step 6: Dependencies for the MetroWerks resource files
#--------------------------------------------------------------------

#--------------------------------- The resource file itself
Resources ÄÄ "{AppName} resources" "{AppName} Help"

#--------------------------------- Resources for the application
"{AppName} resources" ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"aeteResource.r
	Rez "{RsrcDir}"aeteResource.r -d FAT -append -t rsrc -c RSED -i "{HeaderDir}" -o "{AppName} resources"
"{AppName} resources" ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"DialogResources.r
	Rez "{RsrcDir}"DialogResources.r -d FAT -append -t rsrc -c RSED -i "{HeaderDir}" -o "{AppName} resources"
"{AppName} resources" ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"GeneralResources.r
	Rez "{RsrcDir}"GeneralResources.r -d FAT -append -t rsrc -c RSED -i "{HeaderDir}" -o "{AppName} resources"
"{AppName} resources" ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"MenuResources.r
	Rez "{RsrcDir}"MenuResources.r -d FAT -append -t rsrc -c RSED -i "{HeaderDir}" -o "{AppName} resources"
"{AppName} resources" ÄÄ "{RsrcDir}"Supplemental.rsrc
	echo "include ¶"{RsrcDir}Supplemental.rsrc¶";" | Rez -append -t rsrc -c RSED -o "{AppName} resources"
"{AppName} resources" ÄÄ "{RsrcDir}"About.PICT.rsrc
	echo "include ¶"{RsrcDir}About.PICT.rsrc¶";" | Rez -append -t rsrc -c RSED -o "{AppName} resources"
"{AppName} resources" ÄÄ "{RsrcDir}"InfinityWindoid.fat.rsrc
	echo "include ¶"{RsrcDir}InfinityWindoid.fat.rsrc¶";" | Rez -append -t rsrc -c RSED -o "{AppName} resources"
"{AppName} resources" ÄÄ "{RsrcDir}"Mercutio.rsrc
	echo "include ¶"{RsrcDir}Mercutio.rsrc¶";" | Rez -append -t rsrc -c RSED -o "{AppName} resources"
"{AppName} resources" ÄÄ "{RsrcDir}"QDxDispatchPatch.rsrc
	echo "include ¶"{RsrcDir}QDxDispatchPatch.rsrc¶";" | Rez -append -t rsrc -c RSED -o "{AppName} resources"

"{AppName} Help" ÄÄ "{RsrcDir}"HelpText.rsrc
	echo "include ¶"{RsrcDir}HelpText.rsrc¶";" | Rez -append -t HLP! -c JVWR -o "{AppName} Help"
"{AppName} Help" ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"DialogHelpResources.r
	Rez "{RsrcDir}"DialogHelpResources.r -d FAT -append -t HLP! -c JVWR -i "{HeaderDir}" -o "{AppName} Help"
"{AppName} Help" ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"GeneralHelpResources.r
	Rez "{RsrcDir}"GeneralHelpResources.r -d FAT -append -t HLP! -c JVWR -i "{HeaderDir}" -o "{AppName} Help"
"{AppName} Help" ÄÄ "{HeaderDir}"JPEGView.r.h "{RsrcDir}"MenuHelpResources.r
	Rez "{RsrcDir}"MenuHelpResources.r -d FAT -append -t HLP! -c JVWR -i "{HeaderDir}" -o "{AppName} Help"
