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

Output = JPEGView JFIF Preview

Type = thng
Creator = JVJP
ResType = pnot
ResID68k = 4213
ResIDPPC = 4214

PPCPefLibs	=	-l InterfaceLib.xcoff=InterfaceLib							¶
				-l StdCLib.xcoff=StdCLib									¶
				-l QuickTimeLib.xcoff=QuickTimeLib							¶
				-l MathLib.xcoff=MathLib

PPCLinkLibs	=	"{PPCLibraries}"InterfaceLib.xcoff 							¶
				"{PPCLibraries}"StdCLib.xcoff 								¶
				"{PPCLibraries}"QuickTimeLib.xcoff 							¶
				"{PPCLibraries}"StdCRuntime.o 								¶
				"{PPCLibraries}"PPCCRuntime.o

"JPEGView JFIF Preview" Ä JFIFPreview.ppc JFIFPreview.68k JFIFPreview.r
	Rez JFIFPreview.r -o "JPEGView JFIF Preview"
	SetFile "JPEGView JFIF Preview" -a B

JFIFPreview.c.o.68k Ä JFIFPreview.c
	C -b -mbg off -opt full -i "{PPCCIncludes}" JFIFPreview.c -o JFIFPreview.c.o.68k

JFIFPreview.68k Ä JFIFPreview.c.o.68k
	Link JFIFPreview.c.o.68k ¶
			"{Libraries}"Interface.o ¶
			-t rsrc ¶
			-c RSED ¶
			-rt pnot=4213 ¶
			-m ENTRYPOINT ¶
			-sg "JPEGView JFIF Preview" ¶
			-o JFIFPreview.68k

JFIFPreview.c.o.ppc Ä JFIFPreview.c
	PPCC -appleext on -opt speed JFIFPreview.c -o JFIFPreview.c.o.ppc

JFIFPreview.ppc Ä JFIFPreview.c.o.ppc
	PPCLink JFIFPreview.c.o.ppc ¶
			{PPCLinkLibs} ¶
			-main EntryPointRD ¶
			-o JFIFPreview.xcoff
	MakePEF -b JFIFPreview.xcoff -o JFIFPreview.ppc {PPCPefLibs}
