From 51f289c2e38f671e5c6fe278d3f6d1dab3a1ed28 Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Fri, 17 Dec 2004 14:06:14 +0000 Subject: [PATCH] compile as a classic powerpc app in MPW --- ChangeLog | 3 +++ D2X.make | 9 ++++++--- arch/carbon/conf.h | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 430d2345..c537604f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,9 @@ * misc/strutil.c: Implement strdup for MPW + * D2X.make, arch/carbon/conf.h: compile as a classic powerpc app + in MPW + 2004-12-07 Chris Taylor * 2d/font.c: Initialise the dataptr member correctly. diff --git a/D2X.make b/D2X.make index 94d70edf..5409a5c2 100644 --- a/D2X.make +++ b/D2X.make @@ -18,7 +18,7 @@ Includes = Sym-PPC = -sym on -PPCCOptions = {Includes} -includes unix {Sym-PPC} -d HAVE_CONFIG_H -enum int -d TARGET_API_MAC_CARBON=1 -noMapCR +PPCCOptions = {Includes} -includes unix {Sym-PPC} -d HAVE_CONFIG_H -enum int -noMapCR ### Source Files ### @@ -307,10 +307,13 @@ ObjFiles-PPC = LibFiles-PPC = ¶ "{SharedLibraries}PhysicsFS" ¶ "{SharedLibraries}SDL" ¶ - "{SharedLibraries}CarbonLib" ¶ - "{SharedLibraries}StdCLib" ¶ "{SharedLibraries}OpenGLLibraryStub" ¶ "{SharedLibraries}OpenGLUtilityStub" ¶ + "{SharedLibraries}StdCLib" ¶ +# "{SharedLibraries}CarbonLib" ¶ + "{SharedLibraries}DialogsLib" ¶ + "{SharedLibraries}InterfaceLib" ¶ + "{SharedLibraries}MathLib" ¶ "{PPCLibraries}StdCRuntime.o" ¶ "{PPCLibraries}PPCCRuntime.o" ¶ "{PPCLibraries}PPCToolLibs.o" diff --git a/arch/carbon/conf.h b/arch/carbon/conf.h index aa6196a8..2dd5c441 100755 --- a/arch/carbon/conf.h +++ b/arch/carbon/conf.h @@ -141,7 +141,7 @@ # define inline # endif -#define TARGET_API_MAC_CARBON 1 +//#define TARGET_API_MAC_CARBON 1 /* Define to 1 if the system has the type `struct timespec'. */ #define HAVE_STRUCT_TIMESPEC 0 -- 2.39.2