This commit is contained in:
kanjitalk755 2019-10-24 11:23:07 +09:00
parent 858f8257a6
commit 96a42689fd
3 changed files with 265 additions and 30 deletions

View File

@ -12,14 +12,9 @@
752F27011F242BAF001032B4 /* prefs_sdl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 752F27001F242BAF001032B4 /* prefs_sdl.cpp */; };
752F27031F242F51001032B4 /* xpram_sdl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 752F27021F242F51001032B4 /* xpram_sdl.cpp */; };
753252E91F535A0C0024025B /* build68k.c in Sources */ = {isa = PBXBuildFile; fileRef = 753252E51F5359040024025B /* build68k.c */; };
753252EE1F535DD10024025B /* defs68k.c in Sources */ = {isa = PBXBuildFile; fileRef = 753252ED1F535DD10024025B /* defs68k.c */; };
753253021F535F210024025B /* gencpu.c in Sources */ = {isa = PBXBuildFile; fileRef = 753253011F535F210024025B /* gencpu.c */; };
753253151F5363400024025B /* defs68k.c in Sources */ = {isa = PBXBuildFile; fileRef = 753252ED1F535DD10024025B /* defs68k.c */; };
753253201F53650F0024025B /* readcpu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7539E0CE1F23B25A006B2DF2 /* readcpu.cpp */; };
753253311F5368370024025B /* cpuemu_nf.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7532532C1F5368370024025B /* cpuemu_nf.cpp */; };
753253321F5368370024025B /* cpuemu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7532532D1F5368370024025B /* cpuemu.cpp */; };
753253331F5368370024025B /* cpustbl_nf.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7532532E1F5368370024025B /* cpustbl_nf.cpp */; };
753253341F5368370024025B /* cpustbl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7532532F1F5368370024025B /* cpustbl.cpp */; };
753253351F53688D0024025B /* readcpu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7539E0CE1F23B25A006B2DF2 /* readcpu.cpp */; };
7539E1251F23B25A006B2DF2 /* adb.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7539DFC91F23B25A006B2DF2 /* adb.cpp */; };
7539E1261F23B25A006B2DF2 /* audio.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7539DFCA1F23B25A006B2DF2 /* audio.cpp */; };
@ -97,7 +92,19 @@
E413D93A20D2614E00E437D8 /* extfs_macosx.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E413D93920D2614E00E437D8 /* extfs_macosx.cpp */; };
E4150D1420D559800077C51A /* SDL2.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E4150D1320D559800077C51A /* SDL2.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
E4555EED2354434B00139FCE /* Credits.html in Resources */ = {isa = PBXBuildFile; fileRef = 7539E00A1F23B25A006B2DF2 /* Credits.html */; };
E46AB23323612B8F009A4A18 /* compemu_fpp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E46AB23123612B8F009A4A18 /* compemu_fpp.cpp */; };
E46AB23423612B8F009A4A18 /* compemu_support.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E46AB23223612B8F009A4A18 /* compemu_support.cpp */; };
E47303B6235743B900A68BC2 /* readcpu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7539E0CE1F23B25A006B2DF2 /* readcpu.cpp */; };
E47303B7235743B900A68BC2 /* defs68k.c in Sources */ = {isa = PBXBuildFile; fileRef = 753252ED1F535DD10024025B /* defs68k.c */; };
E47897F62357441500558C48 /* gencomp.c in Sources */ = {isa = PBXBuildFile; fileRef = E47897F52357441500558C48 /* gencomp.c */; };
E490334E20D3A5890012DD5F /* clip_macosx64.mm in Sources */ = {isa = PBXBuildFile; fileRef = E490334D20D3A5890012DD5F /* clip_macosx64.mm */; };
E4CB2C232361291800718BD3 /* defs68k.c in Sources */ = {isa = PBXBuildFile; fileRef = 753252ED1F535DD10024025B /* defs68k.c */; };
E4CB2C242361292800718BD3 /* cpuemu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7532532D1F5368370024025B /* cpuemu.cpp */; };
E4CB2C252361292800718BD3 /* cpuemu_nf.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7532532C1F5368370024025B /* cpuemu_nf.cpp */; };
E4CB2C262361292800718BD3 /* cpustbl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7532532F1F5368370024025B /* cpustbl.cpp */; };
E4CB2C272361292800718BD3 /* cpustbl_nf.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7532532E1F5368370024025B /* cpustbl_nf.cpp */; };
E4CB2C282361293500718BD3 /* compemu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E47303A2235741B300A68BC2 /* compemu.cpp */; };
E4CB2C2B2361293500718BD3 /* compstbl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E47303A3235741B300A68BC2 /* compstbl.cpp */; };
E4D8245323543D9800849B78 /* fpu_ieee.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4D8245223543D9700849B78 /* fpu_ieee.cpp */; };
/* End PBXBuildFile section */
@ -130,6 +137,27 @@
remoteGlobalIDString = 753253161F5363D20024025B;
remoteInfo = RunGencpu;
};
E47303B3235743B900A68BC2 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 7539DFAA1F23B17E006B2DF2 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 753253071F5360E30024025B;
remoteInfo = RunBuild68k;
};
E47897F72357443300558C48 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 7539DFAA1F23B17E006B2DF2 /* Project object */;
proxyType = 1;
remoteGlobalIDString = E47303B1235743B900A68BC2;
remoteInfo = gencomp;
};
E47897F92357446D00558C48 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 7539DFAA1F23B17E006B2DF2 /* Project object */;
proxyType = 1;
remoteGlobalIDString = E47303BE235743E200A68BC2;
remoteInfo = run_gencomp;
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
@ -162,6 +190,15 @@
);
runOnlyForDeploymentPostprocessing = 1;
};
E47303B9235743B900A68BC2 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = /usr/share/man/man1/;
dstSubfolderSpec = 0;
files = (
);
runOnlyForDeploymentPostprocessing = 1;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
@ -376,6 +413,13 @@
E413D93720D2613500E437D8 /* ether_unix.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ether_unix.cpp; sourceTree = "<group>"; };
E413D93920D2614E00E437D8 /* extfs_macosx.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = extfs_macosx.cpp; sourceTree = "<group>"; };
E4150D1320D559800077C51A /* SDL2.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL2.framework; path = /Library/Frameworks/SDL2.framework; sourceTree = "<group>"; };
E46AB23123612B8F009A4A18 /* compemu_fpp.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = compemu_fpp.cpp; sourceTree = "<group>"; };
E46AB23223612B8F009A4A18 /* compemu_support.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = compemu_support.cpp; sourceTree = "<group>"; };
E47303A1235741B300A68BC2 /* comptbl.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = comptbl.h; path = gencomp_output/comptbl.h; sourceTree = BUILT_PRODUCTS_DIR; };
E47303A2235741B300A68BC2 /* compemu.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = compemu.cpp; path = gencomp_output/compemu.cpp; sourceTree = BUILT_PRODUCTS_DIR; };
E47303A3235741B300A68BC2 /* compstbl.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = compstbl.cpp; path = gencomp_output/compstbl.cpp; sourceTree = BUILT_PRODUCTS_DIR; };
E47303BD235743B900A68BC2 /* gencomp */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = gencomp; sourceTree = BUILT_PRODUCTS_DIR; };
E47897F52357441500558C48 /* gencomp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = gencomp.c; path = compiler/gencomp.c; sourceTree = "<group>"; };
E490334D20D3A5890012DD5F /* clip_macosx64.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = clip_macosx64.mm; sourceTree = "<group>"; };
E4D8245223543D9700849B78 /* fpu_ieee.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = fpu_ieee.cpp; sourceTree = "<group>"; };
/* End PBXFileReference section */
@ -406,6 +450,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
E47303B8235743B900A68BC2 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
@ -472,6 +523,7 @@
753252FF1F535E5D0024025B /* generated src */ = {
isa = PBXGroup;
children = (
E47303A0235741B300A68BC2 /* gencomp output */,
753253001F535E840024025B /* build68k output */,
7532532B1F53675E0024025B /* gencpu output */,
);
@ -484,19 +536,21 @@
753252ED1F535DD10024025B /* defs68k.c */,
);
name = "build68k output";
sourceTree = "<group>";
path = build68k_output;
sourceTree = BUILT_PRODUCTS_DIR;
};
7532532B1F53675E0024025B /* gencpu output */ = {
isa = PBXGroup;
children = (
7532532C1F5368370024025B /* cpuemu_nf.cpp */,
7532532D1F5368370024025B /* cpuemu.cpp */,
7532532E1F5368370024025B /* cpustbl_nf.cpp */,
7532532F1F5368370024025B /* cpustbl.cpp */,
753253301F5368370024025B /* cputbl.h */,
7532532D1F5368370024025B /* cpuemu.cpp */,
7532532C1F5368370024025B /* cpuemu_nf.cpp */,
7532532F1F5368370024025B /* cpustbl.cpp */,
7532532E1F5368370024025B /* cpustbl_nf.cpp */,
);
name = "gencpu output";
sourceTree = "<group>";
path = gencpu_output;
sourceTree = BUILT_PRODUCTS_DIR;
};
7539DFA91F23B17E006B2DF2 = {
isa = PBXGroup;
@ -515,9 +569,9 @@
7539DFB21F23B17E006B2DF2 /* BasiliskII.app */,
753252DA1F5358D30024025B /* build68k */,
753252F31F535E1E0024025B /* gencpu */,
E47303BD235743B900A68BC2 /* gencomp */,
);
name = Products;
path = ../../../../../../../../Documents/Code/macemu/BasiliskII/src/MacOSX;
sourceTree = BUILT_PRODUCTS_DIR;
};
7539DFCC1F23B25A006B2DF2 /* CrossPlatform */ = {
@ -621,6 +675,7 @@
7539E0B11F23B25A006B2DF2 /* cpu_emulation.h */,
7539E0B31F23B25A006B2DF2 /* fpu */,
753253011F535F210024025B /* gencpu.c */,
E47897F52357441500558C48 /* gencomp.c */,
7539E0C81F23B25A006B2DF2 /* m68k.h */,
7539E0C91F23B25A006B2DF2 /* memory.cpp */,
7539E0CA1F23B25A006B2DF2 /* memory.h */,
@ -641,6 +696,8 @@
children = (
7539E0AB1F23B25A006B2DF2 /* compemu.h */,
7539E0AE1F23B25A006B2DF2 /* flags_x86.h */,
E46AB23123612B8F009A4A18 /* compemu_fpp.cpp */,
E46AB23223612B8F009A4A18 /* compemu_support.cpp */,
);
path = compiler;
sourceTree = "<group>";
@ -788,6 +845,17 @@
path = ../dummy;
sourceTree = "<group>";
};
E47303A0235741B300A68BC2 /* gencomp output */ = {
isa = PBXGroup;
children = (
E47303A1235741B300A68BC2 /* comptbl.h */,
E47303A2235741B300A68BC2 /* compemu.cpp */,
E47303A3235741B300A68BC2 /* compstbl.cpp */,
);
name = "gencomp output";
path = gencomp_output;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXGroup section */
/* Begin PBXLegacyTarget section */
@ -821,6 +889,21 @@
passBuildSettingsInEnvironment = 1;
productName = RunGencpu;
};
E47303BE235743E200A68BC2 /* run_gencomp */ = {
isa = PBXLegacyTarget;
buildArgumentsString = "$(ACTION)";
buildConfigurationList = E47303C1235743E200A68BC2 /* Build configuration list for PBXLegacyTarget "run_gencomp" */;
buildPhases = (
);
buildToolPath = "$(PROJECT_DIR)/run_gencomp_for_xcode.sh";
buildWorkingDirectory = "";
dependencies = (
E47897F82357443300558C48 /* PBXTargetDependency */,
);
name = run_gencomp;
passBuildSettingsInEnvironment = 1;
productName = RunGencpu;
};
/* End PBXLegacyTarget section */
/* Begin PBXNativeTarget section */
@ -873,12 +956,31 @@
);
dependencies = (
7532531F1F5364170024025B /* PBXTargetDependency */,
E47897FA2357446D00558C48 /* PBXTargetDependency */,
);
name = BasiliskII;
productName = BasiliskII;
productReference = 7539DFB21F23B17E006B2DF2 /* BasiliskII.app */;
productType = "com.apple.product-type.application";
};
E47303B1235743B900A68BC2 /* gencomp */ = {
isa = PBXNativeTarget;
buildConfigurationList = E47303BA235743B900A68BC2 /* Build configuration list for PBXNativeTarget "gencomp" */;
buildPhases = (
E47303B4235743B900A68BC2 /* Sources */,
E47303B8235743B900A68BC2 /* Frameworks */,
E47303B9235743B900A68BC2 /* CopyFiles */,
);
buildRules = (
);
dependencies = (
E47303B2235743B900A68BC2 /* PBXTargetDependency */,
);
name = gencomp;
productName = gencpu;
productReference = E47303BD235743B900A68BC2 /* gencomp */;
productType = "com.apple.product-type.tool";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
@ -926,8 +1028,10 @@
7539DFB11F23B17E006B2DF2 /* BasiliskII */,
753252D91F5358D30024025B /* build68k */,
753252F21F535E1E0024025B /* gencpu */,
E47303B1235743B900A68BC2 /* gencomp */,
753253071F5360E30024025B /* run_build68k */,
753253161F5363D20024025B /* run_gencpu */,
E47303BE235743E200A68BC2 /* run_gencomp */,
);
};
/* End PBXProject section */
@ -984,6 +1088,13 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E4CB2C282361293500718BD3 /* compemu.cpp in Sources */,
E4CB2C2B2361293500718BD3 /* compstbl.cpp in Sources */,
E4CB2C242361292800718BD3 /* cpuemu.cpp in Sources */,
E4CB2C252361292800718BD3 /* cpuemu_nf.cpp in Sources */,
E4CB2C262361292800718BD3 /* cpustbl.cpp in Sources */,
E4CB2C272361292800718BD3 /* cpustbl_nf.cpp in Sources */,
E4CB2C232361291800718BD3 /* defs68k.c in Sources */,
7539E19E1F23B25A006B2DF2 /* rounding.cpp in Sources */,
7539E29D1F23C83F006B2DF2 /* sys_darwin.cpp in Sources */,
7539E1291F23B25A006B2DF2 /* video_blit.cpp in Sources */,
@ -994,16 +1105,13 @@
E40CEEC620D7910E00BCB88D /* SDLMain.m in Sources */,
753253351F53688D0024025B /* readcpu.cpp in Sources */,
7539E1741F23B25A006B2DF2 /* audio_sdl.cpp in Sources */,
753252EE1F535DD10024025B /* defs68k.c in Sources */,
E413D93120D260BC00E437D8 /* ip_output.c in Sources */,
7539E1E21F23B25A006B2DF2 /* video.cpp in Sources */,
7539E18F1F23B25A006B2DF2 /* timer.cpp in Sources */,
7539E1711F23B25A006B2DF2 /* rom_patches.cpp in Sources */,
7539E1281F23B25A006B2DF2 /* sigsegv.cpp in Sources */,
753253341F5368370024025B /* cpustbl.cpp in Sources */,
756C1B341F252FC100620917 /* utils_macosx.mm in Sources */,
E413D92620D260BC00E437D8 /* misc.c in Sources */,
753253321F5368370024025B /* cpuemu.cpp in Sources */,
7539E2701F23B32A006B2DF2 /* tinyxml2.cpp in Sources */,
7539E1721F23B25A006B2DF2 /* rsrc_patches.cpp in Sources */,
7539E2931F23C56F006B2DF2 /* serial_dummy.cpp in Sources */,
@ -1017,14 +1125,13 @@
7539E2971F23C5FD006B2DF2 /* newcpu.cpp in Sources */,
7539E12A1F23B25A006B2DF2 /* vm_alloc.cpp in Sources */,
E413D93220D260BC00E437D8 /* if.c in Sources */,
753253331F5368370024025B /* cpustbl_nf.cpp in Sources */,
7539E16C1F23B25A006B2DF2 /* main.cpp in Sources */,
7539E26D1F23B32A006B2DF2 /* strlcpy.c in Sources */,
E413D93420D260BC00E437D8 /* tcp_output.c in Sources */,
7539E26E1F23B32A006B2DF2 /* sys_unix.cpp in Sources */,
7539E1271F23B25A006B2DF2 /* cdrom.cpp in Sources */,
E413D92A20D260BC00E437D8 /* sbuf.c in Sources */,
753253311F5368370024025B /* cpuemu_nf.cpp in Sources */,
E46AB23323612B8F009A4A18 /* compemu_fpp.cpp in Sources */,
7539E1261F23B25A006B2DF2 /* audio.cpp in Sources */,
E413D93820D2613500E437D8 /* ether_unix.cpp in Sources */,
7539E1701F23B25A006B2DF2 /* prefs.cpp in Sources */,
@ -1048,6 +1155,7 @@
E413D92220D260BC00E437D8 /* mbuf.c in Sources */,
7539E19D1F23B25A006B2DF2 /* mathlib.cpp in Sources */,
E413D93020D260BC00E437D8 /* ip_input.c in Sources */,
E46AB23423612B8F009A4A18 /* compemu_support.cpp in Sources */,
752F27031F242F51001032B4 /* xpram_sdl.cpp in Sources */,
7539E16D1F23B25A006B2DF2 /* pict.c in Sources */,
7539E1251F23B25A006B2DF2 /* adb.cpp in Sources */,
@ -1068,6 +1176,16 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
E47303B4235743B900A68BC2 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E47897F62357441500558C48 /* gencomp.c in Sources */,
E47303B6235743B900A68BC2 /* readcpu.cpp in Sources */,
E47303B7235743B900A68BC2 /* defs68k.c in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
@ -1091,6 +1209,21 @@
target = 753253161F5363D20024025B /* run_gencpu */;
targetProxy = 7532531E1F5364170024025B /* PBXContainerItemProxy */;
};
E47303B2235743B900A68BC2 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 753253071F5360E30024025B /* run_build68k */;
targetProxy = E47303B3235743B900A68BC2 /* PBXContainerItemProxy */;
};
E47897F82357443300558C48 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = E47303B1235743B900A68BC2 /* gencomp */;
targetProxy = E47897F72357443300558C48 /* PBXContainerItemProxy */;
};
E47897FA2357446D00558C48 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = E47303BE235743E200A68BC2 /* run_gencomp */;
targetProxy = E47897F92357446D00558C48 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
@ -1201,12 +1334,7 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
HAVE_CONFIG_H,
"USE_XCODE=1",
"DEBUG=1",
);
GCC_PREPROCESSOR_DEFINITIONS = "DEBUG=1";
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
@ -1257,11 +1385,7 @@
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
HAVE_CONFIG_H,
"USE_XCODE=1",
);
GCC_PREPROCESSOR_DEFINITIONS = "";
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
@ -1304,6 +1428,11 @@
GCC_C_LANGUAGE_STANDARD = "compiler-default";
GCC_ENABLE_PASCAL_STRINGS = NO;
GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
HAVE_CONFIG_H,
"USE_XCODE=1",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_USE_STANDARD_INCLUDE_SEARCHING = YES;
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO;
@ -1312,6 +1441,7 @@
../MacOSX,
../include,
../uae_cpu,
../uae_cpu/compiler,
../Unix,
../slirp,
);
@ -1321,6 +1451,10 @@
MACOSX_DEPLOYMENT_TARGET = 10.7;
ONLY_ACTIVE_ARCH = NO;
OTHER_CFLAGS = "";
OTHER_LDFLAGS = (
"-pagezero_size",
0x1000,
);
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO;
PRODUCT_BUNDLE_IDENTIFIER = net.cebix.basilisk;
PRODUCT_NAME = "$(TARGET_NAME)";
@ -1356,6 +1490,11 @@
GCC_ENABLE_PASCAL_STRINGS = NO;
GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
GCC_OPTIMIZATION_LEVEL = 3;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
HAVE_CONFIG_H,
"USE_XCODE=1",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_USE_STANDARD_INCLUDE_SEARCHING = YES;
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO;
@ -1364,6 +1503,7 @@
../MacOSX,
../include,
../uae_cpu,
../uae_cpu/compiler,
../Unix,
../slirp,
);
@ -1372,6 +1512,10 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.7;
OTHER_CFLAGS = "";
OTHER_LDFLAGS = (
"-pagezero_size",
0x1000,
);
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO;
PRODUCT_BUNDLE_IDENTIFIER = net.cebix.basilisk;
PRODUCT_NAME = "$(TARGET_NAME)";
@ -1381,6 +1525,38 @@
};
name = Release;
};
E47303BB235743B900A68BC2 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_CXX_LIBRARY = "libc++";
GCC_WARN_INHIBIT_ALL_WARNINGS = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
E47303BC235743B900A68BC2 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_CXX_LIBRARY = "libc++";
GCC_WARN_INHIBIT_ALL_WARNINGS = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
E47303C2235743E200A68BC2 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
E47303C3235743E200A68BC2 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
@ -1438,6 +1614,24 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E47303BA235743B900A68BC2 /* Build configuration list for PBXNativeTarget "gencomp" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E47303BB235743B900A68BC2 /* Debug */,
E47303BC235743B900A68BC2 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E47303C1235743E200A68BC2 /* Build configuration list for PBXLegacyTarget "run_gencomp" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E47303C2235743E200A68BC2 /* Debug */,
E47303C3235743E200A68BC2 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 7539DFAA1F23B17E006B2DF2 /* Project object */;

