mirror of https://github.com/PrimeDecomp/prime.git
configure.py: Store source complete in the library listings instead of separately
This commit is contained in:
parent
cfe317dce9
commit
d13e0eeb2c
428
configure.py
428
configure.py
|
@ -21,149 +21,14 @@ if os.name != "nt" and not "_NT-" in os.uname().sysname:
|
|||
parser.add_argument('--wine', dest='wine', help='path to wine (or wibo)')
|
||||
args = parser.parse_args()
|
||||
|
||||
# Completed c/cpp files to link
|
||||
COMPLETE_OBJECTS = [
|
||||
"MetroTRK/mslsupp",
|
||||
"MetroidPrime/CAxisAngle",
|
||||
"MetroidPrime/CEntity",
|
||||
"MetroidPrime/CArchMsgParmUserInput",
|
||||
"MetroidPrime/CArchMsgParmInt32",
|
||||
"MetroidPrime/CArchMsgParmInt32Int32VoidPtr",
|
||||
"MetroidPrime/CArchMsgParmNull",
|
||||
"MetroidPrime/CArchMsgParmReal32",
|
||||
"MetroidPrime/CArchMsgParmControllerStatus",
|
||||
"MetroidPrime/TCastTo",
|
||||
"MetroidPrime/UserNames",
|
||||
"MetroidPrime/CPhysicsState",
|
||||
"MetroidPrime/CMemoryDrawEnum",
|
||||
"MetroidPrime/HUD/CHUDMemoParms",
|
||||
"MetroidPrime/ScriptObjects/CScriptDebugCameraWaypoint",
|
||||
"MetroidPrime/ScriptObjects/CScriptPickup",
|
||||
"MetroidPrime/ScriptObjects/CScriptSwitch",
|
||||
"MetroidPrime/CIOWin",
|
||||
"WorldFormat/CCollisionSurface",
|
||||
"Weapons/IWeaponRenderer",
|
||||
"Collision/CMaterialList",
|
||||
"Collision/CMaterialFilter",
|
||||
"Collision/CCollisionInfo",
|
||||
"Collision/CMRay",
|
||||
"Kyoto/Basics/CStopwatch",
|
||||
"Kyoto/Basics/COsContextDolphin",
|
||||
"Kyoto/Basics/CSWDataDolphin",
|
||||
"Kyoto/Audio/CSfxHandle",
|
||||
"Kyoto/Graphics/CLight",
|
||||
"Kyoto/Graphics/CGX",
|
||||
"Kyoto/Particles/CIntElement",
|
||||
"Kyoto/Particles/CWarp",
|
||||
"Kyoto/Math/CPlane",
|
||||
"Kyoto/Math/CUnitVector3f",
|
||||
"Kyoto/Math/CVector2f",
|
||||
"Kyoto/Math/CVector2i",
|
||||
"Kyoto/Math/CVector3d",
|
||||
"Kyoto/Math/CVector3i",
|
||||
"Kyoto/Math/CloseEnough",
|
||||
"Kyoto/Math/CSphere",
|
||||
"Kyoto/CRandom16",
|
||||
"Kyoto/CCrc32",
|
||||
"Kyoto/Alloc/CCircularBuffer",
|
||||
"Kyoto/Alloc/IAllocator",
|
||||
"Kyoto/Streams/CInputStream",
|
||||
"Kyoto/Streams/CMemoryInStream",
|
||||
"Kyoto/zlib/adler32",
|
||||
"Kyoto/zlib/infblock",
|
||||
"Kyoto/zlib/infcodes",
|
||||
"Kyoto/zlib/inffast",
|
||||
"Kyoto/zlib/inflate",
|
||||
"Kyoto/zlib/inftrees",
|
||||
"Kyoto/zlib/infutil",
|
||||
"Kyoto/zlib/zutil",
|
||||
"Kyoto/Graphics/CColor",
|
||||
"Kyoto/Input/CFinalInput",
|
||||
"Kyoto/Input/RumbleAdsr",
|
||||
"Kyoto/Input/DolphinIController",
|
||||
"Kyoto/Input/CDolphinController",
|
||||
"Kyoto/Alloc/CSmallAllocPool",
|
||||
"Kyoto/Text/CStringTable",
|
||||
"Kyoto/CTimeProvider",
|
||||
"Kyoto/Text/CFontImageDef",
|
||||
"Kyoto/Graphics/DolphinCColor",
|
||||
"Kyoto/Audio/g721",
|
||||
"Kyoto/IObj",
|
||||
"Dolphin/PPCArch",
|
||||
"Dolphin/dsp/dsp_debug",
|
||||
"Dolphin/os/__start",
|
||||
"Dolphin/os/OSAudioSystem",
|
||||
"Dolphin/os/__ppc_eabi_init",
|
||||
"Runtime/__mem",
|
||||
"Runtime/abort_exit",
|
||||
"Runtime/ctype",
|
||||
"Runtime/locale",
|
||||
"Runtime/mem",
|
||||
"Runtime/mem_funcs",
|
||||
"Runtime/misc_io",
|
||||
"Runtime/rand",
|
||||
"Runtime/wchar_io",
|
||||
"Runtime/e_acos",
|
||||
"Runtime/e_asin",
|
||||
"Runtime/e_atan2",
|
||||
"Runtime/e_fmod",
|
||||
"Runtime/e_log",
|
||||
"Runtime/e_rem_pio2",
|
||||
"Runtime/k_cos",
|
||||
"Runtime/k_sin",
|
||||
"Runtime/k_tan",
|
||||
"Runtime/s_copysign",
|
||||
"Runtime/s_cos",
|
||||
"Runtime/s_floor",
|
||||
"Runtime/s_frexp",
|
||||
"Runtime/s_ldexp",
|
||||
"Runtime/s_modf",
|
||||
"Runtime/s_nextafter",
|
||||
"Runtime/s_sin",
|
||||
"Runtime/s_tan",
|
||||
"Runtime/w_acos",
|
||||
"Runtime/w_asin",
|
||||
"Runtime/w_atan2",
|
||||
"Runtime/w_exp",
|
||||
"Runtime/w_fmod",
|
||||
"Runtime/w_log",
|
||||
"Runtime/w_pow",
|
||||
"Runtime/math_ppc",
|
||||
"musyx/seq_api",
|
||||
"musyx/synth_ac",
|
||||
"musyx/synth_dbtab",
|
||||
"musyx/snd_init",
|
||||
"musyx/snd_service",
|
||||
"musyx/dsp_import",
|
||||
"musyx/hw_memory",
|
||||
"musyx/creverb_fx",
|
||||
"musyx/reverb_fx",
|
||||
"musyx/delay_fx",
|
||||
"Dolphin/pad/PadClamp",
|
||||
#"Dolphin/pad/pad",
|
||||
"Dolphin/dtk",
|
||||
"Dolphin/card/CARDUnlock",
|
||||
"Dolphin/card/CARDRdwr",
|
||||
"Dolphin/card/CARDBlock",
|
||||
"Dolphin/card/CARDDir",
|
||||
"Dolphin/card/CARDMount",
|
||||
"Dolphin/card/CARDFormat",
|
||||
"Dolphin/card/CARDOpen",
|
||||
"Dolphin/card/CARDCreate",
|
||||
"Dolphin/card/CARDRead",
|
||||
"Dolphin/card/CARDWrite",
|
||||
"Dolphin/card/CARDDelete",
|
||||
"Dolphin/card/CARDStat",
|
||||
"Dolphin/card/CARDRename",
|
||||
"Dolphin/card/CARDNet",
|
||||
]
|
||||
|
||||
LIBS = [
|
||||
{
|
||||
"lib": "TRK_MINNOW_DOLPHIN",
|
||||
"mwcc_version": "1.2.5",
|
||||
"cflags": "$cflags_base",
|
||||
"objects": ["MetroTRK/mslsupp"],
|
||||
"objects": [
|
||||
["MetroTRK/mslsupp", True],
|
||||
],
|
||||
},
|
||||
{
|
||||
"lib": "MetroidPrimeCW",
|
||||
|
@ -177,9 +42,9 @@ LIBS = [
|
|||
"MetroidPrime/Cameras/CFirstPersonCamera",
|
||||
"MetroidPrime/CObjectList",
|
||||
"MetroidPrime/Player/CPlayer",
|
||||
"MetroidPrime/CAxisAngle",
|
||||
["MetroidPrime/CAxisAngle", True],
|
||||
"MetroidPrime/CEulerAngles",
|
||||
"MetroidPrime/CArchMsgParmUserInput",
|
||||
["MetroidPrime/CArchMsgParmUserInput", True],
|
||||
"MetroidPrime/CFrontEndUI",
|
||||
"MetroidPrime/CInputGenerator",
|
||||
"MetroidPrime/CMainFlow",
|
||||
|
@ -196,19 +61,19 @@ LIBS = [
|
|||
"MetroidPrime/CGameProjectile",
|
||||
"MetroidPrime/Player/CPlayerGun",
|
||||
"MetroidPrime/CStateManager",
|
||||
"MetroidPrime/CEntity",
|
||||
"MetroidPrime/CArchMsgParmInt32",
|
||||
"MetroidPrime/CArchMsgParmInt32Int32VoidPtr",
|
||||
"MetroidPrime/CArchMsgParmNull",
|
||||
"MetroidPrime/CArchMsgParmReal32",
|
||||
["MetroidPrime/CEntity", True],
|
||||
["MetroidPrime/CArchMsgParmInt32", True],
|
||||
["MetroidPrime/CArchMsgParmInt32Int32VoidPtr", True],
|
||||
["MetroidPrime/CArchMsgParmNull", True],
|
||||
["MetroidPrime/CArchMsgParmReal32", True],
|
||||
"MetroidPrime/Decode",
|
||||
"MetroidPrime/CIOWinManager",
|
||||
"MetroidPrime/CIOWin",
|
||||
["MetroidPrime/CIOWin", True],
|
||||
"MetroidPrime/CActor",
|
||||
"MetroidPrime/CWorld",
|
||||
"MetroidPrime/Tweaks/CTweakParticle",
|
||||
"MetroidPrime/Clamp_int",
|
||||
"MetroidPrime/CArchMsgParmControllerStatus",
|
||||
["MetroidPrime/CArchMsgParmControllerStatus", True],
|
||||
"MetroidPrime/CExplosion",
|
||||
"MetroidPrime/CEffect",
|
||||
"MetroidPrime/Cameras/CGameCamera",
|
||||
|
@ -239,10 +104,10 @@ LIBS = [
|
|||
"MetroidPrime/CMapWorld",
|
||||
"MetroidPrime/Enemies/CAi",
|
||||
"MetroidPrime/Enemies/PatternedCastTo",
|
||||
"MetroidPrime/TCastTo",
|
||||
["MetroidPrime/TCastTo", True],
|
||||
"MetroidPrime/ScriptObjects/CScriptSound",
|
||||
"MetroidPrime/ScriptObjects/CScriptPlatform",
|
||||
"MetroidPrime/UserNames",
|
||||
["MetroidPrime/UserNames", True],
|
||||
"MetroidPrime/ScriptObjects/CScriptGenerator",
|
||||
"MetroidPrime/ScriptObjects/CScriptCameraWaypoint",
|
||||
"MetroidPrime/CGameLight",
|
||||
|
@ -254,9 +119,9 @@ LIBS = [
|
|||
"MetroidPrime/Tweaks/CTweakGunRes",
|
||||
"MetroidPrime/CTargetReticles",
|
||||
"MetroidPrime/CWeaponMgr",
|
||||
"MetroidPrime/ScriptObjects/CScriptPickup",
|
||||
["MetroidPrime/ScriptObjects/CScriptPickup", True],
|
||||
"MetroidPrime/CDamageInfo",
|
||||
"MetroidPrime/CMemoryDrawEnum",
|
||||
["MetroidPrime/CMemoryDrawEnum", True],
|
||||
"MetroidPrime/ScriptObjects/CScriptDock",
|
||||
"MetroidPrime/ScriptObjects/CScriptCameraHint",
|
||||
"MetroidPrime/ScriptLoader",
|
||||
|
@ -271,7 +136,7 @@ LIBS = [
|
|||
"MetroidPrime/ScriptObjects/CScriptSpawnPoint",
|
||||
"MetroidPrime/ScriptObjects/CScriptRandomRelay",
|
||||
"MetroidPrime/Enemies/CBeetle",
|
||||
"MetroidPrime/HUD/CHUDMemoParms",
|
||||
["MetroidPrime/HUD/CHUDMemoParms", True],
|
||||
"MetroidPrime/ScriptObjects/CScriptHUDMemo",
|
||||
"MetroidPrime/CMappableObject",
|
||||
"MetroidPrime/Player/CPlayerCameraBob",
|
||||
|
@ -302,7 +167,7 @@ LIBS = [
|
|||
"MetroidPrime/Enemies/CBloodFlower",
|
||||
"MetroidPrime/TGameTypes",
|
||||
"MetroidPrime/CPhysicsActor",
|
||||
"MetroidPrime/CPhysicsState",
|
||||
["MetroidPrime/CPhysicsState", True],
|
||||
"MetroidPrime/CRipple",
|
||||
"MetroidPrime/CFluidUVMotion",
|
||||
"MetroidPrime/CRippleManager",
|
||||
|
@ -341,7 +206,7 @@ LIBS = [
|
|||
"MetroidPrime/Enemies/CPuddleSpore",
|
||||
"MetroidPrime/BodyState/CBSTaunt",
|
||||
"MetroidPrime/CSortedLists",
|
||||
"MetroidPrime/ScriptObjects/CScriptDebugCameraWaypoint",
|
||||
["MetroidPrime/ScriptObjects/CScriptDebugCameraWaypoint", True],
|
||||
"MetroidPrime/ScriptObjects/CScriptSpiderBallAttractionSurface",
|
||||
"MetroidPrime/BodyState/CBSScripted",
|
||||
"MetroidPrime/Enemies/CPuddleToadGamma",
|
||||
|
@ -423,7 +288,7 @@ LIBS = [
|
|||
"MetroidPrime/Enemies/CJellyZap",
|
||||
"MetroidPrime/ScriptObjects/CScriptControllerAction",
|
||||
"MetroidPrime/Weapons/GunController/CGunMotion",
|
||||
"MetroidPrime/ScriptObjects/CScriptSwitch",
|
||||
["MetroidPrime/ScriptObjects/CScriptSwitch", True],
|
||||
"MetroidPrime/BodyState/CABSIdle",
|
||||
"MetroidPrime/BodyState/CABSFlinch",
|
||||
"MetroidPrime/BodyState/CABSAim",
|
||||
|
@ -532,7 +397,7 @@ LIBS = [
|
|||
"cflags": "$cflags_retro",
|
||||
"objects": [
|
||||
"WorldFormat/CAreaOctTree_Tests",
|
||||
"WorldFormat/CCollisionSurface",
|
||||
["WorldFormat/CCollisionSurface", True],
|
||||
"WorldFormat/CMetroidModelInstance",
|
||||
"WorldFormat/CAreaBspTree",
|
||||
"WorldFormat/CAreaOctTree",
|
||||
|
@ -553,7 +418,7 @@ LIBS = [
|
|||
"Weapons/CProjectileWeapon",
|
||||
"Weapons/CProjectileWeaponDataFactory",
|
||||
"Weapons/CCollisionResponseData",
|
||||
"Weapons/IWeaponRenderer",
|
||||
["Weapons/IWeaponRenderer", True],
|
||||
"Weapons/CDecalDataFactory",
|
||||
"Weapons/CDecal",
|
||||
"Weapons/CWeaponDescription",
|
||||
|
@ -599,15 +464,15 @@ LIBS = [
|
|||
"objects": [
|
||||
"Collision/CCollidableAABox",
|
||||
"Collision/CCollidableCollisionSurface",
|
||||
"Collision/CCollisionInfo",
|
||||
["Collision/CCollisionInfo", True],
|
||||
"Collision/InternalColliders",
|
||||
"Collision/CCollisionPrimitive",
|
||||
"Collision/CMaterialList",
|
||||
["Collision/CMaterialList", True],
|
||||
"Collision/CollisionUtil",
|
||||
"Collision/CCollidableSphere",
|
||||
"Collision/CMaterialFilter",
|
||||
["Collision/CMaterialFilter", True],
|
||||
"Collision/COBBox",
|
||||
"Collision/CMRay",
|
||||
["Collision/CMRay", True],
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -616,11 +481,11 @@ LIBS = [
|
|||
"cflags": "$cflags_retro",
|
||||
"objects": [
|
||||
"Kyoto/Basics/CBasics",
|
||||
"Kyoto/Basics/CStopwatch",
|
||||
["Kyoto/Basics/CStopwatch", True],
|
||||
"Kyoto/Basics/CBasicsDolphin",
|
||||
"Kyoto/Basics/CCallStackDolphin",
|
||||
"Kyoto/Basics/COsContextDolphin",
|
||||
"Kyoto/Basics/CSWDataDolphin",
|
||||
["Kyoto/Basics/COsContextDolphin", True],
|
||||
["Kyoto/Basics/CSWDataDolphin", True],
|
||||
"Kyoto/Basics/RAssertDolphin",
|
||||
"Kyoto/Animation/CAnimation",
|
||||
"Kyoto/Animation/CAnimationManager",
|
||||
|
@ -652,7 +517,7 @@ LIBS = [
|
|||
"Kyoto/Animation/CTransitionManager",
|
||||
"Kyoto/Animation/CTreeUtils",
|
||||
"Kyoto/Animation/IMetaAnim",
|
||||
"Kyoto/Audio/CSfxHandle",
|
||||
["Kyoto/Audio/CSfxHandle", True],
|
||||
"Kyoto/Audio/CSfxManager",
|
||||
"Kyoto/Animation/CAdvancementDeltas",
|
||||
"Kyoto/Animation/CAnimMathUtils",
|
||||
|
@ -703,35 +568,35 @@ LIBS = [
|
|||
"Kyoto/Text/CWordInstruction",
|
||||
"Kyoto/Text/CBlockInstruction",
|
||||
"Kyoto/Text/CFont",
|
||||
"Kyoto/Graphics/CLight",
|
||||
["Kyoto/Graphics/CLight", True],
|
||||
"Kyoto/Graphics/CCubeModel",
|
||||
"Kyoto/Graphics/CGX",
|
||||
["Kyoto/Graphics/CGX", True],
|
||||
"Kyoto/Graphics/CTevCombiners",
|
||||
"Kyoto/Graphics/DolphinCGraphics",
|
||||
"Kyoto/Graphics/DolphinCPalette",
|
||||
"Kyoto/Graphics/DolphinCTexture",
|
||||
"Kyoto/Math/CloseEnough",
|
||||
["Kyoto/Math/CloseEnough", True],
|
||||
"Kyoto/Math/CMatrix3f",
|
||||
"Kyoto/Math/CMatrix4f",
|
||||
"Kyoto/Math/CQuaternion",
|
||||
"Kyoto/CRandom16",
|
||||
["Kyoto/CRandom16", True],
|
||||
"Kyoto/Math/CTransform4f",
|
||||
"Kyoto/Math/CUnitVector3f",
|
||||
"Kyoto/Math/CVector2f",
|
||||
"Kyoto/Math/CVector2i",
|
||||
"Kyoto/Math/CVector3d",
|
||||
["Kyoto/Math/CUnitVector3f", True],
|
||||
["Kyoto/Math/CVector2f", True],
|
||||
["Kyoto/Math/CVector2i", True],
|
||||
["Kyoto/Math/CVector3d", True],
|
||||
"Kyoto/Math/CVector3f",
|
||||
"Kyoto/Math/CVector3i",
|
||||
["Kyoto/Math/CVector3i", True],
|
||||
"Kyoto/Math/RMathUtils",
|
||||
"Kyoto/CCrc32",
|
||||
"Kyoto/Alloc/CCircularBuffer",
|
||||
["Kyoto/CCrc32", True],
|
||||
["Kyoto/Alloc/CCircularBuffer", True],
|
||||
"Kyoto/Alloc/CMemory",
|
||||
"Kyoto/Alloc/IAllocator",
|
||||
["Kyoto/Alloc/IAllocator", True],
|
||||
"Kyoto/PVS/CPVSVisOctree",
|
||||
"Kyoto/PVS/CPVSVisSet",
|
||||
"Kyoto/Particles/CColorElement",
|
||||
"Kyoto/Particles/CElementGen",
|
||||
"Kyoto/Particles/CIntElement",
|
||||
["Kyoto/Particles/CIntElement", True],
|
||||
"Kyoto/Particles/CModVectorElement",
|
||||
"Kyoto/Particles/CParticleDataFactory",
|
||||
"Kyoto/Particles/CParticleGen",
|
||||
|
@ -742,9 +607,9 @@ LIBS = [
|
|||
"Kyoto/Particles/CSpawnSystemKeyframeData",
|
||||
"Kyoto/Particles/CUVElement",
|
||||
"Kyoto/Particles/CVectorElement",
|
||||
"Kyoto/Particles/CWarp",
|
||||
"Kyoto/Math/CPlane",
|
||||
"Kyoto/Math/CSphere",
|
||||
["Kyoto/Particles/CWarp", True],
|
||||
["Kyoto/Math/CPlane", True],
|
||||
["Kyoto/Math/CSphere", True],
|
||||
"Kyoto/Math/CAABox",
|
||||
"Kyoto/CFactoryMgr",
|
||||
"Kyoto/CResFactory",
|
||||
|
@ -752,15 +617,15 @@ LIBS = [
|
|||
"Kyoto/rstl/rstl_map",
|
||||
"Kyoto/rstl/rstl_strings",
|
||||
"Kyoto/rstl/RstlExtras",
|
||||
"Kyoto/Streams/CInputStream",
|
||||
"Kyoto/Streams/CMemoryInStream",
|
||||
["Kyoto/Streams/CInputStream", True],
|
||||
["Kyoto/Streams/CMemoryInStream", True],
|
||||
"Kyoto/Streams/CMemoryStreamOut",
|
||||
"Kyoto/Streams/COutputStream",
|
||||
"Kyoto/Streams/CZipInputStream",
|
||||
"Kyoto/Streams/CZipSupport",
|
||||
"Kyoto/CSimplePool",
|
||||
"Kyoto/CToken",
|
||||
"Kyoto/IObj",
|
||||
["Kyoto/IObj", True],
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -768,14 +633,14 @@ LIBS = [
|
|||
"mwcc_version": "1.3.2",
|
||||
"cflags": "$cflags_runtime",
|
||||
"objects": [
|
||||
"Kyoto/zlib/adler32",
|
||||
"Kyoto/zlib/infblock",
|
||||
"Kyoto/zlib/infcodes",
|
||||
"Kyoto/zlib/inffast",
|
||||
"Kyoto/zlib/inflate",
|
||||
"Kyoto/zlib/inftrees",
|
||||
"Kyoto/zlib/infutil",
|
||||
"Kyoto/zlib/zutil",
|
||||
["Kyoto/zlib/adler32", True],
|
||||
["Kyoto/zlib/infblock", True],
|
||||
["Kyoto/zlib/infcodes", True],
|
||||
["Kyoto/zlib/inffast", True],
|
||||
["Kyoto/zlib/inflate", True],
|
||||
["Kyoto/zlib/inftrees", True],
|
||||
["Kyoto/zlib/infutil", True],
|
||||
["Kyoto/zlib/zutil", True],
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -789,38 +654,38 @@ LIBS = [
|
|||
"Kyoto/Graphics/CCubeSurface",
|
||||
"Kyoto/Animation/CCharAnimTime",
|
||||
"Kyoto/Animation/CSegIdList",
|
||||
"Kyoto/Input/CFinalInput",
|
||||
"Kyoto/Graphics/CColor",
|
||||
["Kyoto/Input/CFinalInput", True],
|
||||
["Kyoto/Graphics/CColor", True],
|
||||
"Kyoto/Audio/DolphinCAudioGroupSet",
|
||||
"Kyoto/Audio/DolphinCAudioSys",
|
||||
"Kyoto/DolphinCMemoryCardSys",
|
||||
"Kyoto/Input/DolphinIController",
|
||||
"Kyoto/Input/CDolphinController",
|
||||
["Kyoto/Input/DolphinIController", True],
|
||||
["Kyoto/Input/CDolphinController", True],
|
||||
"Kyoto/DolphinCDvdFile",
|
||||
"Kyoto/Alloc/CMediumAllocPool",
|
||||
"Kyoto/Alloc/CSmallAllocPool",
|
||||
["Kyoto/Alloc/CSmallAllocPool", True],
|
||||
"Kyoto/Alloc/CGameAllocator",
|
||||
"Kyoto/Animation/DolphinCSkinnedModel",
|
||||
"Kyoto/Animation/DolphinCSkinRules",
|
||||
"Kyoto/Animation/DolphinCVirtualBone",
|
||||
"Kyoto/Graphics/DolphinCModel",
|
||||
"Kyoto/Text/CStringTable",
|
||||
["Kyoto/Text/CStringTable", True],
|
||||
"Kyoto/Particles/CEmitterElement",
|
||||
"Kyoto/Particles/CEffectComponent",
|
||||
"Kyoto/Particles/CParticleData",
|
||||
"Kyoto/Animation/CVertexMorphEffect",
|
||||
"Kyoto/Animation/CSkinnedModelWithAvgNormals",
|
||||
"Kyoto/CTimeProvider",
|
||||
["Kyoto/CTimeProvider", True],
|
||||
"Kyoto/CARAMToken",
|
||||
"Kyoto/Audio/CMidiManager",
|
||||
"Kyoto/Text/CFontImageDef",
|
||||
["Kyoto/Text/CFontImageDef", True],
|
||||
"Kyoto/Text/CImageInstruction",
|
||||
"Kyoto/Text/CTextRenderBuffer",
|
||||
"Kyoto/Graphics/CCubeMoviePlayer",
|
||||
"Kyoto/Animation/CAdditiveAnimPlayback",
|
||||
"Kyoto/Particles/CParticleElectricDataFactory",
|
||||
"Kyoto/Particles/CParticleElectric",
|
||||
"Kyoto/Graphics/DolphinCColor",
|
||||
["Kyoto/Graphics/DolphinCColor", True],
|
||||
"Kyoto/Audio/CDSPStreamManager",
|
||||
"Kyoto/CDependencyGroup",
|
||||
"Kyoto/Audio/CStreamAudioManager",
|
||||
|
@ -831,10 +696,10 @@ LIBS = [
|
|||
"Kyoto/CPakFile",
|
||||
"Kyoto/Animation/CPoseAsTransforms",
|
||||
"Kyoto/Input/CRumbleVoice",
|
||||
"Kyoto/Input/RumbleAdsr",
|
||||
["Kyoto/Input/RumbleAdsr", True],
|
||||
"Kyoto/Input/CRumbleGenerator",
|
||||
"Kyoto/Audio/SDSPStream",
|
||||
"Kyoto/Audio/g721",
|
||||
["Kyoto/Audio/g721", True],
|
||||
"Kyoto/Audio/CStaticAudioPlayer",
|
||||
"Kyoto/CFrameDelayedKiller",
|
||||
],
|
||||
|
@ -858,7 +723,9 @@ LIBS = [
|
|||
"lib": "base",
|
||||
"mwcc_version": "1.2.5",
|
||||
"cflags": "$cflags_base",
|
||||
"objects": ["Dolphin/PPCArch"],
|
||||
"objects": [
|
||||
["Dolphin/PPCArch", True],
|
||||
],
|
||||
},
|
||||
{
|
||||
"lib": "db",
|
||||
|
@ -872,7 +739,7 @@ LIBS = [
|
|||
"cflags": "$cflags_base",
|
||||
"objects": [
|
||||
"Dolphin/dsp/dsp",
|
||||
"Dolphin/dsp/dsp_debug",
|
||||
["Dolphin/dsp/dsp_debug", True],
|
||||
"Dolphin/dsp/dsp_task",
|
||||
],
|
||||
},
|
||||
|
@ -930,11 +797,11 @@ LIBS = [
|
|||
"mwcc_version": "1.2.5e",
|
||||
"cflags": "$cflags_base",
|
||||
"objects": [
|
||||
"Dolphin/os/__start",
|
||||
["Dolphin/os/__start", True],
|
||||
"Dolphin/os/OS",
|
||||
"Dolphin/os/OSAlarm",
|
||||
"Dolphin/os/OSArena",
|
||||
"Dolphin/os/OSAudioSystem",
|
||||
["Dolphin/os/OSAudioSystem", True],
|
||||
"Dolphin/os/OSCache",
|
||||
"Dolphin/os/OSContext",
|
||||
"Dolphin/os/OSError",
|
||||
|
@ -951,7 +818,7 @@ LIBS = [
|
|||
"Dolphin/os/OSSync",
|
||||
"Dolphin/os/OSThread",
|
||||
"Dolphin/os/OSTime",
|
||||
"Dolphin/os/__ppc_eabi_init",
|
||||
["Dolphin/os/__ppc_eabi_init", True],
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -959,8 +826,8 @@ LIBS = [
|
|||
"mwcc_version": "1.2.5e",
|
||||
"cflags": "$cflags_base",
|
||||
"objects": [
|
||||
"Dolphin/pad/PadClamp",
|
||||
"Dolphin/pad/pad",
|
||||
["Dolphin/pad/PadClamp", True],
|
||||
["Dolphin/pad/pad", False],
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -974,7 +841,7 @@ LIBS = [
|
|||
"mwcc_version": "1.3.2",
|
||||
"cflags": "$cflags_runtime",
|
||||
"objects": [
|
||||
"Runtime/__mem",
|
||||
["Runtime/__mem", True],
|
||||
"Runtime/__va_arg",
|
||||
"Runtime/global_destructor_chain",
|
||||
"Runtime/CPlusLibPPC",
|
||||
|
@ -983,60 +850,60 @@ LIBS = [
|
|||
"Runtime/runtime",
|
||||
"Runtime/__init_cpp_exceptions",
|
||||
"Runtime/Gecko_ExceptionPPC",
|
||||
"Runtime/abort_exit",
|
||||
["Runtime/abort_exit", True],
|
||||
"Runtime/alloc",
|
||||
"Runtime/ansi_files",
|
||||
"Runtime/ansi_fp",
|
||||
"Runtime/arith",
|
||||
"Runtime/buffer_io",
|
||||
"Runtime/ctype",
|
||||
"Runtime/locale",
|
||||
["Runtime/ctype", True],
|
||||
["Runtime/locale", True],
|
||||
"Runtime/direct_io",
|
||||
"Runtime/file_io",
|
||||
"Runtime/FILE_POS",
|
||||
"Runtime/mbstring",
|
||||
"Runtime/mem",
|
||||
"Runtime/mem_funcs",
|
||||
"Runtime/misc_io",
|
||||
["Runtime/mem", True],
|
||||
["Runtime/mem_funcs", True],
|
||||
["Runtime/misc_io", True],
|
||||
"Runtime/printf",
|
||||
"Runtime/qsort",
|
||||
"Runtime/rand",
|
||||
["Runtime/rand", True],
|
||||
"Runtime/sscanf",
|
||||
"Runtime/string",
|
||||
"Runtime/float",
|
||||
"Runtime/strtold",
|
||||
"Runtime/uart_console_io",
|
||||
"Runtime/wchar_io",
|
||||
"Runtime/e_acos",
|
||||
"Runtime/e_asin",
|
||||
"Runtime/e_atan2",
|
||||
["Runtime/wchar_io", True],
|
||||
["Runtime/e_acos", True],
|
||||
["Runtime/e_asin", True],
|
||||
["Runtime/e_atan2", True],
|
||||
"Runtime/e_exp",
|
||||
"Runtime/e_fmod",
|
||||
"Runtime/e_log",
|
||||
["Runtime/e_fmod", True],
|
||||
["Runtime/e_log", True],
|
||||
"Runtime/e_pow",
|
||||
"Runtime/e_rem_pio2",
|
||||
"Runtime/k_cos",
|
||||
["Runtime/e_rem_pio2", True],
|
||||
["Runtime/k_cos", True],
|
||||
"Runtime/k_rem_pio2",
|
||||
"Runtime/k_sin",
|
||||
"Runtime/k_tan",
|
||||
["Runtime/k_sin", True],
|
||||
["Runtime/k_tan", True],
|
||||
"Runtime/s_atan",
|
||||
"Runtime/s_copysign",
|
||||
"Runtime/s_cos",
|
||||
"Runtime/s_floor",
|
||||
"Runtime/s_frexp",
|
||||
"Runtime/s_ldexp",
|
||||
"Runtime/s_modf",
|
||||
"Runtime/s_nextafter",
|
||||
"Runtime/s_sin",
|
||||
"Runtime/s_tan",
|
||||
"Runtime/w_acos",
|
||||
"Runtime/w_asin",
|
||||
"Runtime/w_atan2",
|
||||
"Runtime/w_exp",
|
||||
"Runtime/w_fmod",
|
||||
"Runtime/w_log",
|
||||
"Runtime/w_pow",
|
||||
"Runtime/math_ppc",
|
||||
["Runtime/s_copysign", True],
|
||||
["Runtime/s_cos", True],
|
||||
["Runtime/s_floor", True],
|
||||
["Runtime/s_frexp", True],
|
||||
["Runtime/s_ldexp", True],
|
||||
["Runtime/s_modf", True],
|
||||
["Runtime/s_nextafter", True],
|
||||
["Runtime/s_sin", True],
|
||||
["Runtime/s_tan", True],
|
||||
["Runtime/w_acos", True],
|
||||
["Runtime/w_asin", True],
|
||||
["Runtime/w_atan2", True],
|
||||
["Runtime/w_exp", True],
|
||||
["Runtime/w_fmod", True],
|
||||
["Runtime/w_log", True],
|
||||
["Runtime/w_pow", True],
|
||||
["Runtime/math_ppc", True],
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -1046,34 +913,34 @@ LIBS = [
|
|||
"objects": [
|
||||
"musyx/seq",
|
||||
"musyx/synth",
|
||||
"musyx/seq_api",
|
||||
["musyx/seq_api", True],
|
||||
"musyx/snd_synthapi",
|
||||
"musyx/stream",
|
||||
"musyx/synthdata",
|
||||
"musyx/synthmacros",
|
||||
"musyx/synthvoice",
|
||||
"musyx/synth_ac",
|
||||
["musyx/synth_ac", True],
|
||||
"musyx/synth_adsr",
|
||||
"musyx/synth_vsamples",
|
||||
"musyx/synth_dbtab",
|
||||
["musyx/synth_dbtab", True],
|
||||
"musyx/s_data",
|
||||
"musyx/hw_dspctrl",
|
||||
"musyx/hw_volconv",
|
||||
"musyx/snd3d",
|
||||
"musyx/snd_init",
|
||||
["musyx/snd_init", True],
|
||||
"musyx/snd_math",
|
||||
"musyx/snd_midictrl",
|
||||
"musyx/snd_service",
|
||||
["musyx/snd_service", True],
|
||||
"musyx/hardware",
|
||||
"musyx/hw_aramdma",
|
||||
"musyx/dsp_import",
|
||||
["musyx/dsp_import", True],
|
||||
"musyx/hw_dolphin",
|
||||
"musyx/hw_memory",
|
||||
"musyx/creverb_fx",
|
||||
["musyx/hw_memory", True],
|
||||
["musyx/creverb_fx", True],
|
||||
"musyx/creverb",
|
||||
"musyx/reverb_fx",
|
||||
["musyx/reverb_fx", True],
|
||||
"musyx/reverb",
|
||||
"musyx/delay_fx",
|
||||
["musyx/delay_fx", True],
|
||||
"musyx/chorus_fx",
|
||||
],
|
||||
},
|
||||
|
@ -1081,7 +948,9 @@ LIBS = [
|
|||
"lib": "dtk",
|
||||
"mwcc_version": "1.2.5",
|
||||
"cflags": "$cflags_base",
|
||||
"objects": ["Dolphin/dtk"],
|
||||
"objects": [
|
||||
["Dolphin/dtk", True],
|
||||
],
|
||||
},
|
||||
{
|
||||
"lib": "card",
|
||||
|
@ -1089,21 +958,21 @@ LIBS = [
|
|||
"cflags": "$cflags_base",
|
||||
"objects": [
|
||||
"Dolphin/card/CARDBios",
|
||||
"Dolphin/card/CARDUnlock",
|
||||
"Dolphin/card/CARDRdwr",
|
||||
"Dolphin/card/CARDBlock",
|
||||
"Dolphin/card/CARDDir",
|
||||
["Dolphin/card/CARDUnlock", True],
|
||||
["Dolphin/card/CARDRdwr", True],
|
||||
["Dolphin/card/CARDBlock", True],
|
||||
["Dolphin/card/CARDDir", True],
|
||||
"Dolphin/card/CARDCheck",
|
||||
"Dolphin/card/CARDMount",
|
||||
"Dolphin/card/CARDFormat",
|
||||
"Dolphin/card/CARDOpen",
|
||||
"Dolphin/card/CARDCreate",
|
||||
"Dolphin/card/CARDRead",
|
||||
"Dolphin/card/CARDWrite",
|
||||
"Dolphin/card/CARDDelete",
|
||||
"Dolphin/card/CARDStat",
|
||||
"Dolphin/card/CARDRename",
|
||||
"Dolphin/card/CARDNet",
|
||||
["Dolphin/card/CARDMount", True],
|
||||
["Dolphin/card/CARDFormat", True],
|
||||
["Dolphin/card/CARDOpen", True],
|
||||
["Dolphin/card/CARDCreate", True],
|
||||
["Dolphin/card/CARDRead", True],
|
||||
["Dolphin/card/CARDWrite", True],
|
||||
["Dolphin/card/CARDDelete", True],
|
||||
["Dolphin/card/CARDStat", True],
|
||||
["Dolphin/card/CARDRename", True],
|
||||
["Dolphin/card/CARDNet", True],
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -1258,6 +1127,7 @@ else:
|
|||
description="AR $out")
|
||||
n.newline()
|
||||
|
||||
from pprint import pprint
|
||||
###
|
||||
# Build
|
||||
###
|
||||
|
@ -1269,6 +1139,11 @@ for lib in LIBS:
|
|||
else:
|
||||
n.comment("Loose files")
|
||||
for object in lib["objects"]:
|
||||
completed = False
|
||||
if type(object) is list:
|
||||
completed = object[1]
|
||||
object = object[0]
|
||||
|
||||
mwcc_version = lib["mwcc_version"]
|
||||
c_file = None
|
||||
if os.path.exists(os.path.join("src", f"{object}.cpp")):
|
||||
|
@ -1289,7 +1164,7 @@ for lib in LIBS:
|
|||
})
|
||||
if os.path.exists(os.path.join("asm", f"{object}.s")):
|
||||
n.build(f"$builddir/asm/{object}.o", "as", f"asm/{object}.s")
|
||||
if object in COMPLETE_OBJECTS:
|
||||
if completed:
|
||||
inputs.append(f"$builddir/src/{object}.o")
|
||||
else:
|
||||
inputs.append(f"$builddir/asm/{object}.o")
|
||||
|
@ -1306,7 +1181,16 @@ for lib in LIBS:
|
|||
inputs.append(f"$builddir/lib/{lib_name}.a")
|
||||
else:
|
||||
for object in lib["objects"]:
|
||||
if object in COMPLETE_OBJECTS:
|
||||
completed = False
|
||||
|
||||
if type(object) is list:
|
||||
completed = object[1]
|
||||
object = object[0]
|
||||
|
||||
if completed:
|
||||
if not completed:
|
||||
print(f"{object} is still in COMPLETE_OBJECTS")
|
||||
|
||||
inputs.append(f"$builddir/src/{object}.o")
|
||||
else:
|
||||
inputs.append(f"$builddir/asm/{object}.o")
|
||||
|
|
Loading…
Reference in New Issue