View File

@ -815,7 +815,11 @@
<inttypes.h> don't define. */
/* #undef uintmax_t */
#define FPU_IEEE 1
//#define FPU_IMPLEMENTATION 1
#define DIRECT_ADDRESSING 1
#define USE_JIT 1
#define USE_JIT_FPU
#define X86_64_ASSEMBLY
#define OPTIMIZED_FLAGS
#define FPU_IEEE
#endif

View File

@ -0,0 +1,37 @@
#!/bin/bash -e
#
# run_gencomp_for_xcode.sh
#
# Generates files for 68k emulation, via UAE's virtual cpu, for use on Mac OS X hosts
#
if [ ! "$BUILT_PRODUCTS_DIR" ] || [ ! "$PROJECT_DIR" ]; then
echo "ERROR: $(basename $0) must be run from an Xcode 'External Build System' target"
exit 1
fi
# Log some debugging information
echo "1=$1"
echo "BUILT_PRODUCTS_DIR=$BUILT_PRODUCTS_DIR"
echo "PROJECT_DIR=$PROJECT_DIR"
# Perform actions, given the passed-in build step
case "$1" in
"clean")
echo "Cleaning gencomp output(s)"
rm -rf "$BUILT_PRODUCTS_DIR/gencomp_output"
;;
"")
if [ ! -d "$BUILT_PRODUCTS_DIR" ]; then
echo "No built products directory"
exit 1
fi
echo "Running gencomp"
cd "$BUILT_PRODUCTS_DIR"
mkdir -p gencomp_output
cd gencomp_output
"$BUILT_PRODUCTS_DIR/gencomp"
ls -al
;;
esac