summaryrefslogtreecommitdiffstats
path: root/docs/release/scripts/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/release/scripts/src')
-rw-r--r--docs/release/scripts/src/3rdparty.lua2127
-rw-r--r--docs/release/scripts/src/benchmarks.lua74
-rw-r--r--docs/release/scripts/src/bus.lua3874
-rw-r--r--docs/release/scripts/src/cpu.lua2916
-rw-r--r--docs/release/scripts/src/devices.lua90
-rw-r--r--docs/release/scripts/src/emu.lua313
-rw-r--r--docs/release/scripts/src/formats.lua1880
-rw-r--r--docs/release/scripts/src/lib.lua117
-rw-r--r--docs/release/scripts/src/machine.lua4067
-rw-r--r--docs/release/scripts/src/main.lua446
-rw-r--r--docs/release/scripts/src/mame/frontend.lua168
-rw-r--r--docs/release/scripts/src/netlist.lua230
-rw-r--r--docs/release/scripts/src/osd/modules.lua556
-rw-r--r--docs/release/scripts/src/osd/newui.lua273
-rw-r--r--docs/release/scripts/src/osd/osdmini.lua130
-rw-r--r--docs/release/scripts/src/osd/osdmini_cfg.lua12
-rw-r--r--docs/release/scripts/src/osd/sdl.lua506
-rw-r--r--docs/release/scripts/src/osd/sdl_cfg.lua165
-rw-r--r--docs/release/scripts/src/osd/uwp.lua121
-rw-r--r--docs/release/scripts/src/osd/uwp_cfg.lua20
-rw-r--r--docs/release/scripts/src/osd/windows.lua291
-rw-r--r--docs/release/scripts/src/osd/windows_cfg.lua59
-rw-r--r--docs/release/scripts/src/osd/winui.lua320
-rw-r--r--docs/release/scripts/src/osd/winui_cfg.lua26
-rw-r--r--docs/release/scripts/src/sound.lua1543
-rw-r--r--docs/release/scripts/src/tests.lua99
-rw-r--r--docs/release/scripts/src/tools.lua891
-rw-r--r--docs/release/scripts/src/video.lua1220
28 files changed, 22534 insertions, 0 deletions
diff --git a/docs/release/scripts/src/3rdparty.lua b/docs/release/scripts/src/3rdparty.lua
new file mode 100644
index 00000000000..2a31b4ee392
--- /dev/null
+++ b/docs/release/scripts/src/3rdparty.lua
@@ -0,0 +1,2127 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- 3rdparty.lua
+--
+-- Library objects for all 3rdparty sources
+--
+---------------------------------------------------------------------------
+
+--------------------------------------------------
+-- expat library objects
+--------------------------------------------------
+
+if not _OPTIONS["with-system-expat"] then
+project "expat"
+ uuid "f4cd40b1-c37c-452d-9785-640f26f0bf54"
+ kind "StaticLib"
+
+ -- fake out the enough of expat_config.h to get by
+ defines {
+ "HAVE_MEMMOVE",
+ "HAVE_STDINT_H",
+ "HAVE_STDLIB_H",
+ "HAVE_STRING_H",
+ "PACKAGE_BUGREPORT=\"expat-bugs@libexpat.org\"",
+ "PACKAGE_NAME=\"expat\"",
+ "PACKAGE_STRING=\"expat 2.1.1\"",
+ "PACKAGE_TARNAME=\"expat\"",
+ "PACKAGE_URL=\"\"",
+ "PACKAGE_VERSION=\"2.1.1\"",
+ "STDC_HEADERS",
+ "XML_CONTEXT_BYTES=1024",
+ "XML_DTD",
+ "XML_NS",
+ }
+if _OPTIONS["BIGENDIAN"]=="1" then
+ defines {
+ "BYTEORDER=4321",
+ "WORDS_BIGENDIAN",
+ }
+else
+ defines {
+ "BYTEORDER=1234",
+ }
+end
+
+ configuration { "vs*" }
+ buildoptions {
+ "/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter
+ "/wd4127", -- warning C4127: conditional expression is constant
+ "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
+ }
+if _OPTIONS["vs"]=="intel-15" then
+ buildoptions {
+ "/Qwd111", -- remark #111: statement is unreachable
+ "/Qwd1879", -- warning #1879: unimplemented pragma ignored
+ "/Qwd2557", -- remark #2557: comparison between signed and unsigned operands
+ "/Qwd869", -- remark #869: parameter "xxx" was never referenced
+ }
+end
+ configuration { "vs201*" }
+ buildoptions {
+ "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration
+ }
+ configuration { }
+
+ files {
+ MAME_DIR .. "3rdparty/expat/lib/xmlparse.c",
+ MAME_DIR .. "3rdparty/expat/lib/xmlrole.c",
+ MAME_DIR .. "3rdparty/expat/lib/xmltok.c",
+ }
+else
+links {
+ ext_lib("expat"),
+}
+end
+
+--------------------------------------------------
+-- zlib library objects
+--------------------------------------------------
+
+if not _OPTIONS["with-system-zlib"] then
+project "zlib"
+ uuid "3d78bd2a-2bd0-4449-8087-42ddfaef7ec9"
+ kind "StaticLib"
+
+ local version = str_to_version(_OPTIONS["gcc_version"])
+ if _OPTIONS["gcc"]~=nil and ((string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs") or string.find(_OPTIONS["gcc"], "android"))) then
+ configuration { "gmake or ninja" }
+ if (version >= 30700) then
+ buildoptions {
+ "-Wno-shift-negative-value",
+ }
+ end
+ end
+
+ configuration { "vs*" }
+ buildoptions {
+ "/wd4131", -- warning C4131: 'xxx' : uses old-style declarator
+ "/wd4127", -- warning C4127: conditional expression is constant
+ "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
+ }
+if _OPTIONS["vs"]=="intel-15" then
+ buildoptions {
+ "/Qwd111", -- remark #111: statement is unreachable
+ "/Qwd280", -- remark #280: selector expression is constant
+ }
+end
+ configuration "Debug"
+ defines {
+ "verbose=-1",
+ }
+
+ configuration { "gmake or ninja" }
+ buildoptions_c {
+ "-Wno-strict-prototypes",
+ }
+
+ configuration { }
+ defines {
+ "ZLIB_CONST",
+ }
+
+ files {
+ MAME_DIR .. "3rdparty/zlib/adler32.c",
+ MAME_DIR .. "3rdparty/zlib/compress.c",
+ MAME_DIR .. "3rdparty/zlib/crc32.c",
+ MAME_DIR .. "3rdparty/zlib/deflate.c",
+ MAME_DIR .. "3rdparty/zlib/inffast.c",
+ MAME_DIR .. "3rdparty/zlib/inflate.c",
+ MAME_DIR .. "3rdparty/zlib/infback.c",
+ MAME_DIR .. "3rdparty/zlib/inftrees.c",
+ MAME_DIR .. "3rdparty/zlib/trees.c",
+ MAME_DIR .. "3rdparty/zlib/uncompr.c",
+ MAME_DIR .. "3rdparty/zlib/zutil.c",
+ }
+else
+links {
+ ext_lib("zlib"),
+}
+end
+
+--------------------------------------------------
+-- SoftFloat library objects
+--------------------------------------------------
+
+project "softfloat"
+ uuid "04fbf89e-4761-4cf2-8a12-64500cf0c5c5"
+ kind "StaticLib"
+
+ options {
+ "ForceCPP",
+ }
+
+ includedirs {
+ MAME_DIR .. "src/osd",
+ }
+ configuration { "vs*" }
+ buildoptions {
+ "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
+ "/wd4146", -- warning C4146: unary minus operator applied to unsigned type, result still unsigned
+ "/wd4018", -- warning C4018: 'x' : signed/unsigned mismatch
+ }
+if _OPTIONS["vs"]=="intel-15" then
+ buildoptions {
+ "/Qwd2557", -- remark #2557: comparison between signed and unsigned operands
+ }
+end
+ configuration { }
+
+ files {
+ MAME_DIR .. "3rdparty/softfloat/softfloat.c",
+ MAME_DIR .. "3rdparty/softfloat/fsincos.c",
+ MAME_DIR .. "3rdparty/softfloat/fyl2x.c",
+ }
+
+--------------------------------------------------
+-- SoftFloat 3 library objects
+--------------------------------------------------
+
+project "softfloat3"
+uuid "9c22fc90-53fd-11e8-b566-0800200c9a66"
+kind "StaticLib"
+
+options {
+ "ForceCPP",
+}
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "3rdparty/softfloat3/build/MAME",
+ MAME_DIR .. "3rdparty/softfloat3/source",
+ MAME_DIR .. "3rdparty/softfloat3/source/include",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086",
+}
+
+configuration { "vs*" }
+buildoptions {
+ "/wd4701", -- warning C4701: potentially uninitialized local variable 'xxx' used
+ "/wd4703", -- warning C4703: potentially uninitialized local pointer variable 'xxx' used
+}
+
+configuration { }
+defines {
+ "SOFTFLOAT_ROUND_ODD",
+ "INLINE_LEVEL=5",
+ "SOFTFLOAT_FAST_DIV32TO16",
+ "SOFTFLOAT_FAST_DIV64TO32",
+ "SOFTFLOAT_FAST_INT64"
+}
+
+files {
+ MAME_DIR .. "3rdparty/softfloat3/source/s_eq128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_le128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_lt128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftLeft128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftRight128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftRightJam64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftRightJam64Extra.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftRightJam128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftRightJam128Extra.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam64Extra.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam128Extra.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam256M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_countLeadingZeros8.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_countLeadingZeros16.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_countLeadingZeros32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_countLeadingZeros64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_add128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_add256M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_sub128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_sub256M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_mul64ByShifted32To128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_mul64To128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_mul128By32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_mul128To256M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_approxRecip_1Ks.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_approxRecip32_1.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_approxRecipSqrt_1Ks.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_approxRecipSqrt32_1.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/softfloat_raiseFlags.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/s_commonNaNToF16UI.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/s_propagateNaNF16UI.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/s_f32UIToCommonNaN.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/s_commonNaNToF32UI.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/s_propagateNaNF32UI.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/s_f64UIToCommonNaN.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/s_commonNaNToF64UI.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/s_propagateNaNF64UI.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/extF80M_isSignalingNaN.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/s_extF80UIToCommonNaN.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/s_commonNaNToExtF80UI.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/s_propagateNaNExtF80UI.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/f128M_isSignalingNaN.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/s_f128UIToCommonNaN.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/s_commonNaNToF128UI.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/8086/s_propagateNaNF128UI.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_roundToUI32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_roundToUI64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_roundToI32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_roundToI64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_normSubnormalF16Sig.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_roundPackToF16.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_normRoundPackToF16.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_addMagsF16.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_subMagsF16.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_mulAddF16.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_normSubnormalF32Sig.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_roundPackToF32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_normRoundPackToF32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_addMagsF32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_subMagsF32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_mulAddF32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_normSubnormalF64Sig.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_roundPackToF64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_normRoundPackToF64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_addMagsF64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_subMagsF64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_mulAddF64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_normSubnormalExtF80Sig.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_roundPackToExtF80.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_normRoundPackToExtF80.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_addMagsExtF80.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_subMagsExtF80.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_normSubnormalF128Sig.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_roundPackToF128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_normRoundPackToF128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_addMagsF128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_subMagsF128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/s_mulAddF128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/softfloat_state.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_f16.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_f32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_f64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_extF80.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_extF80M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_f128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_f128M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_f16.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_f32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_f64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_extF80.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_extF80M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_f128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_f128M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/i32_to_f16.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/i32_to_f32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/i32_to_f64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/i32_to_extF80.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/i32_to_extF80M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/i32_to_f128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/i32_to_f128M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/i64_to_f16.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/i64_to_f32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/i64_to_f64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/i64_to_extF80.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/i64_to_extF80M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/i64_to_f128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/i64_to_f128M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_to_ui32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_to_ui64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_to_i32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_to_i64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_to_ui32_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_to_ui64_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_to_i32_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_to_i64_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_to_f32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_to_f64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_to_extF80.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_to_extF80M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_to_f128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_to_f128M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_roundToInt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_add.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_sub.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_mul.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_mulAdd.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_div.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_rem.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_sqrt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_eq.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_le.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_lt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_eq_signaling.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_le_quiet.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_lt_quiet.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f16_isSignalingNaN.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_to_ui32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_to_ui64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_to_i32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_to_i64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_to_ui32_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_to_ui64_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_to_i32_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_to_i64_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_to_f16.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_to_f64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_to_extF80.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_to_extF80M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_to_f128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_to_f128M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_roundToInt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_add.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_sub.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_mul.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_mulAdd.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_div.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_rem.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_sqrt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_eq.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_le.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_lt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_eq_signaling.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_le_quiet.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_lt_quiet.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f32_isSignalingNaN.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_to_ui32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_to_ui64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_to_i32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_to_i64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_to_ui32_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_to_ui64_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_to_i32_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_to_i64_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_to_f16.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_to_f32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_to_extF80.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_to_extF80M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_to_f128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_to_f128M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_roundToInt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_add.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_sub.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_mul.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_mulAdd.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_div.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_rem.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_sqrt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_eq.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_le.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_lt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_eq_signaling.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_le_quiet.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_lt_quiet.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f64_isSignalingNaN.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_ui32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_ui64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_i32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_i64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_ui32_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_ui64_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_i32_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_i64_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_f16.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_f32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_f64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_f128.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_roundToInt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_add.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_sub.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_mul.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_div.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_rem.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_sqrt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_eq.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_le.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_lt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_eq_signaling.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_le_quiet.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_lt_quiet.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80_isSignalingNaN.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_ui32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_ui64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_i32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_i64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_ui32_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_ui64_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_i32_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_i64_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_f16.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_f32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_f64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_f128M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_roundToInt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_add.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_sub.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_mul.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_div.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_rem.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_sqrt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_eq.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_le.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_lt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_eq_signaling.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_le_quiet.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/extF80M_lt_quiet.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_to_ui32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_to_ui64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_to_i32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_to_i64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_to_ui32_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_to_ui64_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_to_i32_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_to_i64_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_to_f16.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_to_f32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_to_extF80.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_to_f64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_roundToInt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_add.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_sub.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_mul.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_mulAdd.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_div.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_rem.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_sqrt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_eq.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_le.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_lt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_eq_signaling.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_le_quiet.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_lt_quiet.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128_isSignalingNaN.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_ui32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_ui64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_i32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_i64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_ui32_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_ui64_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_i32_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_i64_r_minMag.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_f16.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_f32.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_extF80M.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_f64.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_roundToInt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_add.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_sub.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_mul.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_mulAdd.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_div.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_rem.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_sqrt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_eq.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_le.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_lt.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_eq_signaling.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_le_quiet.c",
+ MAME_DIR .. "3rdparty/softfloat3/source/f128M_lt_quiet.c",
+}
+
+-------------------------------------------------
+-- libJPEG library objects
+--------------------------------------------------
+
+if not _OPTIONS["with-system-jpeg"] then
+project "jpeg"
+ uuid "447c6800-dcfd-4c48-b72a-a8223bb409ca"
+ kind "StaticLib"
+
+ configuration { "vs*" }
+ buildoptions {
+ "/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter
+ "/wd4127", -- warning C4127: conditional expression is constant
+ "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
+ }
+if _OPTIONS["vs"]=="intel-15" then
+ buildoptions {
+ "/Qwd869", -- remark #869: parameter "xxx" was never referenced
+ }
+end
+
+ configuration { "winstore*" }
+ defines {
+ "NO_GETENV"
+ }
+
+ configuration { }
+
+ files {
+ MAME_DIR .. "3rdparty/libjpeg/jaricom.c",
+ MAME_DIR .. "3rdparty/libjpeg/jcapimin.c",
+ MAME_DIR .. "3rdparty/libjpeg/jcapistd.c",
+ MAME_DIR .. "3rdparty/libjpeg/jcarith.c",
+ MAME_DIR .. "3rdparty/libjpeg/jccoefct.c",
+ MAME_DIR .. "3rdparty/libjpeg/jccolor.c",
+ MAME_DIR .. "3rdparty/libjpeg/jcdctmgr.c",
+ MAME_DIR .. "3rdparty/libjpeg/jchuff.c",
+ MAME_DIR .. "3rdparty/libjpeg/jcinit.c",
+ MAME_DIR .. "3rdparty/libjpeg/jcmainct.c",
+ MAME_DIR .. "3rdparty/libjpeg/jcmarker.c",
+ MAME_DIR .. "3rdparty/libjpeg/jcmaster.c",
+ MAME_DIR .. "3rdparty/libjpeg/jcomapi.c",
+ MAME_DIR .. "3rdparty/libjpeg/jcparam.c",
+ MAME_DIR .. "3rdparty/libjpeg/jcprepct.c",
+ MAME_DIR .. "3rdparty/libjpeg/jcsample.c",
+ MAME_DIR .. "3rdparty/libjpeg/jctrans.c",
+ MAME_DIR .. "3rdparty/libjpeg/jdapimin.c",
+ MAME_DIR .. "3rdparty/libjpeg/jdapistd.c",
+ MAME_DIR .. "3rdparty/libjpeg/jdarith.c",
+ MAME_DIR .. "3rdparty/libjpeg/jdatadst.c",
+ MAME_DIR .. "3rdparty/libjpeg/jdatasrc.c",
+ MAME_DIR .. "3rdparty/libjpeg/jdcoefct.c",
+ MAME_DIR .. "3rdparty/libjpeg/jdcolor.c",
+ MAME_DIR .. "3rdparty/libjpeg/jddctmgr.c",
+ MAME_DIR .. "3rdparty/libjpeg/jdhuff.c",
+ MAME_DIR .. "3rdparty/libjpeg/jdinput.c",
+ MAME_DIR .. "3rdparty/libjpeg/jdmainct.c",
+ MAME_DIR .. "3rdparty/libjpeg/jdmarker.c",
+ MAME_DIR .. "3rdparty/libjpeg/jdmaster.c",
+ MAME_DIR .. "3rdparty/libjpeg/jdmerge.c",
+ MAME_DIR .. "3rdparty/libjpeg/jdpostct.c",
+ MAME_DIR .. "3rdparty/libjpeg/jdsample.c",
+ MAME_DIR .. "3rdparty/libjpeg/jdtrans.c",
+ MAME_DIR .. "3rdparty/libjpeg/jerror.c",
+ MAME_DIR .. "3rdparty/libjpeg/jfdctflt.c",
+ MAME_DIR .. "3rdparty/libjpeg/jfdctfst.c",
+ MAME_DIR .. "3rdparty/libjpeg/jfdctint.c",
+ MAME_DIR .. "3rdparty/libjpeg/jidctflt.c",
+ MAME_DIR .. "3rdparty/libjpeg/jidctfst.c",
+ MAME_DIR .. "3rdparty/libjpeg/jidctint.c",
+ MAME_DIR .. "3rdparty/libjpeg/jquant1.c",
+ MAME_DIR .. "3rdparty/libjpeg/jquant2.c",
+ MAME_DIR .. "3rdparty/libjpeg/jutils.c",
+ MAME_DIR .. "3rdparty/libjpeg/jmemmgr.c",
+ MAME_DIR .. "3rdparty/libjpeg/jmemansi.c",
+ }
+else
+links {
+ ext_lib("jpeg"),
+}
+end
+
+--------------------------------------------------
+-- libflac library objects
+--------------------------------------------------
+
+if not _OPTIONS["with-system-flac"] then
+project "flac"
+ uuid "b6fc19e8-073a-4541-bb7b-d24b548d424a"
+ kind "StaticLib"
+
+ configuration { "vs*" }
+ buildoptions {
+ "/wd4127", -- warning C4127: conditional expression is constant
+ "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
+ "/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter
+ "/wd4702", -- warning C4702: unreachable code
+ }
+if _OPTIONS["vs"]=="intel-15" then
+ buildoptions {
+ "/Qwd111", -- remark #111: statement is unreachable
+ "/Qwd177", -- remark #177: function "xxx" was declared but never referenced
+ "/Qwd181", -- remark #181: argument of type "UINT32={unsigned int}" is incompatible with format "%d", expecting argument of type "int"
+ "/Qwd188", -- error #188: enumerated type mixed with another type
+ "/Qwd869", -- remark #869: parameter "xxx" was never referenced
+ }
+end
+
+ configuration { "mingw-clang" }
+ buildoptions {
+ "-include stdint.h"
+ }
+
+ configuration { "vs201*" }
+ buildoptions {
+ "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration
+ }
+
+ configuration { "vsllvm" }
+ buildoptions {
+ "-Wno-unused-function",
+ "-Wno-enum-conversion",
+ }
+
+ configuration { }
+ defines {
+ "WORDS_BIGENDIAN=0",
+ "FLAC__NO_ASM",
+ "_LARGEFILE_SOURCE",
+ "_FILE_OFFSET_BITS=64",
+ "FLAC__HAS_OGG=0",
+ "HAVE_CONFIG_H=1",
+ }
+
+ configuration { "gmake or ninja" }
+ buildoptions_c {
+ "-Wno-unused-function",
+ "-O0",
+ }
+ if _OPTIONS["gcc"]~=nil and (string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "android")) then
+ buildoptions {
+ "-Wno-enum-conversion",
+ }
+ if _OPTIONS["targetos"]=="macosx" then
+ buildoptions_c {
+ "-Wno-unknown-attributes",
+ }
+ end
+ end
+ configuration { }
+
+ includedirs {
+ MAME_DIR .. "3rdparty/libflac/src/libFLAC/include",
+ MAME_DIR .. "3rdparty/libflac/include",
+ }
+
+ files {
+ MAME_DIR .. "3rdparty/libflac/src/libFLAC/bitmath.c",
+ MAME_DIR .. "3rdparty/libflac/src/libFLAC/bitreader.c",
+ MAME_DIR .. "3rdparty/libflac/src/libFLAC/bitwriter.c",
+ MAME_DIR .. "3rdparty/libflac/src/libFLAC/cpu.c",
+ MAME_DIR .. "3rdparty/libflac/src/libFLAC/crc.c",
+ MAME_DIR .. "3rdparty/libflac/src/libFLAC/fixed.c",
+ MAME_DIR .. "3rdparty/libflac/src/libFLAC/float.c",
+ MAME_DIR .. "3rdparty/libflac/src/libFLAC/format.c",
+ MAME_DIR .. "3rdparty/libflac/src/libFLAC/lpc.c",
+ MAME_DIR .. "3rdparty/libflac/src/libFLAC/md5.c",
+ MAME_DIR .. "3rdparty/libflac/src/libFLAC/memory.c",
+ MAME_DIR .. "3rdparty/libflac/src/libFLAC/stream_decoder.c",
+ MAME_DIR .. "3rdparty/libflac/src/libFLAC/stream_encoder.c",
+ MAME_DIR .. "3rdparty/libflac/src/libFLAC/stream_encoder_framing.c",
+ MAME_DIR .. "3rdparty/libflac/src/libFLAC/window.c",
+ }
+else
+links {
+ ext_lib("flac"),
+}
+end
+
+--------------------------------------------------
+-- lib7z library objects
+--------------------------------------------------
+
+project "7z"
+ uuid "ad573d62-e76a-4b11-ae34-5110a6789a42"
+ kind "StaticLib"
+
+ configuration { "gmake or ninja" }
+ buildoptions_c {
+ "-Wno-undef",
+ "-Wno-strict-prototypes",
+ }
+
+ configuration { "mingw*" }
+ buildoptions_c {
+ "-Wno-strict-prototypes",
+ }
+
+ configuration { "vs*" }
+ buildoptions {
+ "/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter
+ }
+if _OPTIONS["vs"]=="intel-15" then
+ buildoptions {
+ "/Qwd869", -- remark #869: parameter "xxx" was never referenced
+ }
+end
+ configuration { "vs201*" }
+ buildoptions {
+ "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration
+ "/wd4457", -- warning C4457: declaration of 'xxx' hides function parameter
+ }
+ configuration { "winstore*" }
+ forcedincludes {
+ MAME_DIR .. "src/osd/uwp/uwpcompat.h"
+ }
+
+ configuration { }
+ defines {
+ "_7ZIP_PPMD_SUPPPORT",
+ "_7ZIP_ST",
+ }
+
+ files {
+ MAME_DIR .. "3rdparty/lzma/C/7zAlloc.c",
+ MAME_DIR .. "3rdparty/lzma/C/7zArcIn.c",
+ MAME_DIR .. "3rdparty/lzma/C/7zBuf.c",
+ MAME_DIR .. "3rdparty/lzma/C/7zBuf2.c",
+ MAME_DIR .. "3rdparty/lzma/C/7zCrc.c",
+ MAME_DIR .. "3rdparty/lzma/C/7zCrcOpt.c",
+ MAME_DIR .. "3rdparty/lzma/C/7zDec.c",
+ MAME_DIR .. "3rdparty/lzma/C/7zFile.c",
+ MAME_DIR .. "3rdparty/lzma/C/7zStream.c",
+ MAME_DIR .. "3rdparty/lzma/C/Aes.c",
+ MAME_DIR .. "3rdparty/lzma/C/AesOpt.c",
+ MAME_DIR .. "3rdparty/lzma/C/Alloc.c",
+ MAME_DIR .. "3rdparty/lzma/C/Bcj2.c",
+ -- MAME_DIR .. "3rdparty/lzma/C/Bcj2Enc.c",
+ MAME_DIR .. "3rdparty/lzma/C/Bra.c",
+ MAME_DIR .. "3rdparty/lzma/C/Bra86.c",
+ MAME_DIR .. "3rdparty/lzma/C/BraIA64.c",
+ MAME_DIR .. "3rdparty/lzma/C/CpuArch.c",
+ MAME_DIR .. "3rdparty/lzma/C/Delta.c",
+ -- MAME_DIR .. "3rdparty/lzma/C/DllSecur.c",
+ MAME_DIR .. "3rdparty/lzma/C/LzFind.c",
+ -- MAME_DIR .. "3rdparty/lzma/C/LzFindMt.c",
+ MAME_DIR .. "3rdparty/lzma/C/Lzma2Dec.c",
+ MAME_DIR .. "3rdparty/lzma/C/Lzma2Enc.c",
+ MAME_DIR .. "3rdparty/lzma/C/Lzma86Dec.c",
+ MAME_DIR .. "3rdparty/lzma/C/Lzma86Enc.c",
+ MAME_DIR .. "3rdparty/lzma/C/LzmaDec.c",
+ MAME_DIR .. "3rdparty/lzma/C/LzmaEnc.c",
+ -- MAME_DIR .. "3rdparty/lzma/C/LzmaLib.c",
+ -- MAME_DIR .. "3rdparty/lzma/C/MtCoder.c",
+ MAME_DIR .. "3rdparty/lzma/C/Ppmd7.c",
+ MAME_DIR .. "3rdparty/lzma/C/Ppmd7Dec.c",
+ MAME_DIR .. "3rdparty/lzma/C/Ppmd7Enc.c",
+ MAME_DIR .. "3rdparty/lzma/C/Sha256.c",
+ MAME_DIR .. "3rdparty/lzma/C/Sort.c",
+ -- MAME_DIR .. "3rdparty/lzma/C/Threads.c",
+ -- MAME_DIR .. "3rdparty/lzma/C/Xz.c",
+ -- MAME_DIR .. "3rdparty/lzma/C/XzCrc64.c",
+ -- MAME_DIR .. "3rdparty/lzma/C/XzCrc64Opt.c",
+ -- MAME_DIR .. "3rdparty/lzma/C/XzDec.c",
+ -- MAME_DIR .. "3rdparty/lzma/C/XzEnc.c",
+ -- MAME_DIR .. "3rdparty/lzma/C/XzIn.c",
+ }
+
+--------------------------------------------------
+-- LUA library objects
+--------------------------------------------------
+if (STANDALONE~=true) then
+
+if not _OPTIONS["with-system-lua"] then
+project "lua"
+ uuid "d9e2eed1-f1ab-4737-a6ac-863700b1a5a9"
+ kind "StaticLib"
+
+ -- uncomment the options below to
+ -- compile using c++. Do the same
+ -- in lualibs.
+ -- In addition comment out the "extern "C""
+ -- in lua.hpp and do the same in luaengine.c line 47
+ --options {
+ -- "ForceCPP",
+ --}
+
+ configuration { "gmake or ninja" }
+ buildoptions_c {
+ "-Wno-bad-function-cast"
+ }
+
+ configuration { "vs*" }
+ buildoptions {
+ "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
+ "/wd4702", -- warning C4702: unreachable code
+ "/wd4310", -- warning C4310: cast truncates constant value
+ }
+if _OPTIONS["vs"]=="intel-15" then
+ buildoptions {
+ "/Qwd592", -- error #592: variable "xxx" is used before its value is set
+ }
+end
+
+ configuration { "winstore*" }
+ forcedincludes {
+ MAME_DIR .. "src/osd/uwp/uwpcompat.h",
+ }
+
+ configuration { }
+ defines {
+ "LUA_COMPAT_ALL",
+ "LUA_COMPAT_5_1",
+ "LUA_COMPAT_5_2",
+ }
+ if not (_OPTIONS["targetos"]=="windows") and not (_OPTIONS["targetos"]=="asmjs") and not (_OPTIONS["targetos"]=="pnacl") then
+ defines {
+ "LUA_USE_POSIX",
+ }
+ end
+ if ("pnacl" == _OPTIONS["gcc"]) then
+ defines {
+ "LUA_32BITS",
+ }
+ end
+
+ configuration { }
+
+ includedirs {
+ MAME_DIR .. "3rdparty",
+ }
+
+ files {
+ MAME_DIR .. "3rdparty/lua/src/lapi.c",
+ MAME_DIR .. "3rdparty/lua/src/lcode.c",
+ MAME_DIR .. "3rdparty/lua/src/lctype.c",
+ MAME_DIR .. "3rdparty/lua/src/ldebug.c",
+ MAME_DIR .. "3rdparty/lua/src/ldo.c",
+ MAME_DIR .. "3rdparty/lua/src/ldump.c",
+ MAME_DIR .. "3rdparty/lua/src/lfunc.c",
+ MAME_DIR .. "3rdparty/lua/src/lgc.c",
+ MAME_DIR .. "3rdparty/lua/src/llex.c",
+ MAME_DIR .. "3rdparty/lua/src/lmem.c",
+ MAME_DIR .. "3rdparty/lua/src/lobject.c",
+ MAME_DIR .. "3rdparty/lua/src/lopcodes.c",
+ MAME_DIR .. "3rdparty/lua/src/lparser.c",
+ MAME_DIR .. "3rdparty/lua/src/lstate.c",
+ MAME_DIR .. "3rdparty/lua/src/lstring.c",
+ MAME_DIR .. "3rdparty/lua/src/ltable.c",
+ MAME_DIR .. "3rdparty/lua/src/ltm.c",
+ MAME_DIR .. "3rdparty/lua/src/lundump.c",
+ MAME_DIR .. "3rdparty/lua/src/lvm.c",
+ MAME_DIR .. "3rdparty/lua/src/lzio.c",
+ MAME_DIR .. "3rdparty/lua/src/lauxlib.c",
+ MAME_DIR .. "3rdparty/lua/src/lbaselib.c",
+ MAME_DIR .. "3rdparty/lua/src/lbitlib.c",
+ MAME_DIR .. "3rdparty/lua/src/lcorolib.c",
+ MAME_DIR .. "3rdparty/lua/src/ldblib.c",
+ MAME_DIR .. "3rdparty/lua/src/liolib.c",
+ MAME_DIR .. "3rdparty/lua/src/lmathlib.c",
+ MAME_DIR .. "3rdparty/lua/src/loslib.c",
+ MAME_DIR .. "3rdparty/lua/src/lstrlib.c",
+ MAME_DIR .. "3rdparty/lua/src/ltablib.c",
+ MAME_DIR .. "3rdparty/lua/src/loadlib.c",
+ MAME_DIR .. "3rdparty/lua/src/linit.c",
+ MAME_DIR .. "3rdparty/lua/src/lutf8lib.c",
+ }
+else
+links {
+ ext_lib("lua"),
+}
+end
+
+--------------------------------------------------
+-- small lua library objects
+--------------------------------------------------
+
+project "lualibs"
+ uuid "1d84edab-94cf-48fb-83ee-b75bc697660e"
+ kind "StaticLib"
+
+ configuration { "vs*" }
+ buildoptions {
+ "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
+ "/wd4055", -- warning C4055: 'type cast': from data pointer 'void *' to function pointer 'xxx'
+ "/wd4152", -- warning C4152: nonstandard extension, function/data pointer conversion in expression
+ "/wd4130", -- warning C4130: '==': logical operation on address of string constant
+ }
+
+ configuration { "pnacl"}
+ buildoptions {
+ "-Wno-char-subscripts",
+ }
+
+ configuration { }
+ defines {
+ "LUA_COMPAT_ALL",
+ }
+
+ includedirs {
+ MAME_DIR .. "3rdparty",
+ }
+if (_OPTIONS["osd"] ~= "uwp") then
+ includedirs {
+ MAME_DIR .. "3rdparty/linenoise",
+ }
+end
+ includedirs {
+ ext_includedir("lua"),
+ ext_includedir("zlib"),
+ ext_includedir("sqlite3"),
+ }
+
+ configuration { "winstore*" }
+ forcedincludes {
+ MAME_DIR .. "src/osd/uwp/uwpcompat.h"
+ }
+
+ configuration {}
+
+ files {
+ MAME_DIR .. "3rdparty/lsqlite3/lsqlite3.c",
+ MAME_DIR .. "3rdparty/lua-zlib/lua_zlib.c",
+ MAME_DIR .. "3rdparty/luafilesystem/src/lfs.c",
+ }
+if (_OPTIONS["osd"] == "uwp") then
+ files {
+ MAME_DIR .. "3rdparty/lua-linenoise/linenoise_none.c",
+ }
+else
+ files {
+ MAME_DIR .. "3rdparty/lua-linenoise/linenoise.c",
+ }
+end
+
+--------------------------------------------------
+-- SQLite3 library objects
+--------------------------------------------------
+
+if not _OPTIONS["with-system-sqlite3"] then
+project "sqlite3"
+ uuid "5cb3d495-57ed-461c-81e5-80dc0857517d"
+ kind "StaticLib"
+
+ configuration { "gmake" }
+ buildoptions_c {
+ "-Wno-discarded-qualifiers",
+ "-Wno-unused-but-set-variable",
+ "-Wno-bad-function-cast",
+ "-Wno-undef",
+ }
+if _OPTIONS["gcc"]~=nil and ((string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs") or string.find(_OPTIONS["gcc"], "android"))) then
+ buildoptions_c {
+ "-Wno-incompatible-pointer-types-discards-qualifiers",
+ }
+end
+ configuration { "winstore*" }
+ defines {
+ "SQLITE_OS_WINRT",
+ }
+
+ configuration { "vsllvm" }
+ buildoptions {
+ "-Wno-deprecated-declarations",
+ "-Wno-unused-variable",
+ }
+
+ configuration { }
+
+ files {
+ MAME_DIR .. "3rdparty/sqlite3/sqlite3.c",
+ }
+else
+links {
+ ext_lib("sqlite3"),
+}
+end
+
+end
+--------------------------------------------------
+-- portmidi library objects
+--------------------------------------------------
+if _OPTIONS["NO_USE_MIDI"]~="1" then
+if not _OPTIONS["with-system-portmidi"] then
+project "portmidi"
+ uuid "587f2da6-3274-4a65-86a2-f13ea315bb98"
+ kind "StaticLib"
+
+ includedirs {
+ MAME_DIR .. "3rdparty/portmidi/pm_common",
+ MAME_DIR .. "3rdparty/portmidi/porttime",
+ }
+
+ configuration { "vs*" }
+ buildoptions {
+ "/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter
+ "/wd4127", -- warning C4127: conditional expression is constant
+ "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
+ "/wd4706", -- warning C4706: assignment within conditional expression
+ }
+if _OPTIONS["vs"]=="intel-15" then
+ buildoptions {
+ "/Qwd188", -- error #188: enumerated type mixed with another type
+ "/Qwd344", -- remark #344: typedef name has already been declared (with same type)
+ "/Qwd869", -- remark #869: parameter "xxx" was never referenced
+ "/Qwd2557", -- remark #2557: comparison between signed and unsigned operands
+ }
+end
+
+ configuration { "vs201*" }
+ buildoptions {
+ "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration
+ }
+
+ configuration { "linux*" }
+ defines {
+ "PMALSA=1",
+ }
+
+ configuration { }
+
+ files {
+ MAME_DIR .. "3rdparty/portmidi/pm_common/portmidi.c",
+ MAME_DIR .. "3rdparty/portmidi/pm_common/pmutil.c",
+ }
+
+ if _OPTIONS["targetos"]=="windows" then
+ files {
+ MAME_DIR .. "3rdparty/portmidi/porttime/ptwinmm.c",
+ MAME_DIR .. "3rdparty/portmidi/pm_win/pmwin.c",
+ MAME_DIR .. "3rdparty/portmidi/pm_win/pmwinmm.c",
+ MAME_DIR .. "3rdparty/portmidi/porttime/ptwinmm.c",
+ }
+ end
+
+ if _OPTIONS["targetos"]=="linux" then
+ files {
+ MAME_DIR .. "3rdparty/portmidi/pm_linux/pmlinux.c",
+ MAME_DIR .. "3rdparty/portmidi/pm_linux/pmlinuxalsa.c",
+ MAME_DIR .. "3rdparty/portmidi/pm_linux/finddefault.c",
+ MAME_DIR .. "3rdparty/portmidi/porttime/ptlinux.c",
+ }
+ end
+ if _OPTIONS["targetos"]=="netbsd" then
+ files {
+ MAME_DIR .. "3rdparty/portmidi/pm_linux/pmlinux.c",
+ MAME_DIR .. "3rdparty/portmidi/pm_linux/finddefault.c",
+ MAME_DIR .. "3rdparty/portmidi/porttime/ptlinux.c",
+ }
+ end
+ if _OPTIONS["targetos"]=="macosx" then
+ files {
+ MAME_DIR .. "3rdparty/portmidi/pm_mac/pmmac.c",
+ MAME_DIR .. "3rdparty/portmidi/pm_mac/pmmacosxcm.c",
+ MAME_DIR .. "3rdparty/portmidi/pm_mac/finddefault.c",
+ MAME_DIR .. "3rdparty/portmidi/pm_mac/readbinaryplist.c",
+ MAME_DIR .. "3rdparty/portmidi/pm_mac/osxsupport.m",
+ MAME_DIR .. "3rdparty/portmidi/porttime/ptmacosx_mach.c",
+ }
+ end
+else
+links {
+ ext_lib("portmidi"),
+}
+end
+end
+
+--------------------------------------------------
+-- BX library objects
+--------------------------------------------------
+
+project "bx"
+ uuid "238318fe-49f5-4eb4-88be-0618900f5eac"
+ kind "StaticLib"
+
+ defines {
+ "__STDC_LIMIT_MACROS",
+ "__STDC_FORMAT_MACROS",
+ "__STDC_CONSTANT_MACROS",
+ }
+
+ configuration { "vs*" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/msvc",
+ }
+ configuration { "mingw*" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/mingw",
+ }
+
+ configuration { "osx* or xcode4" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/osx",
+ }
+
+ configuration { "freebsd" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/freebsd",
+ }
+
+ configuration { "netbsd" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/freebsd",
+ }
+
+ configuration { }
+
+ local version = str_to_version(_OPTIONS["gcc_version"])
+ if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "gcc") then
+ if version < 60000 then
+ buildoptions {
+ "-Wno-strict-overflow",
+ }
+ end
+ end
+
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include",
+ MAME_DIR .. "3rdparty/bx/3rdparty",
+ }
+
+ files {
+ MAME_DIR .. "3rdparty/bx/src/allocator.cpp",
+ MAME_DIR .. "3rdparty/bx/src/bx.cpp",
+ MAME_DIR .. "3rdparty/bx/src/commandline.cpp",
+ MAME_DIR .. "3rdparty/bx/src/crtnone.cpp",
+ MAME_DIR .. "3rdparty/bx/src/debug.cpp",
+ MAME_DIR .. "3rdparty/bx/src/dtoa.cpp",
+ MAME_DIR .. "3rdparty/bx/src/easing.cpp",
+ MAME_DIR .. "3rdparty/bx/src/file.cpp",
+ MAME_DIR .. "3rdparty/bx/src/filepath.cpp",
+ MAME_DIR .. "3rdparty/bx/src/hash.cpp",
+ MAME_DIR .. "3rdparty/bx/src/math.cpp",
+ MAME_DIR .. "3rdparty/bx/src/mutex.cpp",
+ MAME_DIR .. "3rdparty/bx/src/os.cpp",
+ MAME_DIR .. "3rdparty/bx/src/process.cpp",
+ MAME_DIR .. "3rdparty/bx/src/semaphore.cpp",
+ MAME_DIR .. "3rdparty/bx/src/settings.cpp",
+ MAME_DIR .. "3rdparty/bx/src/sort.cpp",
+ MAME_DIR .. "3rdparty/bx/src/string.cpp",
+ MAME_DIR .. "3rdparty/bx/src/thread.cpp",
+ MAME_DIR .. "3rdparty/bx/src/timer.cpp",
+ MAME_DIR .. "3rdparty/bx/src/url.cpp",
+ }
+
+--------------------------------------------------
+-- BIMG library objects
+--------------------------------------------------
+
+project "bimg"
+ uuid "5603611b-8bf8-4ffd-85bc-76858cd7df39"
+ kind "StaticLib"
+
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include",
+ }
+
+ configuration { "vs*" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/msvc",
+ }
+ configuration { "mingw*" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/mingw",
+ }
+
+ configuration { "osx* or xcode4" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/osx",
+ }
+
+ configuration { "freebsd" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/freebsd",
+ }
+
+ configuration { "netbsd" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/freebsd",
+ }
+
+ configuration { }
+
+ defines {
+ "__STDC_LIMIT_MACROS",
+ "__STDC_FORMAT_MACROS",
+ "__STDC_CONSTANT_MACROS",
+ }
+
+ includedirs {
+ MAME_DIR .. "3rdparty/bimg/include",
+ }
+
+ files {
+ MAME_DIR .. "3rdparty/bimg/src/image.cpp",
+ MAME_DIR .. "3rdparty/bimg/src/image_gnf.cpp",
+ }
+
+--------------------------------------------------
+-- BGFX library objects
+--------------------------------------------------
+
+project "bgfx"
+ uuid "d3e7e119-35cf-4f4f-aba0-d3bdcd1b879a"
+ kind "StaticLib"
+
+ configuration { "vs*" }
+ buildoptions {
+ "/wd4324", -- warning C4324: 'xxx' : structure was padded due to __declspec(align())
+ "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
+ "/wd4611", -- warning C4611: interaction between '_setjmp' and C++ object destruction is non-portable
+ "/wd4310", -- warning C4310: cast truncates constant value
+ }
+
+ configuration { "vsllvm" }
+ buildoptions {
+ "-Wno-unneeded-internal-declaration",
+ "-Wno-unused-const-variable",
+ }
+
+if _OPTIONS["vs"]=="intel-15" then
+ buildoptions {
+ "/Qwd906", -- message #906: effect of this "#pragma pack" directive is local to function "xxx"
+ "/Qwd1879", -- warning #1879: unimplemented pragma ignored
+ "/Qwd82", -- remark #82: storage class is not first
+ }
+end
+ configuration { }
+
+ includedirs {
+ MAME_DIR .. "3rdparty/bgfx/include",
+ MAME_DIR .. "3rdparty/bgfx/3rdparty",
+ MAME_DIR .. "3rdparty/bx/include",
+ MAME_DIR .. "3rdparty/bimg/include",
+ MAME_DIR .. "3rdparty/bgfx/3rdparty/dxsdk/include",
+ }
+
+ configuration { "not steamlink"}
+ includedirs {
+ MAME_DIR .. "3rdparty/bgfx/3rdparty/khronos",
+ }
+
+ configuration { "android-*"}
+ buildoptions {
+ "-Wno-macro-redefined",
+ }
+
+ configuration { "vs*" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/msvc",
+ }
+ configuration { "mingw*" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/mingw",
+ }
+
+ configuration { "osx* or xcode4" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/osx",
+ }
+
+ configuration { "freebsd" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/freebsd",
+ }
+
+ configuration { "netbsd" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/freebsd",
+ }
+
+ configuration { "gmake or ninja" }
+ buildoptions {
+ "-Wno-uninitialized",
+ "-Wno-unused-function",
+ "-Wno-unused-variable",
+ "-Wno-unused-but-set-variable",
+ "-Wno-format-extra-args", -- temp for mingw 6.1 till update bgfx code
+ }
+ configuration { "rpi" }
+ buildoptions {
+ "-Wno-unused-but-set-variable",
+ "-Wno-unused-variable",
+ }
+ defines {
+ "__STDC_VERSION__=199901L",
+ }
+
+ configuration { }
+
+ local version = str_to_version(_OPTIONS["gcc_version"])
+ if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "gcc") then
+ if version >= 60000 then
+ buildoptions_cpp {
+ "-Wno-misleading-indentation",
+ }
+ end
+ end
+
+ if _OPTIONS["targetos"]=="windows" then
+ if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then
+ buildoptions {
+ "-Wno-unknown-attributes",
+ "-Wno-missing-braces",
+ "-Wno-int-to-pointer-cast",
+ }
+ end
+ end
+
+ if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="linux" then
+ if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then
+ buildoptions {
+ "-Wno-switch",
+ }
+ buildoptions_cpp {
+ "-Wno-unknown-pragmas",
+ }
+ end
+ end
+
+ defines {
+ "__STDC_LIMIT_MACROS",
+ "__STDC_FORMAT_MACROS",
+ "__STDC_CONSTANT_MACROS",
+ "BGFX_CONFIG_MAX_FRAME_BUFFERS=128",
+ }
+ files {
+ MAME_DIR .. "3rdparty/bgfx/src/bgfx.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/debug_renderdoc.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/dxgi.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/glcontext_egl.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/glcontext_glx.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/glcontext_wgl.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/nvapi.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/renderer_d3d11.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/renderer_d3d12.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/renderer_d3d9.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/renderer_gl.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/renderer_gnm.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/renderer_noop.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/renderer_vk.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/shader.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/shader_dx9bc.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/shader_dxbc.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/shader_spirv.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/topology.cpp",
+ MAME_DIR .. "3rdparty/bgfx/src/vertexdecl.cpp",
+ MAME_DIR .. "3rdparty/bgfx/examples/common/imgui/imgui.cpp",
+ MAME_DIR .. "3rdparty/bgfx/examples/common/nanovg/nanovg.cpp",
+ MAME_DIR .. "3rdparty/bgfx/examples/common/nanovg/nanovg_bgfx.cpp",
+ MAME_DIR .. "3rdparty/bgfx/3rdparty/dear-imgui/imgui.cpp",
+ MAME_DIR .. "3rdparty/bgfx/3rdparty/dear-imgui/imgui_draw.cpp",
+ MAME_DIR .. "3rdparty/bgfx/3rdparty/dear-imgui/imgui_widgets.cpp",
+ }
+ if _OPTIONS["targetos"]=="macosx" then
+ files {
+ MAME_DIR .. "3rdparty/bgfx/src/glcontext_eagl.mm",
+ MAME_DIR .. "3rdparty/bgfx/src/glcontext_nsgl.mm",
+ MAME_DIR .. "3rdparty/bgfx/src/renderer_mtl.mm",
+ }
+ end
+
+--------------------------------------------------
+-- PortAudio library objects
+--------------------------------------------------
+if _OPTIONS["NO_USE_PORTAUDIO"]~="1" then
+if not _OPTIONS["with-system-portaudio"] then
+project "portaudio"
+ uuid "0755c5f5-eccf-47f3-98a9-df67018a94d4"
+ kind "StaticLib"
+
+ configuration { "vs*" }
+ buildoptions {
+ "/wd4245", -- warning C4245: 'conversion' : conversion from 'type1' to 'type2', signed/unsigned mismatch
+ "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
+ "/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter
+ "/wd4389", -- warning C4389: 'operator' : signed/unsigned mismatch
+ "/wd4189", -- warning C4189: 'xxx' : local variable is initialized but not referenced
+ "/wd4127", -- warning C4127: conditional expression is constant
+ }
+ if _OPTIONS["vs"]=="intel-15" then
+ buildoptions {
+ "/Qwd869", -- remark #869: parameter "xxx" was never referenced
+ "/Qwd1478", -- warning #1478: function "xxx" (declared at line yyy of "zzz") was declared deprecated
+ "/Qwd2544", -- message #2544: empty dependent statement in if-statement
+ "/Qwd1879", -- warning #1879: unimplemented pragma ignored
+ }
+ end
+ configuration { "vs2015*" }
+ buildoptions {
+ "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration
+ }
+
+ configuration { "vsllvm" }
+ buildoptions {
+ "-Wno-deprecated-declarations",
+ "-Wno-missing-braces",
+ "-Wno-unused-variable",
+ "-Wno-switch",
+ "-Wno-unused-function",
+ }
+
+ configuration { "gmake or ninja" }
+ buildoptions_c {
+ "-Wno-strict-prototypes",
+ "-Wno-bad-function-cast",
+ "-Wno-undef",
+ "-Wno-missing-braces",
+ "-Wno-unused-variable",
+ "-Wno-unused-value",
+ "-Wno-unused-function",
+ "-Wno-unknown-pragmas",
+ }
+
+ local version = str_to_version(_OPTIONS["gcc_version"])
+ if (_OPTIONS["gcc"]~=nil) then
+ if string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "android") then
+ buildoptions_c {
+ "-Wno-unknown-warning-option",
+ "-Wno-absolute-value",
+ "-Wno-unused-but-set-variable",
+ "-Wno-maybe-uninitialized",
+ "-Wno-sometimes-uninitialized",
+ }
+ else
+ if (version >= 40600) then
+ buildoptions_c {
+ "-Wno-unused-but-set-variable",
+ "-Wno-maybe-uninitialized",
+ "-Wno-sometimes-uninitialized",
+ "-w",
+ "-Wno-incompatible-pointer-types-discards-qualifiers",
+ }
+ end
+ end
+ end
+ configuration { "vs*" }
+ buildoptions {
+ "/wd4204", -- warning C4204: nonstandard extension used : non-constant aggregate initializer
+ "/wd4701", -- warning C4701: potentially uninitialized local variable 'xxx' used
+ "/wd4057", -- warning C4057: 'function': 'xxx' differs in indirection to slightly different base types from 'xxx'
+ }
+
+ configuration { }
+
+ includedirs {
+ MAME_DIR .. "3rdparty/portaudio/include",
+ MAME_DIR .. "3rdparty/portaudio/src/common",
+ }
+
+ files {
+ MAME_DIR .. "3rdparty/portaudio/src/common/pa_allocation.c",
+ MAME_DIR .. "3rdparty/portaudio/src/common/pa_converters.c",
+ MAME_DIR .. "3rdparty/portaudio/src/common/pa_cpuload.c",
+ MAME_DIR .. "3rdparty/portaudio/src/common/pa_dither.c",
+ MAME_DIR .. "3rdparty/portaudio/src/common/pa_debugprint.c",
+ MAME_DIR .. "3rdparty/portaudio/src/common/pa_front.c",
+ MAME_DIR .. "3rdparty/portaudio/src/common/pa_process.c",
+ MAME_DIR .. "3rdparty/portaudio/src/common/pa_stream.c",
+ MAME_DIR .. "3rdparty/portaudio/src/common/pa_trace.c",
+ MAME_DIR .. "3rdparty/portaudio/src/hostapi/skeleton/pa_hostapi_skeleton.c",
+ }
+
+ if _OPTIONS["targetos"]=="windows" then
+ defines {
+ "PA_USE_DS=1",
+ "PA_USE_WASAPI=1",
+ "PA_USE_WDMKS=1",
+ "PA_USE_WMME=1",
+ }
+ includedirs {
+ MAME_DIR .. "3rdparty/portaudio/src/os/win",
+ }
+
+ configuration { "mingw*" }
+ includedirs {
+ MAME_DIR .. "3rdparty/portaudio/src/hostapi/wasapi/mingw-include",
+ }
+
+ configuration { }
+ files {
+ MAME_DIR .. "3rdparty/portaudio/src/os/win/pa_win_util.c",
+ MAME_DIR .. "3rdparty/portaudio/src/os/win/pa_win_waveformat.c",
+ MAME_DIR .. "3rdparty/portaudio/src/os/win/pa_win_hostapis.c",
+ MAME_DIR .. "3rdparty/portaudio/src/os/win/pa_win_coinitialize.c",
+ MAME_DIR .. "3rdparty/portaudio/src/hostapi/dsound/pa_win_ds.c",
+ MAME_DIR .. "3rdparty/portaudio/src/hostapi/dsound/pa_win_ds_dynlink.c",
+ MAME_DIR .. "3rdparty/portaudio/src/os/win/pa_win_hostapis.c",
+ MAME_DIR .. "3rdparty/portaudio/src/hostapi/wasapi/pa_win_wasapi.c",
+ MAME_DIR .. "3rdparty/portaudio/src/hostapi/wdmks/pa_win_wdmks.c",
+ MAME_DIR .. "3rdparty/portaudio/src/hostapi/wmme/pa_win_wmme.c",
+ MAME_DIR .. "3rdparty/portaudio/src/common/pa_ringbuffer.c",
+ }
+
+ end
+ if _OPTIONS["targetos"]=="linux" then
+ defines {
+ "PA_USE_ALSA=1",
+ "PA_USE_OSS=1",
+ "HAVE_LINUX_SOUNDCARD_H",
+ }
+ includedirs {
+ MAME_DIR .. "3rdparty/portaudio/src/os/unix",
+ }
+ files {
+ MAME_DIR .. "3rdparty/portaudio/src/os/unix/pa_unix_hostapis.c",
+ MAME_DIR .. "3rdparty/portaudio/src/os/unix/pa_unix_util.c",
+ MAME_DIR .. "3rdparty/portaudio/src/hostapi/alsa/pa_linux_alsa.c",
+ MAME_DIR .. "3rdparty/portaudio/src/hostapi/oss/pa_unix_oss.c",
+ }
+ end
+ if _OPTIONS["targetos"]=="macosx" then
+ defines {
+ "PA_USE_COREAUDIO=1",
+ }
+ includedirs {
+ MAME_DIR .. "3rdparty/portaudio/src/os/unix",
+ }
+ files {
+ MAME_DIR .. "3rdparty/portaudio/src/os/unix/pa_unix_hostapis.c",
+ MAME_DIR .. "3rdparty/portaudio/src/os/unix/pa_unix_util.c",
+ MAME_DIR .. "3rdparty/portaudio/src/hostapi/coreaudio/pa_mac_core.c",
+ MAME_DIR .. "3rdparty/portaudio/src/hostapi/coreaudio/pa_mac_core_utilities.c",
+ MAME_DIR .. "3rdparty/portaudio/src/hostapi/coreaudio/pa_mac_core_blocking.c",
+ MAME_DIR .. "3rdparty/portaudio/src/common/pa_ringbuffer.c",
+ }
+ end
+
+else
+links {
+ ext_lib("portaudio"),
+}
+end
+end
+
+--------------------------------------------------
+-- SDL2 library
+--------------------------------------------------
+if _OPTIONS["with-bundled-sdl2"] then
+project "SDL2"
+ uuid "caab3327-574f-4abf-b25b-74d5238ae59b"
+if _OPTIONS["targetos"]=="android" then
+ kind "SharedLib"
+ targetextension ".so"
+ targetprefix "lib"
+ links {
+ "GLESv1_CM",
+ "GLESv2",
+ "log",
+ "OpenSLES",
+ "c++_static"
+ }
+ linkoptions {
+ "-Wl,-soname,libSDL2.so",
+ }
+
+ if _OPTIONS["SEPARATE_BIN"]~="1" then
+ if _OPTIONS["PLATFORM"]=="arm" then
+ targetdir(MAME_DIR .. "android-project/app/src/main/libs/armeabi-v7a")
+ end
+ if _OPTIONS["PLATFORM"]=="arm64" then
+ targetdir(MAME_DIR .. "android-project/app/src/main/libs/arm64-v8a")
+ end
+ if _OPTIONS["PLATFORM"]=="mips" then
+ targetdir(MAME_DIR .. "android-project/app/src/main/libs/mips")
+ end
+ if _OPTIONS["PLATFORM"]=="mips64" then
+ targetdir(MAME_DIR .. "android-project/app/src/main/libs/mips64")
+ end
+ if _OPTIONS["PLATFORM"]=="x86" then
+ targetdir(MAME_DIR .. "android-project/app/src/main/libs/x86")
+ end
+ if _OPTIONS["PLATFORM"]=="x64" then
+ targetdir(MAME_DIR .. "android-project/app/src/main/libs/x86_64")
+ end
+ end
+
+ strip()
+else
+ kind "StaticLib"
+end
+
+ files {
+ MAME_DIR .. "3rdparty/SDL2/include/begin_code.h",
+ MAME_DIR .. "3rdparty/SDL2/include/close_code.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_assert.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_atomic.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_audio.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_bits.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_blendmode.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_clipboard.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_config.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_config_windows.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_copying.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_cpuinfo.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_egl.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_endian.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_error.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_events.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_filesystem.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_gamecontroller.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_gesture.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_haptic.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_hints.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_joystick.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_keyboard.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_keycode.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_loadso.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_log.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_main.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_messagebox.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_mouse.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_mutex.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_name.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_opengl.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_opengl_glext.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_opengles.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_opengles2.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_opengles2_gl2.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_opengles2_gl2ext.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_opengles2_gl2platform.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_opengles2_khrplatform.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_pixels.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_platform.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_power.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_quit.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_rect.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_render.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_revision.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_rwops.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_scancode.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_shape.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_stdinc.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_surface.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_system.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_syswm.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_test.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_test_assert.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_test_common.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_test_compare.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_test_crc32.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_test_font.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_test_fuzzer.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_test_harness.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_test_images.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_test_log.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_test_md5.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_test_random.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_thread.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_timer.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_touch.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_types.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_version.h",
+ MAME_DIR .. "3rdparty/SDL2/include/SDL_video.h",
+
+
+ MAME_DIR .. "3rdparty/SDL2/src/atomic/SDL_atomic.c",
+ MAME_DIR .. "3rdparty/SDL2/src/atomic/SDL_spinlock.c",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/disk/SDL_diskaudio.c",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/disk/SDL_diskaudio.h",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/dummy/SDL_dummyaudio.c",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/dummy/SDL_dummyaudio.h",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_audio.c",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_audio_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_audiocvt.c",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_audiodev.c",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_audiodev_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_audiotypecvt.c",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_mixer.c",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_sysaudio.h",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_wave.c",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_wave.h",
+ MAME_DIR .. "3rdparty/SDL2/src/cpuinfo/SDL_cpuinfo.c",
+ MAME_DIR .. "3rdparty/SDL2/src/dynapi/SDL_dynapi.c",
+ MAME_DIR .. "3rdparty/SDL2/src/dynapi/SDL_dynapi.h",
+ MAME_DIR .. "3rdparty/SDL2/src/dynapi/SDL_dynapi_overrides.h",
+ MAME_DIR .. "3rdparty/SDL2/src/dynapi/SDL_dynapi_procs.h",
+ MAME_DIR .. "3rdparty/SDL2/src/events/blank_cursor.h",
+ MAME_DIR .. "3rdparty/SDL2/src/events/default_cursor.h",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_clipboardevents.c",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_clipboardevents_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_dropevents.c",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_dropevents_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_events.c",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_events_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_gesture.c",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_gesture_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_keyboard.c",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_keyboard_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_mouse.c",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_mouse_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_quit.c",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_sysevents.h",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_touch.c",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_touch_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_windowevents.c",
+ MAME_DIR .. "3rdparty/SDL2/src/events/SDL_windowevents_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/file/SDL_rwops.c",
+ MAME_DIR .. "3rdparty/SDL2/src/haptic/SDL_haptic.c",
+ MAME_DIR .. "3rdparty/SDL2/src/haptic/SDL_syshaptic.h",
+ MAME_DIR .. "3rdparty/SDL2/src/joystick/SDL_gamecontroller.c",
+ MAME_DIR .. "3rdparty/SDL2/src/joystick/SDL_joystick.c",
+ MAME_DIR .. "3rdparty/SDL2/src/joystick/SDL_joystick_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/joystick/SDL_sysjoystick.h",
+ MAME_DIR .. "3rdparty/SDL2/src/loadso/windows/SDL_sysloadso.c",
+ MAME_DIR .. "3rdparty/SDL2/src/power/SDL_power.c",
+ MAME_DIR .. "3rdparty/SDL2/src/power/windows/SDL_syspower.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/direct3d/SDL_render_d3d.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/direct3d11/SDL_render_d3d11.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/mmx.h",
+ MAME_DIR .. "3rdparty/SDL2/src/render/opengl/SDL_render_gl.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/opengl/SDL_shaders_gl.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/opengl/SDL_shaders_gl.h",
+ MAME_DIR .. "3rdparty/SDL2/src/render/opengles2/SDL_render_gles2.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/opengles2/SDL_shaders_gles2.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/SDL_d3dmath.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/SDL_d3dmath.h",
+ MAME_DIR .. "3rdparty/SDL2/src/render/SDL_render.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/SDL_sysrender.h",
+ MAME_DIR .. "3rdparty/SDL2/src/render/SDL_yuv_mmx.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/SDL_yuv_sw.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/SDL_yuv_sw_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_blendfillrect.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_blendfillrect.h",
+ MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_blendline.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_blendline.h",
+ MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_blendpoint.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_blendpoint.h",
+ MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_draw.h",
+ MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_drawline.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_drawline.h",
+ MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_drawpoint.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_drawpoint.h",
+ MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_render_sw.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_render_sw_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_rotate.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_rotate.h",
+ MAME_DIR .. "3rdparty/SDL2/src/SDL.c",
+ MAME_DIR .. "3rdparty/SDL2/src/SDL_assert.c",
+ MAME_DIR .. "3rdparty/SDL2/src/SDL_error.c",
+ MAME_DIR .. "3rdparty/SDL2/src/SDL_error_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/SDL_hints.c",
+ MAME_DIR .. "3rdparty/SDL2/src/SDL_hints_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/SDL_log.c",
+ MAME_DIR .. "3rdparty/SDL2/src/stdlib/SDL_getenv.c",
+ MAME_DIR .. "3rdparty/SDL2/src/stdlib/SDL_iconv.c",
+ MAME_DIR .. "3rdparty/SDL2/src/stdlib/SDL_malloc.c",
+ MAME_DIR .. "3rdparty/SDL2/src/stdlib/SDL_qsort.c",
+ MAME_DIR .. "3rdparty/SDL2/src/stdlib/SDL_stdlib.c",
+ MAME_DIR .. "3rdparty/SDL2/src/stdlib/SDL_string.c",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/SDL_systhread.h",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/SDL_thread.c",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/SDL_thread_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/timer/SDL_systimer.h",
+ MAME_DIR .. "3rdparty/SDL2/src/timer/SDL_timer.c",
+ MAME_DIR .. "3rdparty/SDL2/src/timer/SDL_timer_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/dummy/SDL_nullevents.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/dummy/SDL_nullevents_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/dummy/SDL_nullframebuffer.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/dummy/SDL_nullframebuffer_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/dummy/SDL_nullvideo.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/dummy/SDL_nullvideo.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_0.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_1.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_A.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_auto.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_auto.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_copy.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_copy.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_N.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_slow.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_slow.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_bmp.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_clipboard.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_egl.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_fillrect.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_glesfuncs.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_glfuncs.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_pixels.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_pixels_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_rect.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_rect_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_RLEaccel.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_RLEaccel_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_shape.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_shape_internals.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_stretch.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_surface.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_sysvideo.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/SDL_video.c",
+
+ }
+ if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="windows" then
+ files {
+ MAME_DIR .. "3rdparty/SDL2/src/libm/e_atan2.c",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/e_log.c",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/e_pow.c",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/e_rem_pio2.c",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/e_sqrt.c",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/k_cos.c",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/k_rem_pio2.c",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/k_sin.c",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/k_tan.c",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/math.h",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/math_private.h",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/s_atan.c",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/s_copysign.c",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/s_cos.c",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/s_fabs.c",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/s_floor.c",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/s_scalbn.c",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/s_sin.c",
+ MAME_DIR .. "3rdparty/SDL2/src/libm/s_tan.c",
+ }
+ end
+ if _OPTIONS["targetos"]~="windows" then
+ files {
+ MAME_DIR .. "3rdparty/SDL2/src/render/opengles/SDL_render_gles.c",
+ MAME_DIR .. "3rdparty/SDL2/src/render/opengles/SDL_glesfuncs.h",
+ }
+ end
+
+ if _OPTIONS["targetos"]=="android" then
+ files {
+ MAME_DIR .. "3rdparty/SDL2/src/audio/android/opensl_io.h",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/android/opensl_io.c",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/android/SDL_androidaudio.h",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/android/SDL_androidaudio.c",
+ MAME_DIR .. "3rdparty/SDL2/src/core/android/SDL_android.c",
+ MAME_DIR .. "3rdparty/SDL2/src/core/android/SDL_android.h",
+ MAME_DIR .. "3rdparty/SDL2/src/filesystem/android/SDL_sysfilesystem.c",
+ MAME_DIR .. "3rdparty/SDL2/src/haptic/dummy/SDL_syshaptic.c",
+ MAME_DIR .. "3rdparty/SDL2/src/joystick/android/SDL_sysjoystick.c",
+ MAME_DIR .. "3rdparty/SDL2/src/loadso/dlopen/SDL_sysloadso.c",
+ MAME_DIR .. "3rdparty/SDL2/src/power/android/SDL_syspower.c",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_syscond.c",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_sysmutex.c",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_sysmutex_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_syssem.c",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_systhread.c",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_systhread_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_systls.c",
+ MAME_DIR .. "3rdparty/SDL2/src/timer/unix/SDL_systimer.c",
+ MAME_DIR .. "3rdparty/SDL2/src/timer/unix/SDL_systimer_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidclipboard.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidclipboard.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidevents.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidevents.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidgl.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidkeyboard.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidkeyboard.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidmessagebox.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidmessagebox.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidmouse.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidmouse.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidtouch.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidtouch.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidvideo.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidvideo.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidwindow.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidwindow.h",
+ }
+ end
+
+ if _OPTIONS["targetos"]=="macosx" then
+ files {
+ MAME_DIR .. "3rdparty/SDL2/src/audio/coreaudio/SDL_coreaudio.m",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/coreaudio/SDL_coreaudio.h",
+ MAME_DIR .. "3rdparty/SDL2/src/file/cocoa/SDL_rwopsbundlesupport.m",
+ MAME_DIR .. "3rdparty/SDL2/src/file/cocoa/SDL_rwopsbundlesupport.h",
+ MAME_DIR .. "3rdparty/SDL2/src/filesystem/cocoa/SDL_sysfilesystem.m",
+ MAME_DIR .. "3rdparty/SDL2/src/haptic/darwin/SDL_syshaptic.c",
+ MAME_DIR .. "3rdparty/SDL2/src/haptic/darwin/SDL_syshaptic_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/joystick/darwin/SDL_sysjoystick.c",
+ MAME_DIR .. "3rdparty/SDL2/src/joystick/darwin/SDL_sysjoystick_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/loadso/dlopen/SDL_sysloadso.c",
+ MAME_DIR .. "3rdparty/SDL2/src/power/macosx/SDL_syspower.c",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_syscond.c",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_sysmutex.c",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_sysmutex_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_syssem.c",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_systhread.c",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_systhread_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_systls.c",
+ MAME_DIR .. "3rdparty/SDL2/src/timer/unix/SDL_systimer.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoaclipboard.m",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoaclipboard.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoaevents.m",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoaevents.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoakeyboard.m",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoakeyboard.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoamessagebox.m",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoamessagebox.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoamodes.m",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoamodes.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoamouse.m",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoamouse.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoamousetap.m",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoamousetap.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoaopengl.m",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoaopengl.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoashape.m",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoashape.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoavideo.m",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoavideo.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoawindow.m",
+ MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoawindow.h",
+
+ }
+ end
+
+ if _OPTIONS["targetos"]=="windows" then
+ files {
+ MAME_DIR .. "3rdparty/SDL2/src/thread/generic/SDL_syscond.c",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/directsound/SDL_directsound.c",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/directsound/SDL_directsound.h",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/winmm/SDL_winmm.c",
+ MAME_DIR .. "3rdparty/SDL2/src/audio/winmm/SDL_winmm.h",
+ MAME_DIR .. "3rdparty/SDL2/src/core/windows/SDL_directx.h",
+ MAME_DIR .. "3rdparty/SDL2/src/core/windows/SDL_windows.c",
+ MAME_DIR .. "3rdparty/SDL2/src/core/windows/SDL_windows.h",
+ MAME_DIR .. "3rdparty/SDL2/src/core/windows/SDL_xinput.c",
+ MAME_DIR .. "3rdparty/SDL2/src/core/windows/SDL_xinput.h",
+ MAME_DIR .. "3rdparty/SDL2/src/filesystem/windows/SDL_sysfilesystem.c",
+ MAME_DIR .. "3rdparty/SDL2/src/haptic/windows/SDL_dinputhaptic.c",
+ MAME_DIR .. "3rdparty/SDL2/src/haptic/windows/SDL_dinputhaptic_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/haptic/windows/SDL_windowshaptic.c",
+ MAME_DIR .. "3rdparty/SDL2/src/haptic/windows/SDL_windowshaptic_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/haptic/windows/SDL_xinputhaptic.c",
+ MAME_DIR .. "3rdparty/SDL2/src/haptic/windows/SDL_xinputhaptic_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/joystick/windows/SDL_dinputjoystick.c",
+ MAME_DIR .. "3rdparty/SDL2/src/joystick/windows/SDL_dinputjoystick_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/joystick/windows/SDL_mmjoystick.c",
+ MAME_DIR .. "3rdparty/SDL2/src/joystick/windows/SDL_windowsjoystick.c",
+ MAME_DIR .. "3rdparty/SDL2/src/joystick/windows/SDL_windowsjoystick_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/joystick/windows/SDL_xinputjoystick.c",
+ MAME_DIR .. "3rdparty/SDL2/src/joystick/windows/SDL_xinputjoystick_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/windows/SDL_sysmutex.c",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/windows/SDL_syssem.c",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/windows/SDL_systhread.c",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/windows/SDL_systhread_c.h",
+ MAME_DIR .. "3rdparty/SDL2/src/thread/windows/SDL_systls.c",
+ MAME_DIR .. "3rdparty/SDL2/src/timer/windows/SDL_systimer.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_vkeys.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsclipboard.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsclipboard.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsevents.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsevents.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsframebuffer.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsframebuffer.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowskeyboard.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowskeyboard.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsmessagebox.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsmessagebox.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsmodes.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsmodes.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsmouse.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsmouse.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsopengl.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsopengl.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsopengles.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsshape.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsshape.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsvideo.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsvideo.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowswindow.c",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowswindow.h",
+ MAME_DIR .. "3rdparty/SDL2/src/video/windows/wmmsg.h",
+ MAME_DIR .. "3rdparty/SDL2/src/main/windows/version.rc",
+ }
+ end
+
+ configuration { "vs*" }
+ files {
+ MAME_DIR .. "3rdparty/SDL2/src/audio/xaudio2/SDL_xaudio2.c",
+ }
+
+ buildoptions {
+ "/wd4200", -- warning C4200: nonstandard extension used: zero-sized array in struct/union
+ "/wd4055", -- warning C4055: 'type cast': from data pointer 'void *' to function pointer 'xxx'
+ "/wd4152", -- warning C4152: nonstandard extension, function/data pointer conversion in expression
+ "/wd4057", -- warning C4057: 'function': 'xxx' differs in indirection to slightly different base types from 'xxx'
+ "/wd4701", -- warning C4701: potentially uninitialized local variable 'xxx' used
+ "/wd4204", -- warning C4204: nonstandard extension used: non-constant aggregate initializer
+ "/wd4054", -- warning C4054: 'type cast': from function pointer 'xxx' to data pointer 'xxx'
+ }
+ defines {
+ "HAVE_LIBC",
+ }
+
+ configuration { "mingw*"}
+ includedirs {
+ MAME_DIR .. "3rdparty/SDL2-override/mingw",
+ MAME_DIR .. "3rdparty/bgfx/3rdparty/khronos",
+ }
+ buildoptions_c {
+ "-Wno-undef",
+ "-Wno-format",
+ "-Wno-format-security",
+ "-Wno-strict-prototypes",
+ "-Wno-bad-function-cast",
+ "-Wno-pointer-to-int-cast",
+ "-Wno-discarded-qualifiers",
+ "-Wno-unused-but-set-variable",
+ }
+
+ configuration { "mingw-clang"}
+ buildoptions_c {
+ "-Wno-incompatible-pointer-types-discards-qualifiers"
+ }
+
+ configuration { "osx*"}
+ buildoptions {
+ "-Wno-undef",
+ }
+ buildoptions_objc {
+ "-x objective-c",
+ "-std=c99",
+ }
+
+ buildoptions_c {
+ "-Wno-bad-function-cast",
+ }
+
+ configuration { "android-*"}
+ defines {
+ "GL_GLEXT_PROTOTYPES",
+ }
+ buildoptions_c {
+ "-Wno-bad-function-cast",
+ "-Wno-incompatible-pointer-types-discards-qualifiers",
+ "-Wno-unneeded-internal-declaration",
+ "-Wno-unused-const-variable",
+ }
+
+ configuration { }
+ includedirs {
+ MAME_DIR .. "3rdparty/SDL2/include",
+ }
+
+end
+
+--------------------------------------------------
+-- linenoise library
+--------------------------------------------------
+if (_OPTIONS["osd"] ~= "uwp") then
+project "linenoise"
+ uuid "7320ffc8-2748-4add-8864-ae29b72a8511"
+ kind (LIBTYPE)
+
+ addprojectflags()
+
+ configuration { "vs*" }
+ buildoptions {
+ "/wd4701", -- warning C4701: potentially uninitialized local variable 'xxx' used
+ }
+
+ configuration { }
+
+ includedirs {
+ MAME_DIR .. "3rdparty/linenoise",
+ }
+
+ files {
+ MAME_DIR .. "3rdparty/linenoise/utf8.c",
+ MAME_DIR .. "3rdparty/linenoise/linenoise.c",
+ }
+end
+
+
+--------------------------------------------------
+-- utf8proc library objects
+--------------------------------------------------
+
+if not _OPTIONS["with-system-utf8proc"] then
+project "utf8proc"
+ uuid "1f881f09-0395-4483-ac37-2935fb092187"
+ kind "StaticLib"
+
+ defines {
+ "UTF8PROC_DLLEXPORT="
+ }
+
+ configuration "Debug"
+ defines {
+ "verbose=-1",
+ }
+
+ configuration { "gmake or ninja" }
+ buildoptions_c {
+ "-Wno-strict-prototypes",
+ }
+
+ configuration { }
+ defines {
+ "ZLIB_CONST",
+ }
+
+ files {
+ MAME_DIR .. "3rdparty/utf8proc/utf8proc.c"
+ }
+else
+links {
+ ext_lib("utf8proc"),
+}
+end
+
diff --git a/docs/release/scripts/src/benchmarks.lua b/docs/release/scripts/src/benchmarks.lua
new file mode 100644
index 00000000000..2e1f97405a2
--- /dev/null
+++ b/docs/release/scripts/src/benchmarks.lua
@@ -0,0 +1,74 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- benchmarks.lua
+--
+-- Rules for building benchmarks
+--
+---------------------------------------------------------------------------
+
+--------------------------------------------------
+-- Google Benchmark library objects
+--------------------------------------------------
+
+project "benchmark"
+ uuid "60a7e05c-8b4f-497c-bfda-2949a009ba0d"
+ kind "StaticLib"
+
+ configuration { }
+ defines {
+ "HAVE_STD_REGEX",
+ }
+
+ includedirs {
+ MAME_DIR .. "3rdparty/benchmark/include",
+ }
+ files {
+ MAME_DIR .. "3rdparty/benchmark/src/benchmark.cc",
+ MAME_DIR .. "3rdparty/benchmark/src/colorprint.cc",
+ MAME_DIR .. "3rdparty/benchmark/src/commandlineflags.cc",
+ MAME_DIR .. "3rdparty/benchmark/src/complexity.cc",
+ MAME_DIR .. "3rdparty/benchmark/src/console_reporter.cc",
+ MAME_DIR .. "3rdparty/benchmark/src/csv_reporter.cc",
+ MAME_DIR .. "3rdparty/benchmark/src/json_reporter.cc",
+ MAME_DIR .. "3rdparty/benchmark/src/reporter.cc",
+ MAME_DIR .. "3rdparty/benchmark/src/sleep.cc",
+ MAME_DIR .. "3rdparty/benchmark/src/string_util.cc",
+ MAME_DIR .. "3rdparty/benchmark/src/sysinfo.cc",
+ MAME_DIR .. "3rdparty/benchmark/src/timers.cc",
+ MAME_DIR .. "3rdparty/benchmark/src/re_std.cc",
+ }
+
+
+
+project("benchmarks")
+ uuid ("a9750a48-d283-4a6d-b126-31c7ce049af1")
+ kind "ConsoleApp"
+
+ flags {
+ "Symbols", -- always include minimum symbols for executables
+ }
+
+ if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+ end
+
+ configuration { }
+
+ links {
+ "benchmark",
+ }
+
+ includedirs {
+ MAME_DIR .. "3rdparty/benchmark/include",
+ MAME_DIR .. "src/osd",
+ }
+
+ files {
+ MAME_DIR .. "benchmarks/main.cpp",
+ MAME_DIR .. "benchmarks/eminline_native.cpp",
+ MAME_DIR .. "benchmarks/eminline_noasm.cpp",
+ }
+
diff --git a/docs/release/scripts/src/bus.lua b/docs/release/scripts/src/bus.lua
new file mode 100644
index 00000000000..780df068e5c
--- /dev/null
+++ b/docs/release/scripts/src/bus.lua
@@ -0,0 +1,3874 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- bus.lua
+--
+-- Rules for building bus cores
+--
+---------------------------------------------------------------------------
+
+-------------------------------------------------
+--
+--@src/devices/bus/a7800/a78_slot.h,BUSES["A7800"] = true
+---------------------------------------------------
+
+if (BUSES["A7800"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/a7800/a78_slot.cpp",
+ MAME_DIR .. "src/devices/bus/a7800/a78_slot.h",
+ MAME_DIR .. "src/devices/bus/a7800/a78_carts.h",
+ MAME_DIR .. "src/devices/bus/a7800/rom.cpp",
+ MAME_DIR .. "src/devices/bus/a7800/rom.h",
+ MAME_DIR .. "src/devices/bus/a7800/hiscore.cpp",
+ MAME_DIR .. "src/devices/bus/a7800/hiscore.h",
+ MAME_DIR .. "src/devices/bus/a7800/xboard.cpp",
+ MAME_DIR .. "src/devices/bus/a7800/xboard.h",
+ MAME_DIR .. "src/devices/bus/a7800/cpuwiz.cpp",
+ MAME_DIR .. "src/devices/bus/a7800/cpuwiz.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/a800/a800_slot.h,BUSES["A800"] = true
+---------------------------------------------------
+
+if (BUSES["A800"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/a800/a8sio.cpp",
+ MAME_DIR .. "src/devices/bus/a800/a8sio.h",
+ MAME_DIR .. "src/devices/bus/a800/atari810.cpp",
+ MAME_DIR .. "src/devices/bus/a800/atari810.h",
+ MAME_DIR .. "src/devices/bus/a800/atari1050.cpp",
+ MAME_DIR .. "src/devices/bus/a800/atari1050.h",
+ MAME_DIR .. "src/devices/bus/a800/cassette.cpp",
+ MAME_DIR .. "src/devices/bus/a800/cassette.h",
+ MAME_DIR .. "src/devices/bus/a800/a800_slot.cpp",
+ MAME_DIR .. "src/devices/bus/a800/a800_slot.h",
+ MAME_DIR .. "src/devices/bus/a800/a800_carts.h",
+ MAME_DIR .. "src/devices/bus/a800/rom.cpp",
+ MAME_DIR .. "src/devices/bus/a800/rom.h",
+ MAME_DIR .. "src/devices/bus/a800/oss.cpp",
+ MAME_DIR .. "src/devices/bus/a800/oss.h",
+ MAME_DIR .. "src/devices/bus/a800/sparta.cpp",
+ MAME_DIR .. "src/devices/bus/a800/sparta.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/abcbus/abcbus.h,BUSES["ABCBUS"] = true
+---------------------------------------------------
+
+if (BUSES["ABCBUS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/abcbus/abcbus.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/abcbus.h",
+ MAME_DIR .. "src/devices/bus/abcbus/abc890.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/abc890.h",
+ MAME_DIR .. "src/devices/bus/abcbus/cadmouse.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/cadmouse.h",
+ MAME_DIR .. "src/devices/bus/abcbus/db411223.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/db411223.h",
+ MAME_DIR .. "src/devices/bus/abcbus/fd2.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/fd2.h",
+ MAME_DIR .. "src/devices/bus/abcbus/hdc.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/hdc.h",
+ MAME_DIR .. "src/devices/bus/abcbus/lux10828.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/lux10828.h",
+ MAME_DIR .. "src/devices/bus/abcbus/lux21046.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/lux21046.h",
+ MAME_DIR .. "src/devices/bus/abcbus/lux21056.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/lux21056.h",
+ MAME_DIR .. "src/devices/bus/abcbus/lux4105.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/lux4105.h",
+ MAME_DIR .. "src/devices/bus/abcbus/memcard.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/memcard.h",
+ MAME_DIR .. "src/devices/bus/abcbus/ram.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/ram.h",
+ MAME_DIR .. "src/devices/bus/abcbus/sio.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/sio.h",
+ MAME_DIR .. "src/devices/bus/abcbus/slutprov.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/slutprov.h",
+ MAME_DIR .. "src/devices/bus/abcbus/ssa.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/ssa.h",
+ MAME_DIR .. "src/devices/bus/abcbus/uni800.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/uni800.h",
+ MAME_DIR .. "src/devices/bus/abcbus/unidisk.cpp",
+ MAME_DIR .. "src/devices/bus/abcbus/unidisk.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/acorn/bus.h,BUSES["ACORN"] = true
+---------------------------------------------------
+
+if (BUSES["ACORN"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/acorn/bus.cpp",
+ MAME_DIR .. "src/devices/bus/acorn/bus.h",
+ MAME_DIR .. "src/devices/bus/acorn/atom/discpack.cpp",
+ MAME_DIR .. "src/devices/bus/acorn/atom/discpack.h",
+ MAME_DIR .. "src/devices/bus/acorn/atom/econet.cpp",
+ MAME_DIR .. "src/devices/bus/acorn/atom/econet.h",
+ MAME_DIR .. "src/devices/bus/acorn/atom/sid.cpp",
+ MAME_DIR .. "src/devices/bus/acorn/atom/sid.h",
+ MAME_DIR .. "src/devices/bus/acorn/cms/4080term.cpp",
+ MAME_DIR .. "src/devices/bus/acorn/cms/4080term.h",
+ MAME_DIR .. "src/devices/bus/acorn/cms/fdc.cpp",
+ MAME_DIR .. "src/devices/bus/acorn/cms/fdc.h",
+ MAME_DIR .. "src/devices/bus/acorn/cms/hires.cpp",
+ MAME_DIR .. "src/devices/bus/acorn/cms/hires.h",
+ MAME_DIR .. "src/devices/bus/acorn/system/32k.cpp",
+ MAME_DIR .. "src/devices/bus/acorn/system/32k.h",
+ MAME_DIR .. "src/devices/bus/acorn/system/8k.cpp",
+ MAME_DIR .. "src/devices/bus/acorn/system/8k.h",
+ MAME_DIR .. "src/devices/bus/acorn/system/cass.cpp",
+ MAME_DIR .. "src/devices/bus/acorn/system/cass.h",
+ MAME_DIR .. "src/devices/bus/acorn/system/econet.cpp",
+ MAME_DIR .. "src/devices/bus/acorn/system/econet.h",
+ MAME_DIR .. "src/devices/bus/acorn/system/fdc.cpp",
+ MAME_DIR .. "src/devices/bus/acorn/system/fdc.h",
+ MAME_DIR .. "src/devices/bus/acorn/system/vdu40.cpp",
+ MAME_DIR .. "src/devices/bus/acorn/system/vdu40.h",
+ MAME_DIR .. "src/devices/bus/acorn/system/vdu80.cpp",
+ MAME_DIR .. "src/devices/bus/acorn/system/vdu80.h",
+ MAME_DIR .. "src/devices/bus/acorn/system/vib.cpp",
+ MAME_DIR .. "src/devices/bus/acorn/system/vib.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/adam/exp.h,BUSES["ADAM"] = true
+---------------------------------------------------
+
+if (BUSES["ADAM"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/adam/exp.cpp",
+ MAME_DIR .. "src/devices/bus/adam/exp.h",
+ MAME_DIR .. "src/devices/bus/adam/adamlink.cpp",
+ MAME_DIR .. "src/devices/bus/adam/adamlink.h",
+ MAME_DIR .. "src/devices/bus/adam/ide.cpp",
+ MAME_DIR .. "src/devices/bus/adam/ide.h",
+ MAME_DIR .. "src/devices/bus/adam/ram.cpp",
+ MAME_DIR .. "src/devices/bus/adam/ram.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/adamnet/adamnet.h,BUSES["ADAMNET"] = true
+---------------------------------------------------
+
+if (BUSES["ADAMNET"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/adamnet/adamnet.cpp",
+ MAME_DIR .. "src/devices/bus/adamnet/adamnet.h",
+ MAME_DIR .. "src/devices/bus/adamnet/ddp.cpp",
+ MAME_DIR .. "src/devices/bus/adamnet/ddp.h",
+ MAME_DIR .. "src/devices/bus/adamnet/fdc.cpp",
+ MAME_DIR .. "src/devices/bus/adamnet/fdc.h",
+ MAME_DIR .. "src/devices/bus/adamnet/kb.cpp",
+ MAME_DIR .. "src/devices/bus/adamnet/kb.h",
+ MAME_DIR .. "src/devices/bus/adamnet/printer.cpp",
+ MAME_DIR .. "src/devices/bus/adamnet/printer.h",
+ MAME_DIR .. "src/devices/bus/adamnet/spi.cpp",
+ MAME_DIR .. "src/devices/bus/adamnet/spi.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/apf/slot.h,BUSES["APF"] = true
+---------------------------------------------------
+
+if (BUSES["APF"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/apf/slot.cpp",
+ MAME_DIR .. "src/devices/bus/apf/slot.h",
+ MAME_DIR .. "src/devices/bus/apf/rom.cpp",
+ MAME_DIR .. "src/devices/bus/apf/rom.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/apricot/expansion/expansion.h,BUSES["APRICOT_EXPANSION"] = true
+---------------------------------------------------
+
+if (BUSES["APRICOT_EXPANSION"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/apricot/expansion/expansion.cpp",
+ MAME_DIR .. "src/devices/bus/apricot/expansion/expansion.h",
+ MAME_DIR .. "src/devices/bus/apricot/expansion/cards.cpp",
+ MAME_DIR .. "src/devices/bus/apricot/expansion/cards.h",
+ MAME_DIR .. "src/devices/bus/apricot/expansion/ram.cpp",
+ MAME_DIR .. "src/devices/bus/apricot/expansion/ram.h",
+ MAME_DIR .. "src/devices/bus/apricot/expansion/winchester.cpp",
+ MAME_DIR .. "src/devices/bus/apricot/expansion/winchester.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/apricot/keyboard/keyboard.h,BUSES["APRICOT_KEYBOARD"] = true
+---------------------------------------------------
+
+if (BUSES["APRICOT_KEYBOARD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/apricot/keyboard/keyboard.cpp",
+ MAME_DIR .. "src/devices/bus/apricot/keyboard/keyboard.h",
+ MAME_DIR .. "src/devices/bus/apricot/keyboard/hle.cpp",
+ MAME_DIR .. "src/devices/bus/apricot/keyboard/hle.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/arcadia/slot.h,BUSES["ARCADIA"] = true
+---------------------------------------------------
+
+if (BUSES["ARCADIA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/arcadia/slot.cpp",
+ MAME_DIR .. "src/devices/bus/arcadia/slot.h",
+ MAME_DIR .. "src/devices/bus/arcadia/rom.cpp",
+ MAME_DIR .. "src/devices/bus/arcadia/rom.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/astrocde/slot.h,BUSES["ASTROCADE"] = true
+---------------------------------------------------
+
+if (BUSES["ASTROCADE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/astrocde/slot.cpp",
+ MAME_DIR .. "src/devices/bus/astrocde/slot.h",
+ MAME_DIR .. "src/devices/bus/astrocde/rom.cpp",
+ MAME_DIR .. "src/devices/bus/astrocde/rom.h",
+ MAME_DIR .. "src/devices/bus/astrocde/exp.cpp",
+ MAME_DIR .. "src/devices/bus/astrocde/exp.h",
+ MAME_DIR .. "src/devices/bus/astrocde/ram.cpp",
+ MAME_DIR .. "src/devices/bus/astrocde/ram.h",
+ MAME_DIR .. "src/devices/bus/astrocde/ctrl.cpp",
+ MAME_DIR .. "src/devices/bus/astrocde/ctrl.h",
+ MAME_DIR .. "src/devices/bus/astrocde/joy.cpp",
+ MAME_DIR .. "src/devices/bus/astrocde/joy.h",
+ MAME_DIR .. "src/devices/bus/astrocde/cassette.cpp",
+ MAME_DIR .. "src/devices/bus/astrocde/cassette.h",
+ MAME_DIR .. "src/devices/bus/astrocde/accessory.cpp",
+ MAME_DIR .. "src/devices/bus/astrocde/accessory.h",
+ MAME_DIR .. "src/devices/bus/astrocde/lightpen.cpp",
+ MAME_DIR .. "src/devices/bus/astrocde/lightpen.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/bbc/fdc/fdc.h,BUSES["BBC_FDC"] = true
+---------------------------------------------------
+
+if (BUSES["BBC_FDC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/bbc/fdc/fdc.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/fdc/fdc.h",
+ MAME_DIR .. "src/devices/bus/bbc/fdc/acorn.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/fdc/acorn.h",
+ MAME_DIR .. "src/devices/bus/bbc/fdc/ams.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/fdc/ams.h",
+ MAME_DIR .. "src/devices/bus/bbc/fdc/cumana.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/fdc/cumana.h",
+ MAME_DIR .. "src/devices/bus/bbc/fdc/cv1797.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/fdc/cv1797.h",
+ MAME_DIR .. "src/devices/bus/bbc/fdc/microware.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/fdc/microware.h",
+ MAME_DIR .. "src/devices/bus/bbc/fdc/opus.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/fdc/opus.h",
+ MAME_DIR .. "src/devices/bus/bbc/fdc/watford.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/fdc/watford.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/bbc/analogue/analogue.h,BUSES["BBC_ANALOGUE"] = true
+---------------------------------------------------
+
+if (BUSES["BBC_ANALOGUE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/bbc/analogue/analogue.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/analogue/analogue.h",
+ MAME_DIR .. "src/devices/bus/bbc/analogue/bitstik.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/analogue/bitstik.h",
+ MAME_DIR .. "src/devices/bus/bbc/analogue/joystick.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/analogue/joystick.h",
+ MAME_DIR .. "src/devices/bus/bbc/analogue/cfa3000a.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/analogue/cfa3000a.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/bbc/exp/exp.h,BUSES["BBC_EXP"] = true
+---------------------------------------------------
+
+if (BUSES["BBC_EXP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/bbc/exp/exp.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/exp/exp.h",
+ MAME_DIR .. "src/devices/bus/bbc/exp/mertec.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/exp/mertec.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/bbc/joyport/joyport.h,BUSES["BBC_JOYPORT"] = true
+---------------------------------------------------
+
+if (BUSES["BBC_JOYPORT"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/bbc/joyport/joyport.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/joyport/joyport.h",
+ MAME_DIR .. "src/devices/bus/bbc/joyport/joystick.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/joyport/joystick.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/bbc/1mhzbus/1mhzbus.h,BUSES["BBC_1MHZBUS"] = true
+---------------------------------------------------
+
+if (BUSES["BBC_1MHZBUS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/1mhzbus.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/1mhzbus.h",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/autoprom.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/autoprom.h",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/beebsid.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/beebsid.h",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/emrmidi.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/emrmidi.h",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/ieee488.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/ieee488.h",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/m2000.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/m2000.h",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/opus3.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/opus3.h",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/sprite.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/sprite.h",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/cfa3000opt.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/1mhzbus/cfa3000opt.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/bbc/rom/slot.h,BUSES["BBC_ROM"] = true
+---------------------------------------------------
+
+if (BUSES["BBC_ROM"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/bbc/rom/slot.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/rom/slot.h",
+ MAME_DIR .. "src/devices/bus/bbc/rom/rom.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/rom/rom.h",
+ MAME_DIR .. "src/devices/bus/bbc/rom/ram.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/rom/ram.h",
+ MAME_DIR .. "src/devices/bus/bbc/rom/dfs.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/rom/dfs.h",
+ MAME_DIR .. "src/devices/bus/bbc/rom/genie.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/rom/genie.h",
+ MAME_DIR .. "src/devices/bus/bbc/rom/pal.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/rom/pal.h",
+ MAME_DIR .. "src/devices/bus/bbc/rom/rtc.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/rom/rtc.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/bbc/tube/tube.h,BUSES["BBC_TUBE"] = true
+---------------------------------------------------
+
+if (BUSES["BBC_TUBE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube.h",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_32016.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_32016.h",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_6502.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_6502.h",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_80186.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_80186.h",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_80286.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_80286.h",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_arm.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_arm.h",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_casper.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_casper.h",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_rc6502.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_rc6502.h",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_z80.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_z80.h",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_zep100.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/tube/tube_zep100.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/bbc/userport/userport.h,BUSES["BBC_USERPORT"] = true
+---------------------------------------------------
+
+if (BUSES["BBC_USERPORT"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/bbc/userport/userport.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/userport/userport.h",
+ MAME_DIR .. "src/devices/bus/bbc/userport/beebspch.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/userport/beebspch.h",
+ MAME_DIR .. "src/devices/bus/bbc/userport/pointer.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/userport/pointer.h",
+ MAME_DIR .. "src/devices/bus/bbc/userport/usersplit.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/userport/usersplit.h",
+ MAME_DIR .. "src/devices/bus/bbc/userport/cfa3000kbd.cpp",
+ MAME_DIR .. "src/devices/bus/bbc/userport/cfa3000kbd.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/bw2/exp.h,BUSES["BW2"] = true
+---------------------------------------------------
+
+if (BUSES["BW2"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/bw2/exp.cpp",
+ MAME_DIR .. "src/devices/bus/bw2/exp.h",
+ MAME_DIR .. "src/devices/bus/bw2/ramcard.cpp",
+ MAME_DIR .. "src/devices/bus/bw2/ramcard.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/c64/exp.h,BUSES["C64"] = true
+--@src/devices/bus/c64/user.h,BUSES["C64"] = true
+---------------------------------------------------
+
+if (BUSES["C64"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/c64/exp.cpp",
+ MAME_DIR .. "src/devices/bus/c64/exp.h",
+ MAME_DIR .. "src/devices/bus/c64/buscard.cpp",
+ MAME_DIR .. "src/devices/bus/c64/buscard.h",
+ MAME_DIR .. "src/devices/bus/c64/buscard2.cpp",
+ MAME_DIR .. "src/devices/bus/c64/buscard2.h",
+ MAME_DIR .. "src/devices/bus/c64/c128_comal80.cpp",
+ MAME_DIR .. "src/devices/bus/c64/c128_comal80.h",
+ MAME_DIR .. "src/devices/bus/c64/c128_partner.cpp",
+ MAME_DIR .. "src/devices/bus/c64/c128_partner.h",
+ MAME_DIR .. "src/devices/bus/c64/comal80.cpp",
+ MAME_DIR .. "src/devices/bus/c64/comal80.h",
+ MAME_DIR .. "src/devices/bus/c64/cpm.cpp",
+ MAME_DIR .. "src/devices/bus/c64/cpm.h",
+ MAME_DIR .. "src/devices/bus/c64/currah_speech.cpp",
+ MAME_DIR .. "src/devices/bus/c64/currah_speech.h",
+ MAME_DIR .. "src/devices/bus/c64/dela_ep256.cpp",
+ MAME_DIR .. "src/devices/bus/c64/dela_ep256.h",
+ MAME_DIR .. "src/devices/bus/c64/dela_ep64.cpp",
+ MAME_DIR .. "src/devices/bus/c64/dela_ep64.h",
+ MAME_DIR .. "src/devices/bus/c64/dela_ep7x8.cpp",
+ MAME_DIR .. "src/devices/bus/c64/dela_ep7x8.h",
+ MAME_DIR .. "src/devices/bus/c64/dinamic.cpp",
+ MAME_DIR .. "src/devices/bus/c64/dinamic.h",
+ MAME_DIR .. "src/devices/bus/c64/dqbb.cpp",
+ MAME_DIR .. "src/devices/bus/c64/dqbb.h",
+ MAME_DIR .. "src/devices/bus/c64/easy_calc_result.cpp",
+ MAME_DIR .. "src/devices/bus/c64/easy_calc_result.h",
+ MAME_DIR .. "src/devices/bus/c64/easyflash.cpp",
+ MAME_DIR .. "src/devices/bus/c64/easyflash.h",
+ MAME_DIR .. "src/devices/bus/c64/epyx_fast_load.cpp",
+ MAME_DIR .. "src/devices/bus/c64/epyx_fast_load.h",
+ MAME_DIR .. "src/devices/bus/c64/exos.cpp",
+ MAME_DIR .. "src/devices/bus/c64/exos.h",
+ MAME_DIR .. "src/devices/bus/c64/fcc.cpp",
+ MAME_DIR .. "src/devices/bus/c64/fcc.h",
+ MAME_DIR .. "src/devices/bus/c64/final.cpp",
+ MAME_DIR .. "src/devices/bus/c64/final.h",
+ MAME_DIR .. "src/devices/bus/c64/final3.cpp",
+ MAME_DIR .. "src/devices/bus/c64/final3.h",
+ MAME_DIR .. "src/devices/bus/c64/fun_play.cpp",
+ MAME_DIR .. "src/devices/bus/c64/fun_play.h",
+ MAME_DIR .. "src/devices/bus/c64/georam.cpp",
+ MAME_DIR .. "src/devices/bus/c64/georam.h",
+ MAME_DIR .. "src/devices/bus/c64/ide64.cpp",
+ MAME_DIR .. "src/devices/bus/c64/ide64.h",
+ MAME_DIR .. "src/devices/bus/c64/ieee488.cpp",
+ MAME_DIR .. "src/devices/bus/c64/ieee488.h",
+ MAME_DIR .. "src/devices/bus/c64/kingsoft.cpp",
+ MAME_DIR .. "src/devices/bus/c64/kingsoft.h",
+ MAME_DIR .. "src/devices/bus/c64/mach5.cpp",
+ MAME_DIR .. "src/devices/bus/c64/mach5.h",
+ MAME_DIR .. "src/devices/bus/c64/magic_desk.cpp",
+ MAME_DIR .. "src/devices/bus/c64/magic_desk.h",
+ MAME_DIR .. "src/devices/bus/c64/magic_formel.cpp",
+ MAME_DIR .. "src/devices/bus/c64/magic_formel.h",
+ MAME_DIR .. "src/devices/bus/c64/magic_voice.cpp",
+ MAME_DIR .. "src/devices/bus/c64/magic_voice.h",
+ MAME_DIR .. "src/devices/bus/c64/midi_maplin.cpp",
+ MAME_DIR .. "src/devices/bus/c64/midi_maplin.h",
+ MAME_DIR .. "src/devices/bus/c64/midi_namesoft.cpp",
+ MAME_DIR .. "src/devices/bus/c64/midi_namesoft.h",
+ MAME_DIR .. "src/devices/bus/c64/midi_passport.cpp",
+ MAME_DIR .. "src/devices/bus/c64/midi_passport.h",
+ MAME_DIR .. "src/devices/bus/c64/midi_sci.cpp",
+ MAME_DIR .. "src/devices/bus/c64/midi_sci.h",
+ MAME_DIR .. "src/devices/bus/c64/midi_siel.cpp",
+ MAME_DIR .. "src/devices/bus/c64/midi_siel.h",
+ MAME_DIR .. "src/devices/bus/c64/mikro_assembler.cpp",
+ MAME_DIR .. "src/devices/bus/c64/mikro_assembler.h",
+ MAME_DIR .. "src/devices/bus/c64/multiscreen.cpp",
+ MAME_DIR .. "src/devices/bus/c64/multiscreen.h",
+ MAME_DIR .. "src/devices/bus/c64/music64.cpp",
+ MAME_DIR .. "src/devices/bus/c64/music64.h",
+ MAME_DIR .. "src/devices/bus/c64/neoram.cpp",
+ MAME_DIR .. "src/devices/bus/c64/neoram.h",
+ MAME_DIR .. "src/devices/bus/c64/ocean.cpp",
+ MAME_DIR .. "src/devices/bus/c64/ocean.h",
+ MAME_DIR .. "src/devices/bus/c64/pagefox.cpp",
+ MAME_DIR .. "src/devices/bus/c64/pagefox.h",
+ MAME_DIR .. "src/devices/bus/c64/partner.cpp",
+ MAME_DIR .. "src/devices/bus/c64/partner.h",
+ MAME_DIR .. "src/devices/bus/c64/prophet64.cpp",
+ MAME_DIR .. "src/devices/bus/c64/prophet64.h",
+ MAME_DIR .. "src/devices/bus/c64/ps64.cpp",
+ MAME_DIR .. "src/devices/bus/c64/ps64.h",
+ MAME_DIR .. "src/devices/bus/c64/reu.cpp",
+ MAME_DIR .. "src/devices/bus/c64/reu.h",
+ MAME_DIR .. "src/devices/bus/c64/rex.cpp",
+ MAME_DIR .. "src/devices/bus/c64/rex.h",
+ MAME_DIR .. "src/devices/bus/c64/rex_ep256.cpp",
+ MAME_DIR .. "src/devices/bus/c64/rex_ep256.h",
+ MAME_DIR .. "src/devices/bus/c64/ross.cpp",
+ MAME_DIR .. "src/devices/bus/c64/ross.h",
+ MAME_DIR .. "src/devices/bus/c64/sfx_sound_expander.cpp",
+ MAME_DIR .. "src/devices/bus/c64/sfx_sound_expander.h",
+ MAME_DIR .. "src/devices/bus/c64/silverrock.cpp",
+ MAME_DIR .. "src/devices/bus/c64/silverrock.h",
+ MAME_DIR .. "src/devices/bus/c64/simons_basic.cpp",
+ MAME_DIR .. "src/devices/bus/c64/simons_basic.h",
+ MAME_DIR .. "src/devices/bus/c64/speakeasy.cpp",
+ MAME_DIR .. "src/devices/bus/c64/speakeasy.h",
+ MAME_DIR .. "src/devices/bus/c64/stardos.cpp",
+ MAME_DIR .. "src/devices/bus/c64/stardos.h",
+ MAME_DIR .. "src/devices/bus/c64/std.cpp",
+ MAME_DIR .. "src/devices/bus/c64/std.h",
+ MAME_DIR .. "src/devices/bus/c64/structured_basic.cpp",
+ MAME_DIR .. "src/devices/bus/c64/structured_basic.h",
+ MAME_DIR .. "src/devices/bus/c64/super_explode.cpp",
+ MAME_DIR .. "src/devices/bus/c64/super_explode.h",
+ MAME_DIR .. "src/devices/bus/c64/super_games.cpp",
+ MAME_DIR .. "src/devices/bus/c64/super_games.h",
+ MAME_DIR .. "src/devices/bus/c64/supercpu.cpp",
+ MAME_DIR .. "src/devices/bus/c64/supercpu.h",
+ MAME_DIR .. "src/devices/bus/c64/sw8k.cpp",
+ MAME_DIR .. "src/devices/bus/c64/sw8k.h",
+ MAME_DIR .. "src/devices/bus/c64/swiftlink.cpp",
+ MAME_DIR .. "src/devices/bus/c64/swiftlink.h",
+ MAME_DIR .. "src/devices/bus/c64/system3.cpp",
+ MAME_DIR .. "src/devices/bus/c64/system3.h",
+ MAME_DIR .. "src/devices/bus/c64/tdos.cpp",
+ MAME_DIR .. "src/devices/bus/c64/tdos.h",
+ MAME_DIR .. "src/devices/bus/c64/turbo232.cpp",
+ MAME_DIR .. "src/devices/bus/c64/turbo232.h",
+ MAME_DIR .. "src/devices/bus/c64/vizastar.cpp",
+ MAME_DIR .. "src/devices/bus/c64/vizastar.h",
+ MAME_DIR .. "src/devices/bus/c64/vw64.cpp",
+ MAME_DIR .. "src/devices/bus/c64/vw64.h",
+ MAME_DIR .. "src/devices/bus/c64/warp_speed.cpp",
+ MAME_DIR .. "src/devices/bus/c64/warp_speed.h",
+ MAME_DIR .. "src/devices/bus/c64/westermann.cpp",
+ MAME_DIR .. "src/devices/bus/c64/westermann.h",
+ MAME_DIR .. "src/devices/bus/c64/xl80.cpp",
+ MAME_DIR .. "src/devices/bus/c64/xl80.h",
+ MAME_DIR .. "src/devices/bus/c64/zaxxon.cpp",
+ MAME_DIR .. "src/devices/bus/c64/zaxxon.h",
+ MAME_DIR .. "src/devices/bus/c64/user.cpp",
+ MAME_DIR .. "src/devices/bus/c64/user.h",
+ MAME_DIR .. "src/devices/bus/c64/4dxh.cpp",
+ MAME_DIR .. "src/devices/bus/c64/4dxh.h",
+ MAME_DIR .. "src/devices/bus/c64/4ksa.cpp",
+ MAME_DIR .. "src/devices/bus/c64/4ksa.h",
+ MAME_DIR .. "src/devices/bus/c64/4tba.cpp",
+ MAME_DIR .. "src/devices/bus/c64/4tba.h",
+ MAME_DIR .. "src/devices/bus/c64/16kb.cpp",
+ MAME_DIR .. "src/devices/bus/c64/16kb.h",
+ MAME_DIR .. "src/devices/bus/c64/bn1541.cpp",
+ MAME_DIR .. "src/devices/bus/c64/bn1541.h",
+ MAME_DIR .. "src/devices/bus/c64/geocable.cpp",
+ MAME_DIR .. "src/devices/bus/c64/geocable.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/cbm2/exp.h,BUSES["CBM2"] = true
+--@src/devices/bus/cbm2/user.h,BUSES["CBM2"] = true
+---------------------------------------------------
+
+if (BUSES["CBM2"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/cbm2/exp.cpp",
+ MAME_DIR .. "src/devices/bus/cbm2/exp.h",
+ MAME_DIR .. "src/devices/bus/cbm2/24k.cpp",
+ MAME_DIR .. "src/devices/bus/cbm2/24k.h",
+ MAME_DIR .. "src/devices/bus/cbm2/hrg.cpp",
+ MAME_DIR .. "src/devices/bus/cbm2/hrg.h",
+ MAME_DIR .. "src/devices/bus/cbm2/std.cpp",
+ MAME_DIR .. "src/devices/bus/cbm2/std.h",
+ MAME_DIR .. "src/devices/bus/cbm2/user.cpp",
+ MAME_DIR .. "src/devices/bus/cbm2/user.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/cbmiec/cbmiec.h,BUSES["CBMIEC"] = true
+---------------------------------------------------
+
+if (BUSES["CBMIEC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/cbmiec/cbmiec.cpp",
+ MAME_DIR .. "src/devices/bus/cbmiec/cbmiec.h",
+ MAME_DIR .. "src/devices/bus/cbmiec/c1541.cpp",
+ MAME_DIR .. "src/devices/bus/cbmiec/c1541.h",
+ MAME_DIR .. "src/devices/bus/cbmiec/c1571.cpp",
+ MAME_DIR .. "src/devices/bus/cbmiec/c1571.h",
+ MAME_DIR .. "src/devices/bus/cbmiec/c1581.cpp",
+ MAME_DIR .. "src/devices/bus/cbmiec/c1581.h",
+ MAME_DIR .. "src/devices/bus/cbmiec/c64_nl10.cpp",
+ MAME_DIR .. "src/devices/bus/cbmiec/c64_nl10.h",
+ MAME_DIR .. "src/devices/bus/cbmiec/cmdhd.cpp",
+ MAME_DIR .. "src/devices/bus/cbmiec/cmdhd.h",
+ MAME_DIR .. "src/devices/bus/cbmiec/diag264_lb_iec.cpp",
+ MAME_DIR .. "src/devices/bus/cbmiec/diag264_lb_iec.h",
+ MAME_DIR .. "src/devices/bus/cbmiec/fd2000.cpp",
+ MAME_DIR .. "src/devices/bus/cbmiec/fd2000.h",
+ MAME_DIR .. "src/devices/bus/cbmiec/interpod.cpp",
+ MAME_DIR .. "src/devices/bus/cbmiec/interpod.h",
+ MAME_DIR .. "src/devices/bus/cbmiec/serialbox.cpp",
+ MAME_DIR .. "src/devices/bus/cbmiec/serialbox.h",
+ MAME_DIR .. "src/devices/bus/cbmiec/vic1515.cpp",
+ MAME_DIR .. "src/devices/bus/cbmiec/vic1515.h",
+ MAME_DIR .. "src/devices/bus/cbmiec/vic1520.cpp",
+ MAME_DIR .. "src/devices/bus/cbmiec/vic1520.h",
+ MAME_DIR .. "src/devices/bus/cbmiec/c1526.cpp",
+ MAME_DIR .. "src/devices/bus/cbmiec/c1526.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/chanf/slot.h,BUSES["CHANNELF"] = true
+---------------------------------------------------
+
+if (BUSES["CHANNELF"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/chanf/slot.cpp",
+ MAME_DIR .. "src/devices/bus/chanf/slot.h",
+ MAME_DIR .. "src/devices/bus/chanf/rom.cpp",
+ MAME_DIR .. "src/devices/bus/chanf/rom.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/comx35/exp.h,BUSES["COMX35"] = true
+---------------------------------------------------
+
+if (BUSES["COMX35"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/comx35/exp.cpp",
+ MAME_DIR .. "src/devices/bus/comx35/exp.h",
+ MAME_DIR .. "src/devices/bus/comx35/clm.cpp",
+ MAME_DIR .. "src/devices/bus/comx35/clm.h",
+ MAME_DIR .. "src/devices/bus/comx35/expbox.cpp",
+ MAME_DIR .. "src/devices/bus/comx35/expbox.h",
+ MAME_DIR .. "src/devices/bus/comx35/eprom.cpp",
+ MAME_DIR .. "src/devices/bus/comx35/eprom.h",
+ MAME_DIR .. "src/devices/bus/comx35/fdc.cpp",
+ MAME_DIR .. "src/devices/bus/comx35/fdc.h",
+ MAME_DIR .. "src/devices/bus/comx35/joycard.cpp",
+ MAME_DIR .. "src/devices/bus/comx35/joycard.h",
+ MAME_DIR .. "src/devices/bus/comx35/printer.cpp",
+ MAME_DIR .. "src/devices/bus/comx35/printer.h",
+ MAME_DIR .. "src/devices/bus/comx35/ram.cpp",
+ MAME_DIR .. "src/devices/bus/comx35/ram.h",
+ MAME_DIR .. "src/devices/bus/comx35/thermal.cpp",
+ MAME_DIR .. "src/devices/bus/comx35/thermal.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/coleco/controller/ctrl.h,BUSES["COLECO_CONTROLLER"] = true
+---------------------------------------------------
+
+if (BUSES["COLECO_CONTROLLER"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/coleco/controller/ctrl.cpp",
+ MAME_DIR .. "src/devices/bus/coleco/controller/ctrl.h",
+ MAME_DIR .. "src/devices/bus/coleco/controller/hand.cpp",
+ MAME_DIR .. "src/devices/bus/coleco/controller/hand.h",
+ MAME_DIR .. "src/devices/bus/coleco/controller/sac.cpp",
+ MAME_DIR .. "src/devices/bus/coleco/controller/sac.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/coleco/exp.h,BUSES["COLECO_CART"] = true
+---------------------------------------------------
+
+if (BUSES["COLECO_CART"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/coleco/cartridge/exp.cpp",
+ MAME_DIR .. "src/devices/bus/coleco/cartridge/exp.h",
+ MAME_DIR .. "src/devices/bus/coleco/cartridge/std.cpp",
+ MAME_DIR .. "src/devices/bus/coleco/cartridge/std.h",
+ MAME_DIR .. "src/devices/bus/coleco/cartridge/xin1.h",
+ MAME_DIR .. "src/devices/bus/coleco/cartridge/xin1.cpp",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/crvision/slot.h,BUSES["CRVISION"] = true
+---------------------------------------------------
+
+if (BUSES["CRVISION"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/crvision/slot.cpp",
+ MAME_DIR .. "src/devices/bus/crvision/slot.h",
+ MAME_DIR .. "src/devices/bus/crvision/rom.cpp",
+ MAME_DIR .. "src/devices/bus/crvision/rom.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/dmv/dmvbus.h,BUSES["DMV"] = true
+---------------------------------------------------
+
+if (BUSES["DMV"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/dmv/dmvbus.cpp",
+ MAME_DIR .. "src/devices/bus/dmv/dmvbus.h",
+ MAME_DIR .. "src/devices/bus/dmv/k210.cpp",
+ MAME_DIR .. "src/devices/bus/dmv/k210.h",
+ MAME_DIR .. "src/devices/bus/dmv/k220.cpp",
+ MAME_DIR .. "src/devices/bus/dmv/k220.h",
+ MAME_DIR .. "src/devices/bus/dmv/k230.cpp",
+ MAME_DIR .. "src/devices/bus/dmv/k230.h",
+ MAME_DIR .. "src/devices/bus/dmv/k233.cpp",
+ MAME_DIR .. "src/devices/bus/dmv/k233.h",
+ MAME_DIR .. "src/devices/bus/dmv/k801.cpp",
+ MAME_DIR .. "src/devices/bus/dmv/k801.h",
+ MAME_DIR .. "src/devices/bus/dmv/k803.cpp",
+ MAME_DIR .. "src/devices/bus/dmv/k803.h",
+ MAME_DIR .. "src/devices/bus/dmv/k806.cpp",
+ MAME_DIR .. "src/devices/bus/dmv/k806.h",
+ MAME_DIR .. "src/devices/bus/dmv/ram.cpp",
+ MAME_DIR .. "src/devices/bus/dmv/ram.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/ecbbus/ecbbus.h,BUSES["ECBBUS"] = true
+---------------------------------------------------
+
+if (BUSES["ECBBUS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/ecbbus/ecbbus.cpp",
+ MAME_DIR .. "src/devices/bus/ecbbus/ecbbus.h",
+ MAME_DIR .. "src/devices/bus/ecbbus/grip.cpp",
+ MAME_DIR .. "src/devices/bus/ecbbus/grip.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/econet/econet.h,BUSES["ECONET"] = true
+---------------------------------------------------
+
+if (BUSES["ECONET"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/econet/econet.cpp",
+ MAME_DIR .. "src/devices/bus/econet/econet.h",
+ MAME_DIR .. "src/devices/bus/econet/e01.cpp",
+ MAME_DIR .. "src/devices/bus/econet/e01.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/ekara/slot.h,BUSES["EKARA"] = true
+---------------------------------------------------
+
+if (BUSES["EKARA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/ekara/slot.cpp",
+ MAME_DIR .. "src/devices/bus/ekara/slot.h",
+ MAME_DIR .. "src/devices/bus/ekara/rom.cpp",
+ MAME_DIR .. "src/devices/bus/ekara/rom.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/electron/exp.h,BUSES["ELECTRON"] = true
+---------------------------------------------------
+
+if (BUSES["ELECTRON"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/electron/exp.cpp",
+ MAME_DIR .. "src/devices/bus/electron/exp.h",
+ MAME_DIR .. "src/devices/bus/electron/fbjoy.cpp",
+ MAME_DIR .. "src/devices/bus/electron/fbjoy.h",
+ MAME_DIR .. "src/devices/bus/electron/plus1.cpp",
+ MAME_DIR .. "src/devices/bus/electron/plus1.h",
+ MAME_DIR .. "src/devices/bus/electron/plus2.cpp",
+ MAME_DIR .. "src/devices/bus/electron/plus2.h",
+ MAME_DIR .. "src/devices/bus/electron/plus3.cpp",
+ MAME_DIR .. "src/devices/bus/electron/plus3.h",
+ MAME_DIR .. "src/devices/bus/electron/pwrjoy.cpp",
+ MAME_DIR .. "src/devices/bus/electron/pwrjoy.h",
+ MAME_DIR .. "src/devices/bus/electron/rombox.cpp",
+ MAME_DIR .. "src/devices/bus/electron/rombox.h",
+ MAME_DIR .. "src/devices/bus/electron/romboxp.cpp",
+ MAME_DIR .. "src/devices/bus/electron/romboxp.h",
+ MAME_DIR .. "src/devices/bus/electron/m2105.cpp",
+ MAME_DIR .. "src/devices/bus/electron/m2105.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/electron/cart/slot.h,BUSES["ELECTRON_CART"] = true
+---------------------------------------------------
+
+if (BUSES["ELECTRON_CART"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/electron/cart/slot.cpp",
+ MAME_DIR .. "src/devices/bus/electron/cart/slot.h",
+ MAME_DIR .. "src/devices/bus/electron/cart/abr.cpp",
+ MAME_DIR .. "src/devices/bus/electron/cart/abr.h",
+ MAME_DIR .. "src/devices/bus/electron/cart/ap34.cpp",
+ MAME_DIR .. "src/devices/bus/electron/cart/ap34.h",
+ MAME_DIR .. "src/devices/bus/electron/cart/ap5.cpp",
+ MAME_DIR .. "src/devices/bus/electron/cart/ap5.h",
+ MAME_DIR .. "src/devices/bus/electron/cart/aqr.cpp",
+ MAME_DIR .. "src/devices/bus/electron/cart/aqr.h",
+ MAME_DIR .. "src/devices/bus/electron/cart/click.cpp",
+ MAME_DIR .. "src/devices/bus/electron/cart/click.h",
+ MAME_DIR .. "src/devices/bus/electron/cart/cumana.cpp",
+ MAME_DIR .. "src/devices/bus/electron/cart/cumana.h",
+ MAME_DIR .. "src/devices/bus/electron/cart/mgc.cpp",
+ MAME_DIR .. "src/devices/bus/electron/cart/mgc.h",
+ MAME_DIR .. "src/devices/bus/electron/cart/peg400.cpp",
+ MAME_DIR .. "src/devices/bus/electron/cart/peg400.h",
+ MAME_DIR .. "src/devices/bus/electron/cart/romp144.cpp",
+ MAME_DIR .. "src/devices/bus/electron/cart/romp144.h",
+ MAME_DIR .. "src/devices/bus/electron/cart/sndexp.cpp",
+ MAME_DIR .. "src/devices/bus/electron/cart/sndexp.h",
+ MAME_DIR .. "src/devices/bus/electron/cart/sndexp3.cpp",
+ MAME_DIR .. "src/devices/bus/electron/cart/sndexp3.h",
+ MAME_DIR .. "src/devices/bus/electron/cart/sp64.cpp",
+ MAME_DIR .. "src/devices/bus/electron/cart/sp64.h",
+ MAME_DIR .. "src/devices/bus/electron/cart/std.cpp",
+ MAME_DIR .. "src/devices/bus/electron/cart/std.h",
+ MAME_DIR .. "src/devices/bus/electron/cart/stlefs.cpp",
+ MAME_DIR .. "src/devices/bus/electron/cart/stlefs.h",
+ MAME_DIR .. "src/devices/bus/electron/cart/tube.cpp",
+ MAME_DIR .. "src/devices/bus/electron/cart/tube.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/ep64/exp.h,BUSES["EP64"] = true
+---------------------------------------------------
+
+if (BUSES["EP64"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/ep64/exp.cpp",
+ MAME_DIR .. "src/devices/bus/ep64/exp.h",
+ MAME_DIR .. "src/devices/bus/ep64/exdos.cpp",
+ MAME_DIR .. "src/devices/bus/ep64/exdos.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/gamate/slot.h,BUSES["GAMATE"] = true
+---------------------------------------------------
+
+if (BUSES["GAMATE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/gamate/slot.cpp",
+ MAME_DIR .. "src/devices/bus/gamate/slot.h",
+ MAME_DIR .. "src/devices/bus/gamate/rom.cpp",
+ MAME_DIR .. "src/devices/bus/gamate/rom.h",
+ MAME_DIR .. "src/devices/bus/gamate/gamate_protection.cpp",
+ MAME_DIR .. "src/devices/bus/gamate/gamate_protection.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/gio64/gio64.h,BUSES["GIO64"] = true
+---------------------------------------------------
+
+if (BUSES["GIO64"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/gio64/gio64.cpp",
+ MAME_DIR .. "src/devices/bus/gio64/gio64.h",
+ MAME_DIR .. "src/devices/bus/gio64/newport.cpp",
+ MAME_DIR .. "src/devices/bus/gio64/newport.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/hp_hil/hp_hil.h,BUSES["HPHIL"] = true
+---------------------------------------------------
+
+if (BUSES["HPHIL"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/hp_hil/hp_hil.cpp",
+ MAME_DIR .. "src/devices/bus/hp_hil/hp_hil.h",
+ MAME_DIR .. "src/devices/bus/hp_hil/hil_devices.cpp",
+ MAME_DIR .. "src/devices/bus/hp_hil/hil_devices.h",
+ MAME_DIR .. "src/devices/bus/hp_hil/hlebase.cpp",
+ MAME_DIR .. "src/devices/bus/hp_hil/hlebase.h",
+ MAME_DIR .. "src/devices/bus/hp_hil/hlemouse.cpp",
+ MAME_DIR .. "src/devices/bus/hp_hil/hlemouse.h",
+ MAME_DIR .. "src/devices/bus/hp_hil/hlekbd.cpp",
+ MAME_DIR .. "src/devices/bus/hp_hil/hlekbd.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/hp_dio/hp_dio.h,BUSES["HPDIO"] = true
+---------------------------------------------------
+
+if (BUSES["HPDIO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/hp_dio/hp_dio.cpp",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp_dio.h",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98265a.cpp",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98265a.h",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98543.cpp",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98543.h",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98544.cpp",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98544.h",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98550.cpp",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98550.h",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98603a.cpp",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98603a.h",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98603b.cpp",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98603b.h",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98620.cpp",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98620.h",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98643.cpp",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98643.h",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98644.cpp",
+ MAME_DIR .. "src/devices/bus/hp_dio/hp98644.h",
+ MAME_DIR .. "src/devices/bus/hp_dio/human_interface.cpp",
+ MAME_DIR .. "src/devices/bus/hp_dio/human_interface.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/generic/slot.h,BUSES["GENERIC"] = true
+---------------------------------------------------
+
+if (BUSES["GENERIC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/generic/slot.cpp",
+ MAME_DIR .. "src/devices/bus/generic/slot.h",
+ MAME_DIR .. "src/devices/bus/generic/carts.cpp",
+ MAME_DIR .. "src/devices/bus/generic/carts.h",
+ MAME_DIR .. "src/devices/bus/generic/ram.cpp",
+ MAME_DIR .. "src/devices/bus/generic/ram.h",
+ MAME_DIR .. "src/devices/bus/generic/rom.cpp",
+ MAME_DIR .. "src/devices/bus/generic/rom.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/hexbus/hexbus.h,BUSES["HEXBUS"] = true
+---------------------------------------------------
+
+if (BUSES["HEXBUS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/hexbus/hexbus.cpp",
+ MAME_DIR .. "src/devices/bus/hexbus/hexbus.h",
+ MAME_DIR .. "src/devices/bus/hexbus/hx5102.cpp",
+ MAME_DIR .. "src/devices/bus/hexbus/hx5102.h",
+ MAME_DIR .. "src/devices/bus/hexbus/tp0370.cpp",
+ MAME_DIR .. "src/devices/bus/hexbus/tp0370.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/ieee488/ieee488.h,BUSES["IEEE488"] = true
+---------------------------------------------------
+
+if (BUSES["IEEE488"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/ieee488/ieee488.cpp",
+ MAME_DIR .. "src/devices/bus/ieee488/ieee488.h",
+ MAME_DIR .. "src/devices/bus/ieee488/c2031.cpp",
+ MAME_DIR .. "src/devices/bus/ieee488/c2031.h",
+ MAME_DIR .. "src/devices/bus/ieee488/c2040.cpp",
+ MAME_DIR .. "src/devices/bus/ieee488/c2040.h",
+ MAME_DIR .. "src/devices/bus/ieee488/c2040fdc.cpp",
+ MAME_DIR .. "src/devices/bus/ieee488/c2040fdc.h",
+ MAME_DIR .. "src/devices/bus/ieee488/c8050.cpp",
+ MAME_DIR .. "src/devices/bus/ieee488/c8050.h",
+ MAME_DIR .. "src/devices/bus/ieee488/c8050fdc.cpp",
+ MAME_DIR .. "src/devices/bus/ieee488/c8050fdc.h",
+ MAME_DIR .. "src/devices/bus/ieee488/c8280.cpp",
+ MAME_DIR .. "src/devices/bus/ieee488/c8280.h",
+ MAME_DIR .. "src/devices/bus/ieee488/d9060.cpp",
+ MAME_DIR .. "src/devices/bus/ieee488/d9060.h",
+ MAME_DIR .. "src/devices/bus/ieee488/softbox.cpp",
+ MAME_DIR .. "src/devices/bus/ieee488/softbox.h",
+ MAME_DIR .. "src/devices/bus/ieee488/hardbox.cpp",
+ MAME_DIR .. "src/devices/bus/ieee488/hardbox.h",
+ MAME_DIR .. "src/devices/bus/ieee488/shark.cpp",
+ MAME_DIR .. "src/devices/bus/ieee488/shark.h",
+ MAME_DIR .. "src/devices/bus/ieee488/hp9122c.cpp",
+ MAME_DIR .. "src/devices/bus/ieee488/hp9122c.h",
+ MAME_DIR .. "src/devices/bus/ieee488/hp9895.cpp",
+ MAME_DIR .. "src/devices/bus/ieee488/hp9895.h",
+ MAME_DIR .. "src/devices/bus/ieee488/remote488.cpp",
+ MAME_DIR .. "src/devices/bus/ieee488/remote488.h",
+ }
+
+ dependency {
+ { MAME_DIR .. "src/devices/bus/ieee488/hp9122c.cpp", GEN_DIR .. "emu/layout/hp9122c.lh" },
+ }
+
+ custombuildtask {
+ layoutbuildtask("emu/layout", "hp9122c"),
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/iq151/iq151.h,BUSES["IQ151"] = true
+---------------------------------------------------
+
+if (BUSES["IQ151"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/iq151/iq151.cpp",
+ MAME_DIR .. "src/devices/bus/iq151/iq151.h",
+ MAME_DIR .. "src/devices/bus/iq151/disc2.cpp",
+ MAME_DIR .. "src/devices/bus/iq151/disc2.h",
+ MAME_DIR .. "src/devices/bus/iq151/grafik.cpp",
+ MAME_DIR .. "src/devices/bus/iq151/grafik.h",
+ MAME_DIR .. "src/devices/bus/iq151/minigraf.cpp",
+ MAME_DIR .. "src/devices/bus/iq151/minigraf.h",
+ MAME_DIR .. "src/devices/bus/iq151/ms151a.cpp",
+ MAME_DIR .. "src/devices/bus/iq151/ms151a.h",
+ MAME_DIR .. "src/devices/bus/iq151/rom.cpp",
+ MAME_DIR .. "src/devices/bus/iq151/rom.h",
+ MAME_DIR .. "src/devices/bus/iq151/staper.cpp",
+ MAME_DIR .. "src/devices/bus/iq151/staper.h",
+ MAME_DIR .. "src/devices/bus/iq151/video32.cpp",
+ MAME_DIR .. "src/devices/bus/iq151/video32.h",
+ MAME_DIR .. "src/devices/bus/iq151/video64.cpp",
+ MAME_DIR .. "src/devices/bus/iq151/video64.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/imi7000/imi7000.h,BUSES["IMI7000"] = true
+---------------------------------------------------
+
+if (BUSES["IMI7000"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/imi7000/imi7000.cpp",
+ MAME_DIR .. "src/devices/bus/imi7000/imi7000.h",
+ MAME_DIR .. "src/devices/bus/imi7000/imi5000h.cpp",
+ MAME_DIR .. "src/devices/bus/imi7000/imi5000h.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/intellec4/intellec4.h,BUSES["INTELLEC4"] = true
+---------------------------------------------------
+
+if (BUSES["INTELLEC4"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/intellec4/insdatastor.cpp",
+ MAME_DIR .. "src/devices/bus/intellec4/insdatastor.h",
+ MAME_DIR .. "src/devices/bus/intellec4/intellec4.cpp",
+ MAME_DIR .. "src/devices/bus/intellec4/intellec4.h",
+ MAME_DIR .. "src/devices/bus/intellec4/prommemory.cpp",
+ MAME_DIR .. "src/devices/bus/intellec4/prommemory.h",
+ MAME_DIR .. "src/devices/bus/intellec4/tapereader.cpp",
+ MAME_DIR .. "src/devices/bus/intellec4/tapereader.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/intv/slot.h,BUSES["INTV"] = true
+---------------------------------------------------
+
+if (BUSES["INTV"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/intv/slot.cpp",
+ MAME_DIR .. "src/devices/bus/intv/slot.h",
+ MAME_DIR .. "src/devices/bus/intv/rom.cpp",
+ MAME_DIR .. "src/devices/bus/intv/rom.h",
+ MAME_DIR .. "src/devices/bus/intv/voice.cpp",
+ MAME_DIR .. "src/devices/bus/intv/voice.h",
+ MAME_DIR .. "src/devices/bus/intv/ecs.cpp",
+ MAME_DIR .. "src/devices/bus/intv/ecs.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/intv_ctrl/ctrl.h,BUSES["INTV_CTRL"] = true
+---------------------------------------------------
+
+if (BUSES["INTV_CTRL"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/intv_ctrl/ctrl.cpp",
+ MAME_DIR .. "src/devices/bus/intv_ctrl/ctrl.h",
+ MAME_DIR .. "src/devices/bus/intv_ctrl/handctrl.cpp",
+ MAME_DIR .. "src/devices/bus/intv_ctrl/handctrl.h",
+ MAME_DIR .. "src/devices/bus/intv_ctrl/ecs_ctrl.cpp",
+ MAME_DIR .. "src/devices/bus/intv_ctrl/ecs_ctrl.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/isa/isa.h,BUSES["ISA"] = true
+---------------------------------------------------
+
+if (BUSES["ISA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/isa/isa.cpp",
+ MAME_DIR .. "src/devices/bus/isa/isa.h",
+ MAME_DIR .. "src/devices/bus/isa/isa_cards.cpp",
+ MAME_DIR .. "src/devices/bus/isa/isa_cards.h",
+ MAME_DIR .. "src/devices/bus/isa/mda.cpp",
+ MAME_DIR .. "src/devices/bus/isa/mda.h",
+ MAME_DIR .. "src/devices/bus/isa/wdxt_gen.cpp",
+ MAME_DIR .. "src/devices/bus/isa/wdxt_gen.h",
+ MAME_DIR .. "src/devices/bus/isa/adlib.cpp",
+ MAME_DIR .. "src/devices/bus/isa/adlib.h",
+ MAME_DIR .. "src/devices/bus/isa/chessmdr.cpp",
+ MAME_DIR .. "src/devices/bus/isa/chessmdr.h",
+ MAME_DIR .. "src/devices/bus/isa/chessmsr.cpp",
+ MAME_DIR .. "src/devices/bus/isa/chessmsr.h",
+ MAME_DIR .. "src/devices/bus/isa/com.cpp",
+ MAME_DIR .. "src/devices/bus/isa/com.h",
+ MAME_DIR .. "src/devices/bus/isa/fdc.cpp",
+ MAME_DIR .. "src/devices/bus/isa/fdc.h",
+ MAME_DIR .. "src/devices/bus/isa/mufdc.cpp",
+ MAME_DIR .. "src/devices/bus/isa/mufdc.h",
+ MAME_DIR .. "src/devices/bus/isa/finalchs.cpp",
+ MAME_DIR .. "src/devices/bus/isa/finalchs.h",
+ MAME_DIR .. "src/devices/bus/isa/gblaster.cpp",
+ MAME_DIR .. "src/devices/bus/isa/gblaster.h",
+ MAME_DIR .. "src/devices/bus/isa/gus.cpp",
+ MAME_DIR .. "src/devices/bus/isa/gus.h",
+ MAME_DIR .. "src/devices/bus/isa/sb16.cpp",
+ MAME_DIR .. "src/devices/bus/isa/sb16.h",
+ MAME_DIR .. "src/devices/bus/isa/hdc.cpp",
+ MAME_DIR .. "src/devices/bus/isa/hdc.h",
+ MAME_DIR .. "src/devices/bus/isa/ibm_mfc.cpp",
+ MAME_DIR .. "src/devices/bus/isa/ibm_mfc.h",
+ MAME_DIR .. "src/devices/bus/isa/cl_sh260.cpp",
+ MAME_DIR .. "src/devices/bus/isa/cl_sh260.h",
+ MAME_DIR .. "src/devices/bus/isa/mpu401.cpp",
+ MAME_DIR .. "src/devices/bus/isa/mpu401.h",
+ MAME_DIR .. "src/devices/bus/isa/sblaster.cpp",
+ MAME_DIR .. "src/devices/bus/isa/sblaster.h",
+ MAME_DIR .. "src/devices/bus/isa/stereo_fx.cpp",
+ MAME_DIR .. "src/devices/bus/isa/stereo_fx.h",
+ MAME_DIR .. "src/devices/bus/isa/ssi2001.cpp",
+ MAME_DIR .. "src/devices/bus/isa/ssi2001.h",
+ MAME_DIR .. "src/devices/bus/isa/ide.cpp",
+ MAME_DIR .. "src/devices/bus/isa/ide.h",
+ MAME_DIR .. "src/devices/bus/isa/xtide.cpp",
+ MAME_DIR .. "src/devices/bus/isa/xtide.h",
+ MAME_DIR .. "src/devices/bus/isa/side116.cpp",
+ MAME_DIR .. "src/devices/bus/isa/side116.h",
+ MAME_DIR .. "src/devices/bus/isa/aha1542b.cpp",
+ MAME_DIR .. "src/devices/bus/isa/aha1542b.h",
+ MAME_DIR .. "src/devices/bus/isa/aha1542c.cpp",
+ MAME_DIR .. "src/devices/bus/isa/aha1542c.h",
+ MAME_DIR .. "src/devices/bus/isa/aha174x.cpp",
+ MAME_DIR .. "src/devices/bus/isa/aha174x.h",
+ MAME_DIR .. "src/devices/bus/isa/wd1002a_wx1.cpp",
+ MAME_DIR .. "src/devices/bus/isa/wd1002a_wx1.h",
+ MAME_DIR .. "src/devices/bus/isa/wd1007a.cpp",
+ MAME_DIR .. "src/devices/bus/isa/wd1007a.h",
+ MAME_DIR .. "src/devices/bus/isa/dectalk.cpp",
+ MAME_DIR .. "src/devices/bus/isa/dectalk.h",
+ MAME_DIR .. "src/devices/bus/isa/pds.cpp",
+ MAME_DIR .. "src/devices/bus/isa/pds.h",
+ MAME_DIR .. "src/devices/bus/isa/omti8621.cpp",
+ MAME_DIR .. "src/devices/bus/isa/omti8621.h",
+ MAME_DIR .. "src/devices/bus/isa/cga.cpp",
+ MAME_DIR .. "src/devices/bus/isa/cga.h",
+ MAME_DIR .. "src/devices/bus/isa/svga_cirrus.cpp",
+ MAME_DIR .. "src/devices/bus/isa/svga_cirrus.h",
+ MAME_DIR .. "src/devices/bus/isa/ega.cpp",
+ MAME_DIR .. "src/devices/bus/isa/ega.h",
+ MAME_DIR .. "src/devices/bus/isa/pgc.cpp",
+ MAME_DIR .. "src/devices/bus/isa/pgc.h",
+ MAME_DIR .. "src/devices/bus/isa/vga.cpp",
+ MAME_DIR .. "src/devices/bus/isa/vga.h",
+ MAME_DIR .. "src/devices/bus/isa/vga_ati.cpp",
+ MAME_DIR .. "src/devices/bus/isa/vga_ati.h",
+ MAME_DIR .. "src/devices/bus/isa/mach32.cpp",
+ MAME_DIR .. "src/devices/bus/isa/mach32.h",
+ MAME_DIR .. "src/devices/bus/isa/svga_tseng.cpp",
+ MAME_DIR .. "src/devices/bus/isa/svga_tseng.h",
+ MAME_DIR .. "src/devices/bus/isa/svga_s3.cpp",
+ MAME_DIR .. "src/devices/bus/isa/svga_s3.h",
+ MAME_DIR .. "src/devices/bus/isa/s3virge.cpp",
+ MAME_DIR .. "src/devices/bus/isa/s3virge.h",
+ MAME_DIR .. "src/devices/bus/isa/pc1640_iga.cpp",
+ MAME_DIR .. "src/devices/bus/isa/pc1640_iga.h",
+ MAME_DIR .. "src/devices/bus/isa/3c503.cpp",
+ MAME_DIR .. "src/devices/bus/isa/3c503.h",
+ MAME_DIR .. "src/devices/bus/isa/ne1000.cpp",
+ MAME_DIR .. "src/devices/bus/isa/ne1000.h",
+ MAME_DIR .. "src/devices/bus/isa/ne2000.cpp",
+ MAME_DIR .. "src/devices/bus/isa/ne2000.h",
+ MAME_DIR .. "src/devices/bus/isa/3c505.cpp",
+ MAME_DIR .. "src/devices/bus/isa/3c505.h",
+ MAME_DIR .. "src/devices/bus/isa/lpt.cpp",
+ MAME_DIR .. "src/devices/bus/isa/lpt.h",
+ MAME_DIR .. "src/devices/bus/isa/p1_fdc.cpp",
+ MAME_DIR .. "src/devices/bus/isa/p1_fdc.h",
+ MAME_DIR .. "src/devices/bus/isa/p1_hdc.cpp",
+ MAME_DIR .. "src/devices/bus/isa/p1_hdc.h",
+ MAME_DIR .. "src/devices/bus/isa/p1_rom.cpp",
+ MAME_DIR .. "src/devices/bus/isa/p1_rom.h",
+ MAME_DIR .. "src/devices/bus/isa/p1_sound.cpp",
+ MAME_DIR .. "src/devices/bus/isa/p1_sound.h",
+ MAME_DIR .. "src/devices/bus/isa/mc1502_fdc.cpp",
+ MAME_DIR .. "src/devices/bus/isa/mc1502_fdc.h",
+ MAME_DIR .. "src/devices/bus/isa/mc1502_rom.cpp",
+ MAME_DIR .. "src/devices/bus/isa/mc1502_rom.h",
+ MAME_DIR .. "src/devices/bus/isa/xsu_cards.cpp",
+ MAME_DIR .. "src/devices/bus/isa/xsu_cards.h",
+ MAME_DIR .. "src/devices/bus/isa/sc499.cpp",
+ MAME_DIR .. "src/devices/bus/isa/sc499.h",
+ MAME_DIR .. "src/devices/bus/isa/aga.cpp",
+ MAME_DIR .. "src/devices/bus/isa/aga.h",
+ MAME_DIR .. "src/devices/bus/isa/svga_trident.cpp",
+ MAME_DIR .. "src/devices/bus/isa/svga_trident.h",
+ MAME_DIR .. "src/devices/bus/isa/num9rev.cpp",
+ MAME_DIR .. "src/devices/bus/isa/num9rev.h",
+ MAME_DIR .. "src/devices/bus/isa/mcd.cpp",
+ MAME_DIR .. "src/devices/bus/isa/mcd.h",
+ MAME_DIR .. "src/devices/bus/isa/myb3k_com.cpp",
+ MAME_DIR .. "src/devices/bus/isa/myb3k_com.h",
+ MAME_DIR .. "src/devices/bus/isa/myb3k_fdc.cpp",
+ MAME_DIR .. "src/devices/bus/isa/myb3k_fdc.h",
+ MAME_DIR .. "src/devices/bus/isa/eis_sad8852.cpp",
+ MAME_DIR .. "src/devices/bus/isa/eis_sad8852.h",
+ MAME_DIR .. "src/devices/bus/isa/lbaenhancer.cpp",
+ MAME_DIR .. "src/devices/bus/isa/lbaenhancer.h",
+ MAME_DIR .. "src/devices/bus/isa/np600.cpp",
+ MAME_DIR .. "src/devices/bus/isa/np600.h",
+ MAME_DIR .. "src/devices/bus/isa/bt54x.cpp",
+ MAME_DIR .. "src/devices/bus/isa/bt54x.h",
+ MAME_DIR .. "src/devices/bus/isa/dcb.cpp",
+ MAME_DIR .. "src/devices/bus/isa/dcb.h",
+ MAME_DIR .. "src/devices/bus/isa/ultra12f.cpp",
+ MAME_DIR .. "src/devices/bus/isa/ultra12f.h",
+ MAME_DIR .. "src/devices/bus/isa/ultra14f.cpp",
+ MAME_DIR .. "src/devices/bus/isa/ultra14f.h",
+ MAME_DIR .. "src/devices/bus/isa/ultra24f.cpp",
+ MAME_DIR .. "src/devices/bus/isa/ultra24f.h",
+ MAME_DIR .. "src/devices/bus/isa/tekram_dc820.cpp",
+ MAME_DIR .. "src/devices/bus/isa/tekram_dc820.h",
+ MAME_DIR .. "src/devices/bus/isa/asc88.cpp",
+ MAME_DIR .. "src/devices/bus/isa/asc88.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/isbx/isbx.h,BUSES["ISBX"] = true
+---------------------------------------------------
+
+if (BUSES["ISBX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/isbx/isbx.cpp",
+ MAME_DIR .. "src/devices/bus/isbx/isbx.h",
+ MAME_DIR .. "src/devices/bus/isbx/compis_fdc.cpp",
+ MAME_DIR .. "src/devices/bus/isbx/compis_fdc.h",
+ MAME_DIR .. "src/devices/bus/isbx/isbc_218a.cpp",
+ MAME_DIR .. "src/devices/bus/isbx/isbc_218a.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/jakks_gamekey/slot.h,BUSES["JAKKS_GAMEKEY"] = true
+---------------------------------------------------
+
+if (BUSES["JAKKS_GAMEKEY"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/jakks_gamekey/slot.cpp",
+ MAME_DIR .. "src/devices/bus/jakks_gamekey/slot.h",
+ MAME_DIR .. "src/devices/bus/jakks_gamekey/rom.cpp",
+ MAME_DIR .. "src/devices/bus/jakks_gamekey/rom.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/msx_slot/slot.h,BUSES["MSX_SLOT"] = true
+---------------------------------------------------
+
+if (BUSES["MSX_SLOT"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/msx_slot/bunsetsu.cpp",
+ MAME_DIR .. "src/devices/bus/msx_slot/bunsetsu.h",
+ MAME_DIR .. "src/devices/bus/msx_slot/cartridge.cpp",
+ MAME_DIR .. "src/devices/bus/msx_slot/cartridge.h",
+ MAME_DIR .. "src/devices/bus/msx_slot/disk.cpp",
+ MAME_DIR .. "src/devices/bus/msx_slot/disk.h",
+ MAME_DIR .. "src/devices/bus/msx_slot/fs4600.cpp",
+ MAME_DIR .. "src/devices/bus/msx_slot/fs4600.h",
+ MAME_DIR .. "src/devices/bus/msx_slot/music.cpp",
+ MAME_DIR .. "src/devices/bus/msx_slot/music.h",
+ MAME_DIR .. "src/devices/bus/msx_slot/panasonic08.cpp",
+ MAME_DIR .. "src/devices/bus/msx_slot/panasonic08.h",
+ MAME_DIR .. "src/devices/bus/msx_slot/rom.cpp",
+ MAME_DIR .. "src/devices/bus/msx_slot/rom.h",
+ MAME_DIR .. "src/devices/bus/msx_slot/ram.cpp",
+ MAME_DIR .. "src/devices/bus/msx_slot/ram.h",
+ MAME_DIR .. "src/devices/bus/msx_slot/ram_mm.cpp",
+ MAME_DIR .. "src/devices/bus/msx_slot/ram_mm.h",
+ MAME_DIR .. "src/devices/bus/msx_slot/slot.cpp",
+ MAME_DIR .. "src/devices/bus/msx_slot/slot.h",
+ MAME_DIR .. "src/devices/bus/msx_slot/sony08.cpp",
+ MAME_DIR .. "src/devices/bus/msx_slot/sony08.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/arc.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/arc.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/ascii.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/ascii.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/bm_012.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/bm_012.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/cartridge.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/cartridge.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/crossblaim.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/crossblaim.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/disk.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/disk.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/dooly.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/dooly.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/fmpac.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/fmpac.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/fs_sr022.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/fs_sr022.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/halnote.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/halnote.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/hfox.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/hfox.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/holy_quran.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/holy_quran.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/konami.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/konami.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/korean.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/korean.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/majutsushi.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/majutsushi.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/moonsound.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/moonsound.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/msx_audio.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/msx_audio.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/msx_audio_kb.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/msx_audio_kb.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/msxdos2.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/msxdos2.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/nomapper.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/nomapper.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/rtype.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/rtype.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/superloderunner.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/superloderunner.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/super_swangi.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/super_swangi.h",
+ MAME_DIR .. "src/devices/bus/msx_cart/yamaha.cpp",
+ MAME_DIR .. "src/devices/bus/msx_cart/yamaha.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/mtx/exp.h,BUSES["MTX"] = true
+---------------------------------------------------
+
+if (BUSES["MTX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/mtx/exp.cpp",
+ MAME_DIR .. "src/devices/bus/mtx/exp.h",
+ MAME_DIR .. "src/devices/bus/mtx/sdx.cpp",
+ MAME_DIR .. "src/devices/bus/mtx/sdx.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/kc/kc.h,BUSES["KC"] = true
+---------------------------------------------------
+
+if (BUSES["KC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/kc/kc.cpp",
+ MAME_DIR .. "src/devices/bus/kc/kc.h",
+ MAME_DIR .. "src/devices/bus/kc/d002.cpp",
+ MAME_DIR .. "src/devices/bus/kc/d002.h",
+ MAME_DIR .. "src/devices/bus/kc/d004.cpp",
+ MAME_DIR .. "src/devices/bus/kc/d004.h",
+ MAME_DIR .. "src/devices/bus/kc/ram.cpp",
+ MAME_DIR .. "src/devices/bus/kc/ram.h",
+ MAME_DIR .. "src/devices/bus/kc/rom.cpp",
+ MAME_DIR .. "src/devices/bus/kc/rom.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/odyssey2/slot.h,BUSES["O2"] = true
+---------------------------------------------------
+
+if (BUSES["O2"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/odyssey2/slot.cpp",
+ MAME_DIR .. "src/devices/bus/odyssey2/slot.h",
+ MAME_DIR .. "src/devices/bus/odyssey2/rom.cpp",
+ MAME_DIR .. "src/devices/bus/odyssey2/rom.h",
+ MAME_DIR .. "src/devices/bus/odyssey2/chess.cpp",
+ MAME_DIR .. "src/devices/bus/odyssey2/chess.h",
+ MAME_DIR .. "src/devices/bus/odyssey2/voice.cpp",
+ MAME_DIR .. "src/devices/bus/odyssey2/voice.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/pc_joy/pc_joy.h,BUSES["PC_JOY"] = true
+---------------------------------------------------
+
+if (BUSES["PC_JOY"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/pc_joy/pc_joy.cpp",
+ MAME_DIR .. "src/devices/bus/pc_joy/pc_joy.h",
+ MAME_DIR .. "src/devices/bus/pc_joy/pc_joy_sw.cpp",
+ MAME_DIR .. "src/devices/bus/pc_joy/pc_joy_sw.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/pc_kbd/pc_kbdc.h,BUSES["PC_KBD"] = true
+---------------------------------------------------
+
+if (BUSES["PC_KBD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/pc_kbd/pc_kbdc.cpp",
+ MAME_DIR .. "src/devices/bus/pc_kbd/pc_kbdc.h",
+ MAME_DIR .. "src/devices/bus/pc_kbd/keyboards.cpp",
+ MAME_DIR .. "src/devices/bus/pc_kbd/keyboards.h",
+ MAME_DIR .. "src/devices/bus/pc_kbd/ec1841.cpp",
+ MAME_DIR .. "src/devices/bus/pc_kbd/ec1841.h",
+ MAME_DIR .. "src/devices/bus/pc_kbd/iskr1030.cpp",
+ MAME_DIR .. "src/devices/bus/pc_kbd/iskr1030.h",
+ MAME_DIR .. "src/devices/bus/pc_kbd/keytro.cpp",
+ MAME_DIR .. "src/devices/bus/pc_kbd/keytro.h",
+ MAME_DIR .. "src/devices/bus/pc_kbd/msnat.cpp",
+ MAME_DIR .. "src/devices/bus/pc_kbd/msnat.h",
+ MAME_DIR .. "src/devices/bus/pc_kbd/pc83.cpp",
+ MAME_DIR .. "src/devices/bus/pc_kbd/pc83.h",
+ MAME_DIR .. "src/devices/bus/pc_kbd/pcat84.cpp",
+ MAME_DIR .. "src/devices/bus/pc_kbd/pcat84.h",
+ MAME_DIR .. "src/devices/bus/pc_kbd/pcxt83.cpp",
+ MAME_DIR .. "src/devices/bus/pc_kbd/pcxt83.h",
+ MAME_DIR .. "src/devices/bus/pc_kbd/pcat101.cpp",
+ MAME_DIR .. "src/devices/bus/pc_kbd/pcat101.h",
+ MAME_DIR .. "src/devices/bus/pc_kbd/hle_mouse.cpp",
+ MAME_DIR .. "src/devices/bus/pc_kbd/hle_mouse.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/pet/cass.h,BUSES["PET"] = true
+--@src/devices/bus/pet/exp.h,BUSES["PET"] = true
+--@src/devices/bus/pet/user.h,BUSES["PET"] = true
+---------------------------------------------------
+
+if (BUSES["PET"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/pet/cass.cpp",
+ MAME_DIR .. "src/devices/bus/pet/cass.h",
+ MAME_DIR .. "src/devices/bus/pet/c2n.cpp",
+ MAME_DIR .. "src/devices/bus/pet/c2n.h",
+ MAME_DIR .. "src/devices/bus/pet/diag264_lb_tape.cpp",
+ MAME_DIR .. "src/devices/bus/pet/diag264_lb_tape.h",
+ MAME_DIR .. "src/devices/bus/pet/exp.cpp",
+ MAME_DIR .. "src/devices/bus/pet/exp.h",
+ MAME_DIR .. "src/devices/bus/pet/64k.cpp",
+ MAME_DIR .. "src/devices/bus/pet/64k.h",
+ MAME_DIR .. "src/devices/bus/pet/hsg.cpp",
+ MAME_DIR .. "src/devices/bus/pet/hsg.h",
+ MAME_DIR .. "src/devices/bus/pet/superpet.cpp",
+ MAME_DIR .. "src/devices/bus/pet/superpet.h",
+ MAME_DIR .. "src/devices/bus/pet/user.cpp",
+ MAME_DIR .. "src/devices/bus/pet/user.h",
+ MAME_DIR .. "src/devices/bus/pet/diag.cpp",
+ MAME_DIR .. "src/devices/bus/pet/diag.h",
+ MAME_DIR .. "src/devices/bus/pet/petuja.cpp",
+ MAME_DIR .. "src/devices/bus/pet/petuja.h",
+ MAME_DIR .. "src/devices/bus/pet/cb2snd.cpp",
+ MAME_DIR .. "src/devices/bus/pet/cb2snd.h",
+ MAME_DIR .. "src/devices/bus/pet/2joysnd.h",
+ MAME_DIR .. "src/devices/bus/pet/2joysnd.cpp",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/plus4/exp.h,BUSES["PLUS4"] = true
+--@src/devices/bus/plus4/user.h,BUSES["PLUS4"] = true
+---------------------------------------------------
+
+if (BUSES["PLUS4"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/plus4/exp.cpp",
+ MAME_DIR .. "src/devices/bus/plus4/exp.h",
+ MAME_DIR .. "src/devices/bus/plus4/c1551.cpp",
+ MAME_DIR .. "src/devices/bus/plus4/c1551.h",
+ MAME_DIR .. "src/devices/bus/plus4/sid.cpp",
+ MAME_DIR .. "src/devices/bus/plus4/sid.h",
+ MAME_DIR .. "src/devices/bus/plus4/std.cpp",
+ MAME_DIR .. "src/devices/bus/plus4/std.h",
+ MAME_DIR .. "src/devices/bus/plus4/user.cpp",
+ MAME_DIR .. "src/devices/bus/plus4/user.h",
+ MAME_DIR .. "src/devices/bus/plus4/diag264_lb_user.cpp",
+ MAME_DIR .. "src/devices/bus/plus4/diag264_lb_user.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/pofo/exp.h,BUSES["POFO"] = true
+---------------------------------------------------
+
+if (BUSES["POFO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/pofo/exp.cpp",
+ MAME_DIR .. "src/devices/bus/pofo/exp.h",
+ MAME_DIR .. "src/devices/bus/pofo/hpc101.cpp",
+ MAME_DIR .. "src/devices/bus/pofo/hpc101.h",
+ MAME_DIR .. "src/devices/bus/pofo/hpc102.cpp",
+ MAME_DIR .. "src/devices/bus/pofo/hpc102.h",
+ MAME_DIR .. "src/devices/bus/pofo/hpc104.cpp",
+ MAME_DIR .. "src/devices/bus/pofo/hpc104.h",
+ MAME_DIR .. "src/devices/bus/pofo/ccm.cpp",
+ MAME_DIR .. "src/devices/bus/pofo/ccm.h",
+ MAME_DIR .. "src/devices/bus/pofo/ram.cpp",
+ MAME_DIR .. "src/devices/bus/pofo/ram.h",
+ MAME_DIR .. "src/devices/bus/pofo/rom.cpp",
+ MAME_DIR .. "src/devices/bus/pofo/rom.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/s100/s100.h,BUSES["S100"] = true
+---------------------------------------------------
+
+if (BUSES["S100"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/s100/s100.cpp",
+ MAME_DIR .. "src/devices/bus/s100/s100.h",
+ MAME_DIR .. "src/devices/bus/s100/dj2db.cpp",
+ MAME_DIR .. "src/devices/bus/s100/dj2db.h",
+ MAME_DIR .. "src/devices/bus/s100/djdma.cpp",
+ MAME_DIR .. "src/devices/bus/s100/djdma.h",
+ MAME_DIR .. "src/devices/bus/s100/mm65k16s.cpp",
+ MAME_DIR .. "src/devices/bus/s100/mm65k16s.h",
+ MAME_DIR .. "src/devices/bus/s100/nsmdsa.cpp",
+ MAME_DIR .. "src/devices/bus/s100/nsmdsa.h",
+ MAME_DIR .. "src/devices/bus/s100/nsmdsad.cpp",
+ MAME_DIR .. "src/devices/bus/s100/nsmdsad.h",
+ MAME_DIR .. "src/devices/bus/s100/seals8k.cpp",
+ MAME_DIR .. "src/devices/bus/s100/seals8k.h",
+ MAME_DIR .. "src/devices/bus/s100/wunderbus.cpp",
+ MAME_DIR .. "src/devices/bus/s100/wunderbus.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/spc1000/exp.h,BUSES["SPC1000"] = true
+---------------------------------------------------
+
+if (BUSES["SPC1000"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/spc1000/exp.cpp",
+ MAME_DIR .. "src/devices/bus/spc1000/exp.h",
+ MAME_DIR .. "src/devices/bus/spc1000/fdd.cpp",
+ MAME_DIR .. "src/devices/bus/spc1000/fdd.h",
+ MAME_DIR .. "src/devices/bus/spc1000/vdp.cpp",
+ MAME_DIR .. "src/devices/bus/spc1000/vdp.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/ss50/interface.h,BUSES["SS50"] = true
+---------------------------------------------------
+
+if (BUSES["SS50"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/ss50/interface.cpp",
+ MAME_DIR .. "src/devices/bus/ss50/interface.h",
+ MAME_DIR .. "src/devices/bus/ss50/mpc.cpp",
+ MAME_DIR .. "src/devices/bus/ss50/mpc.h",
+ MAME_DIR .. "src/devices/bus/ss50/mps.cpp",
+ MAME_DIR .. "src/devices/bus/ss50/mps.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/tiki100/exp.h,BUSES["TIKI100"] = true
+---------------------------------------------------
+
+if (BUSES["TIKI100"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/tiki100/exp.cpp",
+ MAME_DIR .. "src/devices/bus/tiki100/exp.h",
+ MAME_DIR .. "src/devices/bus/tiki100/8088.cpp",
+ MAME_DIR .. "src/devices/bus/tiki100/8088.h",
+ MAME_DIR .. "src/devices/bus/tiki100/hdc.cpp",
+ MAME_DIR .. "src/devices/bus/tiki100/hdc.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/tvc/tvc.h,BUSES["TVC"] = true
+---------------------------------------------------
+
+if (BUSES["TVC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/tvc/tvc.cpp",
+ MAME_DIR .. "src/devices/bus/tvc/tvc.h",
+ MAME_DIR .. "src/devices/bus/tvc/hbf.cpp",
+ MAME_DIR .. "src/devices/bus/tvc/hbf.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/vc4000/slot.h,BUSES["VC4000"] = true
+---------------------------------------------------
+
+if (BUSES["VC4000"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/vc4000/slot.cpp",
+ MAME_DIR .. "src/devices/bus/vc4000/slot.h",
+ MAME_DIR .. "src/devices/bus/vc4000/rom.cpp",
+ MAME_DIR .. "src/devices/bus/vc4000/rom.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/vcs/vcs_slot.h,BUSES["VCS"] = true
+---------------------------------------------------
+
+if (BUSES["VCS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/vcs/vcs_slot.cpp",
+ MAME_DIR .. "src/devices/bus/vcs/vcs_slot.h",
+ MAME_DIR .. "src/devices/bus/vcs/rom.cpp",
+ MAME_DIR .. "src/devices/bus/vcs/rom.h",
+ MAME_DIR .. "src/devices/bus/vcs/compumat.cpp",
+ MAME_DIR .. "src/devices/bus/vcs/compumat.h",
+ MAME_DIR .. "src/devices/bus/vcs/dpc.cpp",
+ MAME_DIR .. "src/devices/bus/vcs/dpc.h",
+ MAME_DIR .. "src/devices/bus/vcs/harmony_melody.cpp",
+ MAME_DIR .. "src/devices/bus/vcs/harmony_melody.h",
+ MAME_DIR .. "src/devices/bus/vcs/scharger.cpp",
+ MAME_DIR .. "src/devices/bus/vcs/scharger.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/vcs_ctrl/ctrl.h,BUSES["VCS_CTRL"] = true
+---------------------------------------------------
+
+if (BUSES["VCS_CTRL"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/vcs_ctrl/ctrl.cpp",
+ MAME_DIR .. "src/devices/bus/vcs_ctrl/ctrl.h",
+ MAME_DIR .. "src/devices/bus/vcs_ctrl/joystick.cpp",
+ MAME_DIR .. "src/devices/bus/vcs_ctrl/joystick.h",
+ MAME_DIR .. "src/devices/bus/vcs_ctrl/joybooster.cpp",
+ MAME_DIR .. "src/devices/bus/vcs_ctrl/joybooster.h",
+ MAME_DIR .. "src/devices/bus/vcs_ctrl/keypad.cpp",
+ MAME_DIR .. "src/devices/bus/vcs_ctrl/keypad.h",
+ MAME_DIR .. "src/devices/bus/vcs_ctrl/lightpen.cpp",
+ MAME_DIR .. "src/devices/bus/vcs_ctrl/lightpen.h",
+ MAME_DIR .. "src/devices/bus/vcs_ctrl/mouse.cpp",
+ MAME_DIR .. "src/devices/bus/vcs_ctrl/mouse.h",
+ MAME_DIR .. "src/devices/bus/vcs_ctrl/paddles.cpp",
+ MAME_DIR .. "src/devices/bus/vcs_ctrl/paddles.h",
+ MAME_DIR .. "src/devices/bus/vcs_ctrl/wheel.cpp",
+ MAME_DIR .. "src/devices/bus/vcs_ctrl/wheel.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/vectrex/slot.h,BUSES["VECTREX"] = true
+---------------------------------------------------
+
+if (BUSES["VECTREX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/vectrex/slot.cpp",
+ MAME_DIR .. "src/devices/bus/vectrex/slot.h",
+ MAME_DIR .. "src/devices/bus/vectrex/rom.cpp",
+ MAME_DIR .. "src/devices/bus/vectrex/rom.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/vic10/exp.h,BUSES["VIC10"] = true
+---------------------------------------------------
+
+if (BUSES["VIC10"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/vic10/exp.cpp",
+ MAME_DIR .. "src/devices/bus/vic10/exp.h",
+ MAME_DIR .. "src/devices/bus/vic10/multimax.cpp",
+ MAME_DIR .. "src/devices/bus/vic10/multimax.h",
+ MAME_DIR .. "src/devices/bus/vic10/std.cpp",
+ MAME_DIR .. "src/devices/bus/vic10/std.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/vic20/exp.h,BUSES["VIC20"] = true
+--@src/devices/bus/vic20/user.h,BUSES["VIC20"] = true
+---------------------------------------------------
+
+if (BUSES["VIC20"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/vic20/exp.cpp",
+ MAME_DIR .. "src/devices/bus/vic20/exp.h",
+ MAME_DIR .. "src/devices/bus/vic20/fe3.cpp",
+ MAME_DIR .. "src/devices/bus/vic20/fe3.h",
+ MAME_DIR .. "src/devices/bus/vic20/megacart.cpp",
+ MAME_DIR .. "src/devices/bus/vic20/megacart.h",
+ MAME_DIR .. "src/devices/bus/vic20/std.cpp",
+ MAME_DIR .. "src/devices/bus/vic20/std.h",
+ MAME_DIR .. "src/devices/bus/vic20/vic1010.cpp",
+ MAME_DIR .. "src/devices/bus/vic20/vic1010.h",
+ MAME_DIR .. "src/devices/bus/vic20/vic1110.cpp",
+ MAME_DIR .. "src/devices/bus/vic20/vic1110.h",
+ MAME_DIR .. "src/devices/bus/vic20/vic1111.cpp",
+ MAME_DIR .. "src/devices/bus/vic20/vic1111.h",
+ MAME_DIR .. "src/devices/bus/vic20/vic1112.cpp",
+ MAME_DIR .. "src/devices/bus/vic20/vic1112.h",
+ MAME_DIR .. "src/devices/bus/vic20/vic1210.cpp",
+ MAME_DIR .. "src/devices/bus/vic20/vic1210.h",
+ MAME_DIR .. "src/devices/bus/vic20/videopak.cpp",
+ MAME_DIR .. "src/devices/bus/vic20/videopak.h",
+ MAME_DIR .. "src/devices/bus/vic20/speakeasy.cpp",
+ MAME_DIR .. "src/devices/bus/vic20/speakeasy.h",
+ MAME_DIR .. "src/devices/bus/vic20/user.cpp",
+ MAME_DIR .. "src/devices/bus/vic20/user.h",
+ MAME_DIR .. "src/devices/bus/vic20/4cga.cpp",
+ MAME_DIR .. "src/devices/bus/vic20/4cga.h",
+ MAME_DIR .. "src/devices/bus/vic20/vic1011.cpp",
+ MAME_DIR .. "src/devices/bus/vic20/vic1011.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/vidbrain/exp.h,BUSES["VIDBRAIN"] = true
+---------------------------------------------------
+
+if (BUSES["VIDBRAIN"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/vidbrain/exp.cpp",
+ MAME_DIR .. "src/devices/bus/vidbrain/exp.h",
+ MAME_DIR .. "src/devices/bus/vidbrain/std.cpp",
+ MAME_DIR .. "src/devices/bus/vidbrain/std.h",
+ MAME_DIR .. "src/devices/bus/vidbrain/money_minder.cpp",
+ MAME_DIR .. "src/devices/bus/vidbrain/money_minder.h",
+ MAME_DIR .. "src/devices/bus/vidbrain/timeshare.cpp",
+ MAME_DIR .. "src/devices/bus/vidbrain/timeshare.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/vip/byteio.h,BUSES["VIP"] = true
+--@src/devices/bus/vip/exp.h,BUSES["VIP"] = true
+---------------------------------------------------
+
+if (BUSES["VIP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/vip/byteio.cpp",
+ MAME_DIR .. "src/devices/bus/vip/byteio.h",
+ MAME_DIR .. "src/devices/bus/vip/vp620.cpp",
+ MAME_DIR .. "src/devices/bus/vip/vp620.h",
+ MAME_DIR .. "src/devices/bus/vip/exp.cpp",
+ MAME_DIR .. "src/devices/bus/vip/exp.h",
+ MAME_DIR .. "src/devices/bus/vip/vp550.cpp",
+ MAME_DIR .. "src/devices/bus/vip/vp550.h",
+ MAME_DIR .. "src/devices/bus/vip/vp570.cpp",
+ MAME_DIR .. "src/devices/bus/vip/vp570.h",
+ MAME_DIR .. "src/devices/bus/vip/vp575.cpp",
+ MAME_DIR .. "src/devices/bus/vip/vp575.h",
+ MAME_DIR .. "src/devices/bus/vip/vp585.cpp",
+ MAME_DIR .. "src/devices/bus/vip/vp585.h",
+ MAME_DIR .. "src/devices/bus/vip/vp590.cpp",
+ MAME_DIR .. "src/devices/bus/vip/vp590.h",
+ MAME_DIR .. "src/devices/bus/vip/vp595.cpp",
+ MAME_DIR .. "src/devices/bus/vip/vp595.h",
+ MAME_DIR .. "src/devices/bus/vip/vp700.cpp",
+ MAME_DIR .. "src/devices/bus/vip/vp700.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/vme/vme.h,BUSES["VME"] = true
+---------------------------------------------------
+
+if (BUSES["VME"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/vme/vme.cpp",
+ MAME_DIR .. "src/devices/bus/vme/vme.h",
+ MAME_DIR .. "src/devices/bus/vme/vme_mzr8300.cpp",
+ MAME_DIR .. "src/devices/bus/vme/vme_mzr8300.h",
+ MAME_DIR .. "src/devices/bus/vme/vme_mvme350.cpp",
+ MAME_DIR .. "src/devices/bus/vme/vme_mvme350.h",
+ MAME_DIR .. "src/devices/bus/vme/vme_fccpu20.cpp",
+ MAME_DIR .. "src/devices/bus/vme/vme_fccpu20.h",
+ MAME_DIR .. "src/devices/bus/vme/vme_fcisio.cpp",
+ MAME_DIR .. "src/devices/bus/vme/vme_fcisio.h",
+ MAME_DIR .. "src/devices/bus/vme/vme_fcscsi.cpp",
+ MAME_DIR .. "src/devices/bus/vme/vme_fcscsi.h",
+ MAME_DIR .. "src/devices/bus/vme/vme_hcpu30.cpp",
+ MAME_DIR .. "src/devices/bus/vme/vme_hcpu30.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/wangpc/wangpc.h,BUSES["WANGPC"] = true
+---------------------------------------------------
+
+if (BUSES["WANGPC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/wangpc/wangpc.cpp",
+ MAME_DIR .. "src/devices/bus/wangpc/wangpc.h",
+ MAME_DIR .. "src/devices/bus/wangpc/emb.cpp",
+ MAME_DIR .. "src/devices/bus/wangpc/emb.h",
+ MAME_DIR .. "src/devices/bus/wangpc/lic.cpp",
+ MAME_DIR .. "src/devices/bus/wangpc/lic.h",
+ MAME_DIR .. "src/devices/bus/wangpc/lvc.cpp",
+ MAME_DIR .. "src/devices/bus/wangpc/lvc.h",
+ MAME_DIR .. "src/devices/bus/wangpc/mcc.cpp",
+ MAME_DIR .. "src/devices/bus/wangpc/mcc.h",
+ MAME_DIR .. "src/devices/bus/wangpc/mvc.cpp",
+ MAME_DIR .. "src/devices/bus/wangpc/mvc.h",
+ MAME_DIR .. "src/devices/bus/wangpc/rtc.cpp",
+ MAME_DIR .. "src/devices/bus/wangpc/rtc.h",
+ MAME_DIR .. "src/devices/bus/wangpc/tig.cpp",
+ MAME_DIR .. "src/devices/bus/wangpc/tig.h",
+ MAME_DIR .. "src/devices/bus/wangpc/wdc.cpp",
+ MAME_DIR .. "src/devices/bus/wangpc/wdc.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/z88/z88.h,BUSES["Z88"] = true
+---------------------------------------------------
+
+if (BUSES["Z88"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/z88/z88.cpp",
+ MAME_DIR .. "src/devices/bus/z88/z88.h",
+ MAME_DIR .. "src/devices/bus/z88/flash.cpp",
+ MAME_DIR .. "src/devices/bus/z88/flash.h",
+ MAME_DIR .. "src/devices/bus/z88/ram.cpp",
+ MAME_DIR .. "src/devices/bus/z88/ram.h",
+ MAME_DIR .. "src/devices/bus/z88/rom.cpp",
+ MAME_DIR .. "src/devices/bus/z88/rom.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/a2bus/a2bus.h,BUSES["A2BUS"] = true
+---------------------------------------------------
+
+if (BUSES["A2BUS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/a2bus/a2bus.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2bus.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2diskii.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2diskii.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2mockingboard.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2mockingboard.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2cffa.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2cffa.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2memexp.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2memexp.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2scsi.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2scsi.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2thunderclock.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2thunderclock.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2softcard.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2softcard.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2videoterm.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2videoterm.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2ssc.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2ssc.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2swyft.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2swyft.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2eauxslot.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2eauxslot.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2themill.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2themill.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2sam.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2sam.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2alfam2.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2alfam2.h",
+ MAME_DIR .. "src/devices/bus/a2bus/laser128.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/laser128.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2echoii.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2echoii.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2arcadebd.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2arcadebd.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2midi.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2midi.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2vulcan.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2vulcan.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2zipdrive.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2zipdrive.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2applicard.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2applicard.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2hsscsi.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2hsscsi.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2ultraterm.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2ultraterm.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2pic.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2pic.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2estd80col.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2estd80col.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2eext80col.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2eext80col.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2eramworks3.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2eramworks3.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2corvus.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2corvus.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2diskiing.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2diskiing.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2mcms.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2mcms.h",
+ MAME_DIR .. "src/devices/bus/a2bus/a2dx1.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/a2dx1.h",
+ MAME_DIR .. "src/devices/bus/a2bus/timemasterho.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/timemasterho.h",
+ MAME_DIR .. "src/devices/bus/a2bus/mouse.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/mouse.h",
+ MAME_DIR .. "src/devices/bus/a2bus/corvfdc01.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/corvfdc01.h",
+ MAME_DIR .. "src/devices/bus/a2bus/corvfdc02.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/corvfdc02.h",
+ MAME_DIR .. "src/devices/bus/a2bus/ramcard16k.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/ramcard16k.h",
+ MAME_DIR .. "src/devices/bus/a2bus/ramcard128k.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/ramcard128k.h",
+ MAME_DIR .. "src/devices/bus/a2bus/ezcgi.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/ezcgi.h",
+ MAME_DIR .. "src/devices/bus/a2bus/pc_xporter.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/pc_xporter.h",
+ MAME_DIR .. "src/devices/bus/a2bus/agat7langcard.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/agat7langcard.h",
+ MAME_DIR .. "src/devices/bus/a2bus/agat7ports.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/agat7ports.h",
+ MAME_DIR .. "src/devices/bus/a2bus/agat7ram.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/agat7ram.h",
+ MAME_DIR .. "src/devices/bus/a2bus/agat840k_hle.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/agat840k_hle.h",
+ MAME_DIR .. "src/devices/bus/a2bus/ssprite.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/ssprite.h",
+ MAME_DIR .. "src/devices/bus/a2bus/ssbapple.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/ssbapple.h",
+ MAME_DIR .. "src/devices/bus/a2bus/transwarp.cpp",
+ MAME_DIR .. "src/devices/bus/a2bus/transwarp.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/a2gameio/gameio.h,BUSES["A2GAMEIO"] = true
+---------------------------------------------------
+
+if (BUSES["A2GAMEIO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/a2gameio/gameio.cpp",
+ MAME_DIR .. "src/devices/bus/a2gameio/gameio.h",
+ MAME_DIR .. "src/devices/bus/a2gameio/joystick.cpp",
+ MAME_DIR .. "src/devices/bus/a2gameio/joystick.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/nubus/nubus.h,BUSES["NUBUS"] = true
+---------------------------------------------------
+
+if (BUSES["NUBUS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/nubus/nubus.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/nubus.h",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_48gc.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_48gc.h",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_cb264.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_cb264.h",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_vikbw.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_vikbw.h",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_specpdq.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_specpdq.h",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_m2hires.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_m2hires.h",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_spec8.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_spec8.h",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_radiustpd.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_radiustpd.h",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_m2video.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_m2video.h",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_asntmc3b.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_asntmc3b.h",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_image.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_image.h",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_wsportrait.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/nubus_wsportrait.h",
+ MAME_DIR .. "src/devices/bus/nubus/bootbug.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/bootbug.h",
+ MAME_DIR .. "src/devices/bus/nubus/quadralink.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/quadralink.h",
+ MAME_DIR .. "src/devices/bus/nubus/pds30_cb264.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/pds30_cb264.h",
+ MAME_DIR .. "src/devices/bus/nubus/pds30_procolor816.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/pds30_procolor816.h",
+ MAME_DIR .. "src/devices/bus/nubus/pds30_sigmalview.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/pds30_sigmalview.h",
+ MAME_DIR .. "src/devices/bus/nubus/pds30_30hr.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/pds30_30hr.h",
+ MAME_DIR .. "src/devices/bus/nubus/pds30_mc30.cpp",
+ MAME_DIR .. "src/devices/bus/nubus/pds30_mc30.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/centronics/ctronics.h,BUSES["CENTRONICS"] = true
+---------------------------------------------------
+
+if (BUSES["CENTRONICS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/centronics/ctronics.cpp",
+ MAME_DIR .. "src/devices/bus/centronics/ctronics.h",
+ MAME_DIR .. "src/devices/bus/centronics/chessmec.cpp",
+ MAME_DIR .. "src/devices/bus/centronics/chessmec.h",
+ MAME_DIR .. "src/devices/bus/centronics/comxpl80.cpp",
+ MAME_DIR .. "src/devices/bus/centronics/comxpl80.h",
+ MAME_DIR .. "src/devices/bus/centronics/covox.cpp",
+ MAME_DIR .. "src/devices/bus/centronics/covox.h",
+ MAME_DIR .. "src/devices/bus/centronics/dsjoy.cpp",
+ MAME_DIR .. "src/devices/bus/centronics/dsjoy.h",
+ MAME_DIR .. "src/devices/bus/centronics/epson_ex800.cpp",
+ MAME_DIR .. "src/devices/bus/centronics/epson_ex800.h",
+ MAME_DIR .. "src/devices/bus/centronics/epson_lx800.cpp",
+ MAME_DIR .. "src/devices/bus/centronics/epson_lx800.h",
+ MAME_DIR .. "src/devices/bus/centronics/epson_lx810l.cpp",
+ MAME_DIR .. "src/devices/bus/centronics/epson_lx810l.h",
+ MAME_DIR .. "src/devices/bus/centronics/nec_p72.cpp",
+ MAME_DIR .. "src/devices/bus/centronics/nec_p72.h",
+ MAME_DIR .. "src/devices/bus/centronics/printer.cpp",
+ MAME_DIR .. "src/devices/bus/centronics/printer.h",
+ MAME_DIR .. "src/devices/bus/centronics/digiblst.cpp",
+ MAME_DIR .. "src/devices/bus/centronics/digiblst.h",
+ }
+
+ dependency {
+ { MAME_DIR .. "src/devices/bus/centronics/epson_ex800.cpp", GEN_DIR .. "emu/layout/ex800.lh" },
+ { MAME_DIR .. "src/devices/bus/centronics/epson_lx800.cpp", GEN_DIR .. "emu/layout/lx800.lh" },
+ { MAME_DIR .. "src/devices/bus/centronics/epson_lx810l.cpp", GEN_DIR .. "emu/layout/lx800.lh" },
+ }
+
+ custombuildtask {
+ layoutbuildtask("emu/layout", "ex800"),
+ layoutbuildtask("emu/layout", "lx800"),
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/rs232/rs232.h,BUSES["RS232"] = true
+---------------------------------------------------
+
+if (BUSES["RS232"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/rs232/keyboard.cpp",
+ MAME_DIR .. "src/devices/bus/rs232/keyboard.h",
+ MAME_DIR .. "src/devices/bus/rs232/loopback.cpp",
+ MAME_DIR .. "src/devices/bus/rs232/loopback.h",
+ MAME_DIR .. "src/devices/bus/rs232/null_modem.cpp",
+ MAME_DIR .. "src/devices/bus/rs232/null_modem.h",
+ MAME_DIR .. "src/devices/bus/rs232/printer.cpp",
+ MAME_DIR .. "src/devices/bus/rs232/printer.h",
+ MAME_DIR .. "src/devices/bus/rs232/rs232.cpp",
+ MAME_DIR .. "src/devices/bus/rs232/rs232.h",
+ MAME_DIR .. "src/devices/bus/rs232/pty.cpp",
+ MAME_DIR .. "src/devices/bus/rs232/pty.h",
+ MAME_DIR .. "src/devices/bus/rs232/hlemouse.cpp",
+ MAME_DIR .. "src/devices/bus/rs232/hlemouse.h",
+ MAME_DIR .. "src/devices/bus/rs232/sun_kbd.cpp",
+ MAME_DIR .. "src/devices/bus/rs232/sun_kbd.h",
+ MAME_DIR .. "src/devices/bus/rs232/terminal.cpp",
+ MAME_DIR .. "src/devices/bus/rs232/terminal.h",
+ MAME_DIR .. "src/devices/bus/rs232/xvd701.cpp",
+ MAME_DIR .. "src/devices/bus/rs232/xvd701.h",
+ MAME_DIR .. "src/devices/bus/rs232/ie15.cpp",
+ MAME_DIR .. "src/devices/bus/rs232/ie15.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/midi/midi.h,BUSES["MIDI"] = true
+---------------------------------------------------
+
+if (BUSES["MIDI"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/midi/midi.cpp",
+ MAME_DIR .. "src/devices/bus/midi/midi.h",
+ MAME_DIR .. "src/devices/bus/midi/midiinport.cpp",
+ MAME_DIR .. "src/devices/bus/midi/midiinport.h",
+ MAME_DIR .. "src/devices/bus/midi/midioutport.cpp",
+ MAME_DIR .. "src/devices/bus/midi/midioutport.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/lpci/pci.h,BUSES["LPCI"] = true
+---------------------------------------------------
+
+if (BUSES["LPCI"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/lpci/pci.cpp",
+ MAME_DIR .. "src/devices/bus/lpci/pci.h",
+ MAME_DIR .. "src/devices/bus/lpci/cirrus.cpp",
+ MAME_DIR .. "src/devices/bus/lpci/cirrus.h",
+ MAME_DIR .. "src/devices/bus/lpci/i82371ab.cpp",
+ MAME_DIR .. "src/devices/bus/lpci/i82371ab.h",
+ MAME_DIR .. "src/devices/bus/lpci/i82371sb.cpp",
+ MAME_DIR .. "src/devices/bus/lpci/i82371sb.h",
+ MAME_DIR .. "src/devices/bus/lpci/i82439tx.cpp",
+ MAME_DIR .. "src/devices/bus/lpci/i82439tx.h",
+ MAME_DIR .. "src/devices/bus/lpci/northbridge.cpp",
+ MAME_DIR .. "src/devices/bus/lpci/northbridge.h",
+ MAME_DIR .. "src/devices/bus/lpci/southbridge.cpp",
+ MAME_DIR .. "src/devices/bus/lpci/southbridge.h",
+ MAME_DIR .. "src/devices/bus/lpci/mpc105.cpp",
+ MAME_DIR .. "src/devices/bus/lpci/mpc105.h",
+ MAME_DIR .. "src/devices/bus/lpci/vt82c505.cpp",
+ MAME_DIR .. "src/devices/bus/lpci/vt82c505.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/nes/nes_slot.h,BUSES["NES"] = true
+---------------------------------------------------
+
+if (BUSES["NES"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/nes/nes_slot.cpp",
+ MAME_DIR .. "src/devices/bus/nes/nes_slot.h",
+ MAME_DIR .. "src/devices/bus/nes/nes_ines.hxx",
+ MAME_DIR .. "src/devices/bus/nes/nes_pcb.hxx",
+ MAME_DIR .. "src/devices/bus/nes/nes_unif.hxx",
+ MAME_DIR .. "src/devices/bus/nes/nes_carts.cpp",
+ MAME_DIR .. "src/devices/bus/nes/nes_carts.h",
+ MAME_DIR .. "src/devices/bus/nes/2a03pur.cpp",
+ MAME_DIR .. "src/devices/bus/nes/2a03pur.h",
+ MAME_DIR .. "src/devices/bus/nes/act53.cpp",
+ MAME_DIR .. "src/devices/bus/nes/act53.h",
+ MAME_DIR .. "src/devices/bus/nes/aladdin.cpp",
+ MAME_DIR .. "src/devices/bus/nes/aladdin.h",
+ MAME_DIR .. "src/devices/bus/nes/ave.cpp",
+ MAME_DIR .. "src/devices/bus/nes/ave.h",
+ MAME_DIR .. "src/devices/bus/nes/bandai.cpp",
+ MAME_DIR .. "src/devices/bus/nes/bandai.h",
+ MAME_DIR .. "src/devices/bus/nes/benshieng.cpp",
+ MAME_DIR .. "src/devices/bus/nes/benshieng.h",
+ MAME_DIR .. "src/devices/bus/nes/bootleg.cpp",
+ MAME_DIR .. "src/devices/bus/nes/bootleg.h",
+ MAME_DIR .. "src/devices/bus/nes/camerica.cpp",
+ MAME_DIR .. "src/devices/bus/nes/camerica.h",
+ MAME_DIR .. "src/devices/bus/nes/cne.cpp",
+ MAME_DIR .. "src/devices/bus/nes/cne.h",
+ MAME_DIR .. "src/devices/bus/nes/cony.cpp",
+ MAME_DIR .. "src/devices/bus/nes/cony.h",
+ MAME_DIR .. "src/devices/bus/nes/datach.cpp",
+ MAME_DIR .. "src/devices/bus/nes/datach.h",
+ MAME_DIR .. "src/devices/bus/nes/discrete.cpp",
+ MAME_DIR .. "src/devices/bus/nes/discrete.h",
+ MAME_DIR .. "src/devices/bus/nes/disksys.cpp",
+ MAME_DIR .. "src/devices/bus/nes/disksys.h",
+ MAME_DIR .. "src/devices/bus/nes/event.cpp",
+ MAME_DIR .. "src/devices/bus/nes/event.h",
+ MAME_DIR .. "src/devices/bus/nes/ggenie.cpp",
+ MAME_DIR .. "src/devices/bus/nes/ggenie.h",
+ MAME_DIR .. "src/devices/bus/nes/henggedianzi.cpp",
+ MAME_DIR .. "src/devices/bus/nes/henggedianzi.h",
+ MAME_DIR .. "src/devices/bus/nes/hes.cpp",
+ MAME_DIR .. "src/devices/bus/nes/hes.h",
+ MAME_DIR .. "src/devices/bus/nes/hosenkan.cpp",
+ MAME_DIR .. "src/devices/bus/nes/hosenkan.h",
+ MAME_DIR .. "src/devices/bus/nes/irem.cpp",
+ MAME_DIR .. "src/devices/bus/nes/irem.h",
+ MAME_DIR .. "src/devices/bus/nes/jaleco.cpp",
+ MAME_DIR .. "src/devices/bus/nes/jaleco.h",
+ MAME_DIR .. "src/devices/bus/nes/jy.cpp",
+ MAME_DIR .. "src/devices/bus/nes/jy.h",
+ MAME_DIR .. "src/devices/bus/nes/kaiser.cpp",
+ MAME_DIR .. "src/devices/bus/nes/kaiser.h",
+ MAME_DIR .. "src/devices/bus/nes/karastudio.cpp",
+ MAME_DIR .. "src/devices/bus/nes/karastudio.h",
+ MAME_DIR .. "src/devices/bus/nes/konami.cpp",
+ MAME_DIR .. "src/devices/bus/nes/konami.h",
+ MAME_DIR .. "src/devices/bus/nes/legacy.cpp",
+ MAME_DIR .. "src/devices/bus/nes/legacy.h",
+ MAME_DIR .. "src/devices/bus/nes/mmc1.cpp",
+ MAME_DIR .. "src/devices/bus/nes/mmc1.h",
+ MAME_DIR .. "src/devices/bus/nes/mmc2.cpp",
+ MAME_DIR .. "src/devices/bus/nes/mmc2.h",
+ MAME_DIR .. "src/devices/bus/nes/mmc3.cpp",
+ MAME_DIR .. "src/devices/bus/nes/mmc3.h",
+ MAME_DIR .. "src/devices/bus/nes/mmc3_clones.cpp",
+ MAME_DIR .. "src/devices/bus/nes/mmc3_clones.h",
+ MAME_DIR .. "src/devices/bus/nes/mmc5.cpp",
+ MAME_DIR .. "src/devices/bus/nes/mmc5.h",
+ MAME_DIR .. "src/devices/bus/nes/multigame.cpp",
+ MAME_DIR .. "src/devices/bus/nes/multigame.h",
+ MAME_DIR .. "src/devices/bus/nes/namcot.cpp",
+ MAME_DIR .. "src/devices/bus/nes/namcot.h",
+ MAME_DIR .. "src/devices/bus/nes/nanjing.cpp",
+ MAME_DIR .. "src/devices/bus/nes/nanjing.h",
+ MAME_DIR .. "src/devices/bus/nes/ntdec.cpp",
+ MAME_DIR .. "src/devices/bus/nes/ntdec.h",
+ MAME_DIR .. "src/devices/bus/nes/nxrom.cpp",
+ MAME_DIR .. "src/devices/bus/nes/nxrom.h",
+ MAME_DIR .. "src/devices/bus/nes/pirate.cpp",
+ MAME_DIR .. "src/devices/bus/nes/pirate.h",
+ MAME_DIR .. "src/devices/bus/nes/pt554.cpp",
+ MAME_DIR .. "src/devices/bus/nes/pt554.h",
+ MAME_DIR .. "src/devices/bus/nes/racermate.cpp",
+ MAME_DIR .. "src/devices/bus/nes/racermate.h",
+ MAME_DIR .. "src/devices/bus/nes/rcm.cpp",
+ MAME_DIR .. "src/devices/bus/nes/rcm.h",
+ MAME_DIR .. "src/devices/bus/nes/rexsoft.cpp",
+ MAME_DIR .. "src/devices/bus/nes/rexsoft.h",
+ MAME_DIR .. "src/devices/bus/nes/sachen.cpp",
+ MAME_DIR .. "src/devices/bus/nes/sachen.h",
+ MAME_DIR .. "src/devices/bus/nes/somari.cpp",
+ MAME_DIR .. "src/devices/bus/nes/somari.h",
+ MAME_DIR .. "src/devices/bus/nes/subor.cpp",
+ MAME_DIR .. "src/devices/bus/nes/subor.h",
+ MAME_DIR .. "src/devices/bus/nes/sunsoft.cpp",
+ MAME_DIR .. "src/devices/bus/nes/sunsoft.h",
+ MAME_DIR .. "src/devices/bus/nes/sunsoft_dcs.cpp",
+ MAME_DIR .. "src/devices/bus/nes/sunsoft_dcs.h",
+ MAME_DIR .. "src/devices/bus/nes/taito.cpp",
+ MAME_DIR .. "src/devices/bus/nes/taito.h",
+ MAME_DIR .. "src/devices/bus/nes/tengen.cpp",
+ MAME_DIR .. "src/devices/bus/nes/tengen.h",
+ MAME_DIR .. "src/devices/bus/nes/txc.cpp",
+ MAME_DIR .. "src/devices/bus/nes/txc.h",
+ MAME_DIR .. "src/devices/bus/nes/waixing.cpp",
+ MAME_DIR .. "src/devices/bus/nes/waixing.h",
+ MAME_DIR .. "src/devices/bus/nes/zemina.cpp",
+ MAME_DIR .. "src/devices/bus/nes/zemina.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/nes_ctrl/ctrl.h,BUSES["NES_CTRL"] = true
+---------------------------------------------------
+
+if (BUSES["NES_CTRL"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/nes_ctrl/ctrl.cpp",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/ctrl.h",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/joypad.cpp",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/joypad.h",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/4score.cpp",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/4score.h",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/arkpaddle.cpp",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/arkpaddle.h",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/bcbattle.cpp",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/bcbattle.h",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/ftrainer.cpp",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/ftrainer.h",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/fckeybrd.cpp",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/fckeybrd.h",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/hori.cpp",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/hori.h",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/konamihs.cpp",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/konamihs.h",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/miracle.cpp",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/miracle.h",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/mjpanel.cpp",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/mjpanel.h",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/pachinko.cpp",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/pachinko.h",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/partytap.cpp",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/partytap.h",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/powerpad.cpp",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/powerpad.h",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/suborkey.cpp",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/suborkey.h",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/zapper.cpp",
+ MAME_DIR .. "src/devices/bus/nes_ctrl/zapper.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/snes/snes_slot.h,BUSES["SNES"] = true
+---------------------------------------------------
+
+if (BUSES["SNES"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/snes/snes_slot.cpp",
+ MAME_DIR .. "src/devices/bus/snes/snes_slot.h",
+ MAME_DIR .. "src/devices/bus/snes/snes_carts.cpp",
+ MAME_DIR .. "src/devices/bus/snes/snes_carts.h",
+ MAME_DIR .. "src/devices/bus/snes/bsx.cpp",
+ MAME_DIR .. "src/devices/bus/snes/bsx.h",
+ MAME_DIR .. "src/devices/bus/snes/event.cpp",
+ MAME_DIR .. "src/devices/bus/snes/event.h",
+ MAME_DIR .. "src/devices/bus/snes/rom.cpp",
+ MAME_DIR .. "src/devices/bus/snes/rom.h",
+ MAME_DIR .. "src/devices/bus/snes/rom21.cpp",
+ MAME_DIR .. "src/devices/bus/snes/rom21.h",
+ MAME_DIR .. "src/devices/bus/snes/sa1.cpp",
+ MAME_DIR .. "src/devices/bus/snes/sa1.h",
+ MAME_DIR .. "src/devices/bus/snes/sdd1.cpp",
+ MAME_DIR .. "src/devices/bus/snes/sdd1.h",
+ MAME_DIR .. "src/devices/bus/snes/sfx.cpp",
+ MAME_DIR .. "src/devices/bus/snes/sfx.h",
+ MAME_DIR .. "src/devices/bus/snes/sgb.cpp",
+ MAME_DIR .. "src/devices/bus/snes/sgb.h",
+ MAME_DIR .. "src/devices/bus/snes/spc7110.cpp",
+ MAME_DIR .. "src/devices/bus/snes/spc7110.h",
+ MAME_DIR .. "src/devices/bus/snes/sufami.cpp",
+ MAME_DIR .. "src/devices/bus/snes/sufami.h",
+ MAME_DIR .. "src/devices/bus/snes/upd.cpp",
+ MAME_DIR .. "src/devices/bus/snes/upd.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/snes_ctrl/ctrl.h,BUSES["SNES_CTRL"] = true
+---------------------------------------------------
+
+if (BUSES["SNES_CTRL"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/snes_ctrl/ctrl.cpp",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/ctrl.h",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/bcbattle.cpp",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/bcbattle.h",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/joypad.cpp",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/joypad.h",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/miracle.cpp",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/miracle.h",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/mouse.cpp",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/mouse.h",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/multitap.cpp",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/multitap.h",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/pachinko.cpp",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/pachinko.h",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/sscope.cpp",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/sscope.h",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/twintap.cpp",
+ MAME_DIR .. "src/devices/bus/snes_ctrl/twintap.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/vboy/slot.h,BUSES["VBOY"] = true
+---------------------------------------------------
+if (BUSES["VBOY"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/vboy/slot.cpp",
+ MAME_DIR .. "src/devices/bus/vboy/slot.h",
+ MAME_DIR .. "src/devices/bus/vboy/rom.cpp",
+ MAME_DIR .. "src/devices/bus/vboy/rom.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/megadrive/md_slot.h,BUSES["MEGADRIVE"] = true
+---------------------------------------------------
+
+if (BUSES["MEGADRIVE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/megadrive/md_slot.cpp",
+ MAME_DIR .. "src/devices/bus/megadrive/md_slot.h",
+ MAME_DIR .. "src/devices/bus/megadrive/md_carts.cpp",
+ MAME_DIR .. "src/devices/bus/megadrive/md_carts.h",
+ MAME_DIR .. "src/devices/bus/megadrive/eeprom.cpp",
+ MAME_DIR .. "src/devices/bus/megadrive/eeprom.h",
+ MAME_DIR .. "src/devices/bus/megadrive/ggenie.cpp",
+ MAME_DIR .. "src/devices/bus/megadrive/ggenie.h",
+ MAME_DIR .. "src/devices/bus/megadrive/jcart.cpp",
+ MAME_DIR .. "src/devices/bus/megadrive/jcart.h",
+ MAME_DIR .. "src/devices/bus/megadrive/rom.cpp",
+ MAME_DIR .. "src/devices/bus/megadrive/rom.h",
+ MAME_DIR .. "src/devices/bus/megadrive/sk.cpp",
+ MAME_DIR .. "src/devices/bus/megadrive/sk.h",
+ MAME_DIR .. "src/devices/bus/megadrive/stm95.cpp",
+ MAME_DIR .. "src/devices/bus/megadrive/stm95.h",
+ MAME_DIR .. "src/devices/bus/megadrive/svp.cpp",
+ MAME_DIR .. "src/devices/bus/megadrive/svp.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/neogeo/slot.h,BUSES["NEOGEO"] = true
+---------------------------------------------------
+
+if (BUSES["NEOGEO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/neogeo/slot.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/slot.h",
+ MAME_DIR .. "src/devices/bus/neogeo/carts.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/carts.h",
+ MAME_DIR .. "src/devices/bus/neogeo/rom.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/rom.h",
+ MAME_DIR .. "src/devices/bus/neogeo/fatfury2.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/fatfury2.h",
+ MAME_DIR .. "src/devices/bus/neogeo/kof98.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/kof98.h",
+ MAME_DIR .. "src/devices/bus/neogeo/mslugx.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/mslugx.h",
+ MAME_DIR .. "src/devices/bus/neogeo/cmc.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/cmc.h",
+ MAME_DIR .. "src/devices/bus/neogeo/sma.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/sma.h",
+ MAME_DIR .. "src/devices/bus/neogeo/pcm2.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/pcm2.h",
+ MAME_DIR .. "src/devices/bus/neogeo/kof2k2.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/kof2k2.h",
+ MAME_DIR .. "src/devices/bus/neogeo/pvc.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/pvc.h",
+ MAME_DIR .. "src/devices/bus/neogeo/boot_cthd.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/boot_cthd.h",
+ MAME_DIR .. "src/devices/bus/neogeo/boot_misc.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/boot_misc.h",
+ MAME_DIR .. "src/devices/bus/neogeo/boot_svc.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/boot_svc.h",
+ MAME_DIR .. "src/devices/bus/neogeo/boot_kof2k2.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/boot_kof2k2.h",
+ MAME_DIR .. "src/devices/bus/neogeo/boot_kof2k3.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/boot_kof2k3.h",
+ MAME_DIR .. "src/devices/bus/neogeo/sbp.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/sbp.h",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_fatfury2.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_fatfury2.h",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_kof98.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_kof98.h",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_mslugx.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_mslugx.h",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_cmc.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_cmc.h",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_sma.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_sma.h",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_pcm2.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_pcm2.h",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_kof2k2.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_kof2k2.h",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_pvc.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_pvc.h",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_cthd.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_cthd.h",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_kof2k3bl.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_kof2k3bl.h",
+ MAME_DIR .. "src/devices/bus/neogeo/boot_kof10th.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/boot_kof10th.h",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_misc.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo/prot_misc.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/bus/neogeo_ctrl/ctrl.h,BUSES["NEOGEO_CTRL"] = true
+---------------------------------------------------
+
+if (BUSES["NEOGEO_CTRL"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/neogeo_ctrl/ctrl.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo_ctrl/ctrl.h",
+ MAME_DIR .. "src/devices/bus/neogeo_ctrl/joystick.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo_ctrl/joystick.h",
+ MAME_DIR .. "src/devices/bus/neogeo_ctrl/mahjong.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo_ctrl/mahjong.h",
+ MAME_DIR .. "src/devices/bus/neogeo_ctrl/dial.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo_ctrl/dial.h",
+ MAME_DIR .. "src/devices/bus/neogeo_ctrl/irrmaze.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo_ctrl/irrmaze.h",
+ MAME_DIR .. "src/devices/bus/neogeo_ctrl/kizuna4p.cpp",
+ MAME_DIR .. "src/devices/bus/neogeo_ctrl/kizuna4p.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/sat_ctrl/ctrl.h,BUSES["SAT_CTRL"] = true
+---------------------------------------------------
+
+if (BUSES["SAT_CTRL"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/sat_ctrl/ctrl.cpp",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/ctrl.h",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/analog.cpp",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/analog.h",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/joy.cpp",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/joy.h",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/joy_md.cpp",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/joy_md.h",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/keybd.cpp",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/keybd.h",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/mouse.cpp",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/mouse.h",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/multitap.cpp",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/multitap.h",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/pointer.cpp",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/pointer.h",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/racing.cpp",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/racing.h",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/segatap.cpp",
+ MAME_DIR .. "src/devices/bus/sat_ctrl/segatap.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/saturn/sat_slot.h,BUSES["SATURN"] = true
+---------------------------------------------------
+
+if (BUSES["SATURN"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/saturn/sat_slot.cpp",
+ MAME_DIR .. "src/devices/bus/saturn/sat_slot.h",
+ MAME_DIR .. "src/devices/bus/saturn/bram.cpp",
+ MAME_DIR .. "src/devices/bus/saturn/bram.h",
+ MAME_DIR .. "src/devices/bus/saturn/dram.cpp",
+ MAME_DIR .. "src/devices/bus/saturn/dram.h",
+ MAME_DIR .. "src/devices/bus/saturn/rom.cpp",
+ MAME_DIR .. "src/devices/bus/saturn/rom.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/sega8/sega8_slot.h,BUSES["SEGA8"] = true
+---------------------------------------------------
+
+if (BUSES["SEGA8"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/sega8/sega8_slot.cpp",
+ MAME_DIR .. "src/devices/bus/sega8/sega8_slot.h",
+ MAME_DIR .. "src/devices/bus/sega8/rom.cpp",
+ MAME_DIR .. "src/devices/bus/sega8/rom.h",
+ MAME_DIR .. "src/devices/bus/sega8/ccatch.cpp",
+ MAME_DIR .. "src/devices/bus/sega8/ccatch.h",
+ MAME_DIR .. "src/devices/bus/sega8/mgear.cpp",
+ MAME_DIR .. "src/devices/bus/sega8/mgear.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/sg1000_exp/sg1000exp.h,BUSES["SG1000_EXP"] = true
+---------------------------------------------------
+
+if (BUSES["SG1000_EXP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/sg1000_exp/sg1000exp.cpp",
+ MAME_DIR .. "src/devices/bus/sg1000_exp/sg1000exp.h",
+ MAME_DIR .. "src/devices/bus/sg1000_exp/fm_unit.cpp",
+ MAME_DIR .. "src/devices/bus/sg1000_exp/fm_unit.h",
+ MAME_DIR .. "src/devices/bus/sg1000_exp/sk1100.cpp",
+ MAME_DIR .. "src/devices/bus/sg1000_exp/sk1100.h",
+ MAME_DIR .. "src/devices/bus/sg1000_exp/sk1100prn.cpp",
+ MAME_DIR .. "src/devices/bus/sg1000_exp/sk1100prn.h",
+ MAME_DIR .. "src/devices/bus/sg1000_exp/kblink.cpp",
+ MAME_DIR .. "src/devices/bus/sg1000_exp/kblink.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/sms_ctrl/smsctrl.h,BUSES["SMS_CTRL"] = true
+---------------------------------------------------
+
+if (BUSES["SMS_CTRL"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/sms_ctrl/smsctrl.cpp",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/smsctrl.h",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/joypad.cpp",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/joypad.h",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/lphaser.cpp",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/lphaser.h",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/paddle.cpp",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/paddle.h",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/rfu.cpp",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/rfu.h",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/sports.cpp",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/sports.h",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/sportsjp.cpp",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/sportsjp.h",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/multitap.cpp",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/multitap.h",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/graphic.cpp",
+ MAME_DIR .. "src/devices/bus/sms_ctrl/graphic.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/sms_exp/smsexp.h,BUSES["SMS_EXP"] = true
+---------------------------------------------------
+
+if (BUSES["SMS_EXP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/sms_exp/smsexp.cpp",
+ MAME_DIR .. "src/devices/bus/sms_exp/smsexp.h",
+ MAME_DIR .. "src/devices/bus/sms_exp/gender.cpp",
+ MAME_DIR .. "src/devices/bus/sms_exp/gender.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/ti8x/ti8x.h,BUSES["TI8X"] = true
+---------------------------------------------------
+
+if (BUSES["TI8X"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/ti8x/bitsocket.cpp",
+ MAME_DIR .. "src/devices/bus/ti8x/bitsocket.h",
+ MAME_DIR .. "src/devices/bus/ti8x/graphlinkhle.cpp",
+ MAME_DIR .. "src/devices/bus/ti8x/graphlinkhle.h",
+ MAME_DIR .. "src/devices/bus/ti8x/teeconn.cpp",
+ MAME_DIR .. "src/devices/bus/ti8x/teeconn.h",
+ MAME_DIR .. "src/devices/bus/ti8x/ti8x.cpp",
+ MAME_DIR .. "src/devices/bus/ti8x/ti8x.h",
+ MAME_DIR .. "src/devices/bus/ti8x/tispeaker.cpp",
+ MAME_DIR .. "src/devices/bus/ti8x/tispeaker.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/ti99x/990_dk.h,BUSES["TI99X"] = true
+--@src/devices/bus/ti99x/990_tap.h,BUSES["TI99X"] = true
+--@src/devices/bus/ti99x/990_hd.h,BUSES["TI99X"] = true
+---------------------------------------------------
+
+if (BUSES["TI99X"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/ti99x/990_dk.cpp",
+ MAME_DIR .. "src/devices/bus/ti99x/990_dk.h",
+ MAME_DIR .. "src/devices/bus/ti99x/990_hd.cpp",
+ MAME_DIR .. "src/devices/bus/ti99x/990_hd.h",
+ MAME_DIR .. "src/devices/bus/ti99x/990_tap.cpp",
+ MAME_DIR .. "src/devices/bus/ti99x/990_tap.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/ti99/colorbus/colorbus.h,BUSES["TI99"] = true
+--@src/devices/bus/ti99/gromport/cartridges.h,BUSES["TI99"] = true
+--@src/devices/bus/ti99/joyport/joyport.h,BUSES["TI99"] = true
+--@src/devices/bus/ti99/peb/peribox.h,BUSES["TI99"] = true
+--@src/devices/bus/ti99/internal/genboard.h,BUSES["TI99"] = true
+---------------------------------------------------
+
+if (BUSES["TI99"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/ti99/ti99defs.h",
+ MAME_DIR .. "src/devices/bus/ti99/internal/992board.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/internal/992board.h",
+ MAME_DIR .. "src/devices/bus/ti99/internal/998board.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/internal/998board.h",
+ MAME_DIR .. "src/devices/bus/ti99/internal/datamux.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/internal/datamux.h",
+ MAME_DIR .. "src/devices/bus/ti99/internal/evpcconn.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/internal/evpcconn.h",
+ MAME_DIR .. "src/devices/bus/ti99/internal/genboard.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/internal/genboard.h",
+ MAME_DIR .. "src/devices/bus/ti99/internal/ioport.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/internal/ioport.h",
+ MAME_DIR .. "src/devices/bus/ti99/colorbus/busmouse.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/colorbus/busmouse.h",
+ MAME_DIR .. "src/devices/bus/ti99/colorbus/colorbus.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/colorbus/colorbus.h",
+ MAME_DIR .. "src/devices/bus/ti99/gromport/gromport.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/gromport/gromport.h",
+ MAME_DIR .. "src/devices/bus/ti99/gromport/cartridges.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/gromport/cartridges.h",
+ MAME_DIR .. "src/devices/bus/ti99/gromport/gkracker.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/gromport/gkracker.h",
+ MAME_DIR .. "src/devices/bus/ti99/gromport/multiconn.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/gromport/multiconn.h",
+ MAME_DIR .. "src/devices/bus/ti99/gromport/singleconn.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/gromport/singleconn.h",
+ MAME_DIR .. "src/devices/bus/ti99/joyport/handset.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/joyport/handset.h",
+ MAME_DIR .. "src/devices/bus/ti99/joyport/joyport.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/joyport/joyport.h",
+ MAME_DIR .. "src/devices/bus/ti99/joyport/mecmouse.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/joyport/mecmouse.h",
+ MAME_DIR .. "src/devices/bus/ti99/peb/peribox.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/peb/peribox.h",
+ MAME_DIR .. "src/devices/bus/ti99/peb/bwg.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/peb/bwg.h",
+ MAME_DIR .. "src/devices/bus/ti99/peb/evpc.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/peb/evpc.h",
+ MAME_DIR .. "src/devices/bus/ti99/peb/hfdc.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/peb/hfdc.h",
+ MAME_DIR .. "src/devices/bus/ti99/peb/horizon.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/peb/horizon.h",
+ MAME_DIR .. "src/devices/bus/ti99/peb/hsgpl.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/peb/hsgpl.h",
+ MAME_DIR .. "src/devices/bus/ti99/peb/memex.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/peb/memex.h",
+ MAME_DIR .. "src/devices/bus/ti99/peb/myarcmem.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/peb/myarcmem.h",
+ MAME_DIR .. "src/devices/bus/ti99/peb/pcode.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/peb/pcode.h",
+ MAME_DIR .. "src/devices/bus/ti99/peb/samsmem.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/peb/samsmem.h",
+ MAME_DIR .. "src/devices/bus/ti99/peb/spchsyn.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/peb/spchsyn.h",
+ MAME_DIR .. "src/devices/bus/ti99/peb/ti_32kmem.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/peb/ti_32kmem.h",
+ MAME_DIR .. "src/devices/bus/ti99/peb/ti_fdc.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/peb/ti_fdc.h",
+ MAME_DIR .. "src/devices/bus/ti99/peb/ti_rs232.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/peb/ti_rs232.h",
+ MAME_DIR .. "src/devices/bus/ti99/peb/tn_ide.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/peb/tn_ide.h",
+ MAME_DIR .. "src/devices/bus/ti99/peb/tn_usbsm.cpp",
+ MAME_DIR .. "src/devices/bus/ti99/peb/tn_usbsm.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/gameboy/gb_slot.h,BUSES["GAMEBOY"] = true
+---------------------------------------------------
+
+if (BUSES["GAMEBOY"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/gameboy/gb_slot.cpp",
+ MAME_DIR .. "src/devices/bus/gameboy/gb_slot.h",
+ MAME_DIR .. "src/devices/bus/gameboy/rom.cpp",
+ MAME_DIR .. "src/devices/bus/gameboy/rom.h",
+ MAME_DIR .. "src/devices/bus/gameboy/mbc.cpp",
+ MAME_DIR .. "src/devices/bus/gameboy/mbc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/gamegear/ggext.h,BUSES["GAMEGEAR"] = true
+---------------------------------------------------
+
+if (BUSES["GAMEGEAR"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/gamegear/ggext.cpp",
+ MAME_DIR .. "src/devices/bus/gamegear/ggext.h",
+ MAME_DIR .. "src/devices/bus/gamegear/smsctrladp.cpp",
+ MAME_DIR .. "src/devices/bus/gamegear/smsctrladp.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/gba/gba_slot.h,BUSES["GBA"] = true
+---------------------------------------------------
+
+if (BUSES["GBA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/gba/gba_slot.cpp",
+ MAME_DIR .. "src/devices/bus/gba/gba_slot.h",
+ MAME_DIR .. "src/devices/bus/gba/rom.cpp",
+ MAME_DIR .. "src/devices/bus/gba/rom.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/bml3/bml3bus.h,BUSES["BML3"] = true
+---------------------------------------------------
+if (BUSES["BML3"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/bml3/bml3bus.cpp",
+ MAME_DIR .. "src/devices/bus/bml3/bml3bus.h",
+ MAME_DIR .. "src/devices/bus/bml3/bml3mp1802.cpp",
+ MAME_DIR .. "src/devices/bus/bml3/bml3mp1802.h",
+ MAME_DIR .. "src/devices/bus/bml3/bml3mp1805.cpp",
+ MAME_DIR .. "src/devices/bus/bml3/bml3mp1805.h",
+ MAME_DIR .. "src/devices/bus/bml3/bml3kanji.cpp",
+ MAME_DIR .. "src/devices/bus/bml3/bml3kanji.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/coco/cococart.h,BUSES["COCO"] = true
+---------------------------------------------------
+if (BUSES["COCO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/coco/cococart.cpp",
+ MAME_DIR .. "src/devices/bus/coco/cococart.h",
+ MAME_DIR .. "src/devices/bus/coco/coco_rs232.cpp",
+ MAME_DIR .. "src/devices/bus/coco/coco_rs232.h",
+ MAME_DIR .. "src/devices/bus/coco/coco_dcmodem.cpp",
+ MAME_DIR .. "src/devices/bus/coco/coco_dcmodem.h",
+ MAME_DIR .. "src/devices/bus/coco/coco_orch90.cpp",
+ MAME_DIR .. "src/devices/bus/coco/coco_orch90.h",
+ MAME_DIR .. "src/devices/bus/coco/coco_ssc.cpp",
+ MAME_DIR .. "src/devices/bus/coco/coco_ssc.h",
+ MAME_DIR .. "src/devices/bus/coco/coco_pak.cpp",
+ MAME_DIR .. "src/devices/bus/coco/coco_pak.h",
+ MAME_DIR .. "src/devices/bus/coco/coco_fdc.cpp",
+ MAME_DIR .. "src/devices/bus/coco/coco_fdc.h",
+ MAME_DIR .. "src/devices/bus/coco/coco_gmc.cpp",
+ MAME_DIR .. "src/devices/bus/coco/coco_gmc.h",
+ MAME_DIR .. "src/devices/bus/coco/coco_multi.cpp",
+ MAME_DIR .. "src/devices/bus/coco/coco_multi.h",
+ MAME_DIR .. "src/devices/bus/coco/coco_dwsock.cpp",
+ MAME_DIR .. "src/devices/bus/coco/coco_dwsock.h",
+ MAME_DIR .. "src/devices/bus/coco/coco_t4426.cpp",
+ MAME_DIR .. "src/devices/bus/coco/coco_t4426.h",
+ MAME_DIR .. "src/devices/bus/coco/dragon_fdc.cpp",
+ MAME_DIR .. "src/devices/bus/coco/dragon_fdc.h",
+ MAME_DIR .. "src/devices/bus/coco/dragon_jcbsnd.cpp",
+ MAME_DIR .. "src/devices/bus/coco/dragon_jcbsnd.h",
+ MAME_DIR .. "src/devices/bus/coco/dragon_sprites.cpp",
+ MAME_DIR .. "src/devices/bus/coco/dragon_sprites.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/cpc/cpcexp.h,BUSES["CPC"] = true
+---------------------------------------------------
+if (BUSES["CPC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/cpc/cpcexp.cpp",
+ MAME_DIR .. "src/devices/bus/cpc/cpcexp.h",
+ MAME_DIR .. "src/devices/bus/cpc/cpc_ssa1.cpp",
+ MAME_DIR .. "src/devices/bus/cpc/cpc_ssa1.h",
+ MAME_DIR .. "src/devices/bus/cpc/cpc_rom.cpp",
+ MAME_DIR .. "src/devices/bus/cpc/cpc_rom.h",
+ MAME_DIR .. "src/devices/bus/cpc/cpc_pds.cpp",
+ MAME_DIR .. "src/devices/bus/cpc/cpc_pds.h",
+ MAME_DIR .. "src/devices/bus/cpc/cpc_rs232.cpp",
+ MAME_DIR .. "src/devices/bus/cpc/cpc_rs232.h",
+ MAME_DIR .. "src/devices/bus/cpc/mface2.cpp",
+ MAME_DIR .. "src/devices/bus/cpc/mface2.h",
+ MAME_DIR .. "src/devices/bus/cpc/symbfac2.cpp",
+ MAME_DIR .. "src/devices/bus/cpc/symbfac2.h",
+ MAME_DIR .. "src/devices/bus/cpc/amdrum.cpp",
+ MAME_DIR .. "src/devices/bus/cpc/amdrum.h",
+ MAME_DIR .. "src/devices/bus/cpc/playcity.cpp",
+ MAME_DIR .. "src/devices/bus/cpc/playcity.h",
+ MAME_DIR .. "src/devices/bus/cpc/smartwatch.cpp",
+ MAME_DIR .. "src/devices/bus/cpc/smartwatch.h",
+ MAME_DIR .. "src/devices/bus/cpc/brunword4.cpp",
+ MAME_DIR .. "src/devices/bus/cpc/brunword4.h",
+ MAME_DIR .. "src/devices/bus/cpc/hd20.cpp",
+ MAME_DIR .. "src/devices/bus/cpc/hd20.h",
+ MAME_DIR .. "src/devices/bus/cpc/ddi1.cpp",
+ MAME_DIR .. "src/devices/bus/cpc/ddi1.h",
+ MAME_DIR .. "src/devices/bus/cpc/magicsound.cpp",
+ MAME_DIR .. "src/devices/bus/cpc/magicsound.h",
+ MAME_DIR .. "src/devices/bus/cpc/doubler.cpp",
+ MAME_DIR .. "src/devices/bus/cpc/doubler.h",
+ MAME_DIR .. "src/devices/bus/cpc/transtape.cpp",
+ MAME_DIR .. "src/devices/bus/cpc/transtape.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/epson_sio/epson_sio.h,BUSES["EPSON_SIO"] = true
+---------------------------------------------------
+if (BUSES["EPSON_SIO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/epson_sio/epson_sio.cpp",
+ MAME_DIR .. "src/devices/bus/epson_sio/epson_sio.h",
+ MAME_DIR .. "src/devices/bus/epson_sio/pf10.cpp",
+ MAME_DIR .. "src/devices/bus/epson_sio/pf10.h",
+ MAME_DIR .. "src/devices/bus/epson_sio/tf20.cpp",
+ MAME_DIR .. "src/devices/bus/epson_sio/tf20.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/pce/pce_slot.h,BUSES["PCE"] = true
+---------------------------------------------------
+if (BUSES["PCE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/pce/pce_slot.cpp",
+ MAME_DIR .. "src/devices/bus/pce/pce_slot.h",
+ MAME_DIR .. "src/devices/bus/pce/pce_rom.cpp",
+ MAME_DIR .. "src/devices/bus/pce/pce_rom.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/scv/slot.h,BUSES["SCV"] = true
+---------------------------------------------------
+if (BUSES["SCV"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/scv/slot.cpp",
+ MAME_DIR .. "src/devices/bus/scv/slot.h",
+ MAME_DIR .. "src/devices/bus/scv/rom.cpp",
+ MAME_DIR .. "src/devices/bus/scv/rom.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/x68k/x68kexp.h,BUSES["X68K"] = true
+---------------------------------------------------
+if (BUSES["X68K"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/x68k/x68kexp.cpp",
+ MAME_DIR .. "src/devices/bus/x68k/x68kexp.h",
+ MAME_DIR .. "src/devices/bus/x68k/x68k_neptunex.cpp",
+ MAME_DIR .. "src/devices/bus/x68k/x68k_neptunex.h",
+ MAME_DIR .. "src/devices/bus/x68k/x68k_scsiext.cpp",
+ MAME_DIR .. "src/devices/bus/x68k/x68k_scsiext.h",
+ MAME_DIR .. "src/devices/bus/x68k/x68k_midi.cpp",
+ MAME_DIR .. "src/devices/bus/x68k/x68k_midi.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/abckb/abckb.h,BUSES["ABCKB"] = true
+---------------------------------------------------
+if (BUSES["ABCKB"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/abckb/abckb.cpp",
+ MAME_DIR .. "src/devices/bus/abckb/abckb.h",
+ MAME_DIR .. "src/devices/bus/abckb/abc77.cpp",
+ MAME_DIR .. "src/devices/bus/abckb/abc77.h",
+ MAME_DIR .. "src/devices/bus/abckb/abc99.cpp",
+ MAME_DIR .. "src/devices/bus/abckb/abc99.h",
+ MAME_DIR .. "src/devices/bus/abckb/abc800kb.cpp",
+ MAME_DIR .. "src/devices/bus/abckb/abc800kb.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/compucolor/floppy.h,BUSES["COMPUCOLOR"] = true
+---------------------------------------------------
+if (BUSES["COMPUCOLOR"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/compucolor/floppy.cpp",
+ MAME_DIR .. "src/devices/bus/compucolor/floppy.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/scsi/scsi.h,BUSES["SCSI"] = true
+---------------------------------------------------
+if (BUSES["SCSI"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/scsi/scsi.cpp",
+ MAME_DIR .. "src/devices/bus/scsi/scsi.h",
+ MAME_DIR .. "src/devices/bus/scsi/scsicd.cpp",
+ MAME_DIR .. "src/devices/bus/scsi/scsicd.h",
+ MAME_DIR .. "src/devices/bus/scsi/scsihd.cpp",
+ MAME_DIR .. "src/devices/bus/scsi/scsihd.h",
+ MAME_DIR .. "src/devices/bus/scsi/scsihle.cpp",
+ MAME_DIR .. "src/devices/bus/scsi/scsihle.h",
+ MAME_DIR .. "src/devices/bus/scsi/cdu76s.cpp",
+ MAME_DIR .. "src/devices/bus/scsi/cdu76s.h",
+ MAME_DIR .. "src/devices/bus/scsi/scsicd512.cpp",
+ MAME_DIR .. "src/devices/bus/scsi/scsicd512.h",
+ MAME_DIR .. "src/devices/bus/scsi/acb4070.cpp",
+ MAME_DIR .. "src/devices/bus/scsi/acb4070.h",
+ MAME_DIR .. "src/devices/bus/scsi/d9060hd.cpp",
+ MAME_DIR .. "src/devices/bus/scsi/d9060hd.h",
+ MAME_DIR .. "src/devices/bus/scsi/sa1403d.cpp",
+ MAME_DIR .. "src/devices/bus/scsi/sa1403d.h",
+ MAME_DIR .. "src/devices/bus/scsi/s1410.cpp",
+ MAME_DIR .. "src/devices/bus/scsi/s1410.h",
+ MAME_DIR .. "src/devices/bus/scsi/pc9801_sasi.cpp",
+ MAME_DIR .. "src/devices/bus/scsi/pc9801_sasi.h",
+ MAME_DIR .. "src/devices/bus/scsi/omti5100.cpp",
+ MAME_DIR .. "src/devices/bus/scsi/omti5100.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/macpds/macpds.h,BUSES["MACPDS"] = true
+---------------------------------------------------
+if (BUSES["MACPDS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/macpds/macpds.cpp",
+ MAME_DIR .. "src/devices/bus/macpds/macpds.h",
+ MAME_DIR .. "src/devices/bus/macpds/pds_tpdfpd.cpp",
+ MAME_DIR .. "src/devices/bus/macpds/pds_tpdfpd.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/oricext/oricext.h,BUSES["ORICEXT"] = true
+---------------------------------------------------
+if (BUSES["ORICEXT"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/oricext/oricext.cpp",
+ MAME_DIR .. "src/devices/bus/oricext/oricext.h",
+ MAME_DIR .. "src/devices/bus/oricext/jasmin.cpp",
+ MAME_DIR .. "src/devices/bus/oricext/jasmin.h",
+ MAME_DIR .. "src/devices/bus/oricext/microdisc.cpp",
+ MAME_DIR .. "src/devices/bus/oricext/microdisc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/a1bus/a1bus.h,BUSES["A1BUS"] = true
+---------------------------------------------------
+
+if (BUSES["A1BUS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/a1bus/a1bus.cpp",
+ MAME_DIR .. "src/devices/bus/a1bus/a1bus.h",
+ MAME_DIR .. "src/devices/bus/a1bus/a1cassette.cpp",
+ MAME_DIR .. "src/devices/bus/a1bus/a1cassette.h",
+ MAME_DIR .. "src/devices/bus/a1bus/a1cffa.cpp",
+ MAME_DIR .. "src/devices/bus/a1bus/a1cffa.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/amiga/keyboard/keyboard.h,BUSES["AMIGA_KEYBOARD"] = true
+---------------------------------------------------
+
+if (BUSES["AMIGA_KEYBOARD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/amiga/keyboard/keyboard.cpp",
+ MAME_DIR .. "src/devices/bus/amiga/keyboard/keyboard.h",
+ MAME_DIR .. "src/devices/bus/amiga/keyboard/matrix.cpp",
+ MAME_DIR .. "src/devices/bus/amiga/keyboard/matrix.h",
+ MAME_DIR .. "src/devices/bus/amiga/keyboard/a1200.cpp",
+ MAME_DIR .. "src/devices/bus/amiga/keyboard/a1200.h",
+ MAME_DIR .. "src/devices/bus/amiga/keyboard/a2000.cpp",
+ MAME_DIR .. "src/devices/bus/amiga/keyboard/a2000.h",
+ MAME_DIR .. "src/devices/bus/amiga/keyboard/mitsumi.cpp",
+ MAME_DIR .. "src/devices/bus/amiga/keyboard/mitsumi.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/amiga/zorro/zorro.h,BUSES["ZORRO"] = true
+---------------------------------------------------
+
+if (BUSES["ZORRO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/amiga/zorro/zorro.cpp",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/zorro.h",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/cards.cpp",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/cards.h",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/a2052.cpp",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/a2052.h",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/a2058.cpp",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/a2058.h",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/a2065.cpp",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/a2065.h",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/a2232.cpp",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/a2232.h",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/a590.cpp",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/a590.h",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/action_replay.cpp",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/action_replay.h",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/buddha.cpp",
+ MAME_DIR .. "src/devices/bus/amiga/zorro/buddha.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/sgikbd/sgikbd.h,BUSES["SGIKBD"] = true
+---------------------------------------------------
+
+if (BUSES["SGIKBD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/sgikbd/hlekbd.cpp",
+ MAME_DIR .. "src/devices/bus/sgikbd/hlekbd.h",
+ MAME_DIR .. "src/devices/bus/sgikbd/sgikbd.cpp",
+ MAME_DIR .. "src/devices/bus/sgikbd/sgikbd.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/sunkbd/sunkbd.h,BUSES["SUNKBD"] = true
+---------------------------------------------------
+
+if (BUSES["SUNKBD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/sunkbd/hlekbd.cpp",
+ MAME_DIR .. "src/devices/bus/sunkbd/hlekbd.h",
+ MAME_DIR .. "src/devices/bus/sunkbd/sunkbd.cpp",
+ MAME_DIR .. "src/devices/bus/sunkbd/sunkbd.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/sunmouse/sunmouse.h,BUSES["SUNMOUSE"] = true
+---------------------------------------------------
+
+if (BUSES["SUNMOUSE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/sunmouse/hlemouse.cpp",
+ MAME_DIR .. "src/devices/bus/sunmouse/hlemouse.h",
+ MAME_DIR .. "src/devices/bus/sunmouse/sunmouse.cpp",
+ MAME_DIR .. "src/devices/bus/sunmouse/sunmouse.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/sbus/sbus.h,BUSES["SBUS"] = true
+---------------------------------------------------
+
+if (BUSES["SBUS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/sbus/artecon.cpp",
+ MAME_DIR .. "src/devices/bus/sbus/artecon.h",
+ MAME_DIR .. "src/devices/bus/sbus/bwtwo.cpp",
+ MAME_DIR .. "src/devices/bus/sbus/bwtwo.h",
+ MAME_DIR .. "src/devices/bus/sbus/cgsix.cpp",
+ MAME_DIR .. "src/devices/bus/sbus/cgsix.h",
+ MAME_DIR .. "src/devices/bus/sbus/cgthree.cpp",
+ MAME_DIR .. "src/devices/bus/sbus/cgthree.h",
+ MAME_DIR .. "src/devices/bus/sbus/hme.cpp",
+ MAME_DIR .. "src/devices/bus/sbus/hme.h",
+ MAME_DIR .. "src/devices/bus/sbus/sunpc.cpp",
+ MAME_DIR .. "src/devices/bus/sbus/sunpc.h",
+ MAME_DIR .. "src/devices/bus/sbus/sbus.cpp",
+ MAME_DIR .. "src/devices/bus/sbus/sbus.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/ql/exp.h,BUSES["QL"] = true
+---------------------------------------------------
+
+if (BUSES["QL"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/ql/exp.cpp",
+ MAME_DIR .. "src/devices/bus/ql/exp.h",
+ MAME_DIR .. "src/devices/bus/ql/cst_qdisc.cpp",
+ MAME_DIR .. "src/devices/bus/ql/cst_qdisc.h",
+ MAME_DIR .. "src/devices/bus/ql/cst_q_plus4.cpp",
+ MAME_DIR .. "src/devices/bus/ql/cst_q_plus4.h",
+ MAME_DIR .. "src/devices/bus/ql/cumana_fdi.cpp",
+ MAME_DIR .. "src/devices/bus/ql/cumana_fdi.h",
+ MAME_DIR .. "src/devices/bus/ql/kempston_di.cpp",
+ MAME_DIR .. "src/devices/bus/ql/kempston_di.h",
+ MAME_DIR .. "src/devices/bus/ql/miracle_gold_card.cpp",
+ MAME_DIR .. "src/devices/bus/ql/miracle_gold_card.h",
+ MAME_DIR .. "src/devices/bus/ql/mp_fdi.cpp",
+ MAME_DIR .. "src/devices/bus/ql/mp_fdi.h",
+ MAME_DIR .. "src/devices/bus/ql/opd_basic_master.cpp",
+ MAME_DIR .. "src/devices/bus/ql/opd_basic_master.h",
+ MAME_DIR .. "src/devices/bus/ql/pcml_qdisk.cpp",
+ MAME_DIR .. "src/devices/bus/ql/pcml_qdisk.h",
+ MAME_DIR .. "src/devices/bus/ql/qubide.cpp",
+ MAME_DIR .. "src/devices/bus/ql/qubide.h",
+ MAME_DIR .. "src/devices/bus/ql/sandy_superdisk.cpp",
+ MAME_DIR .. "src/devices/bus/ql/sandy_superdisk.h",
+ MAME_DIR .. "src/devices/bus/ql/sandy_superqboard.cpp",
+ MAME_DIR .. "src/devices/bus/ql/sandy_superqboard.h",
+ MAME_DIR .. "src/devices/bus/ql/trumpcard.cpp",
+ MAME_DIR .. "src/devices/bus/ql/trumpcard.h",
+ MAME_DIR .. "src/devices/bus/ql/rom.cpp",
+ MAME_DIR .. "src/devices/bus/ql/rom.h",
+ MAME_DIR .. "src/devices/bus/ql/miracle_hd.cpp",
+ MAME_DIR .. "src/devices/bus/ql/miracle_hd.h",
+ MAME_DIR .. "src/devices/bus/ql/std.cpp",
+ MAME_DIR .. "src/devices/bus/ql/std.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/spectrum/exp.h,BUSES["SPECTRUM"] = true
+---------------------------------------------------
+
+if (BUSES["SPECTRUM"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/spectrum/exp.cpp",
+ MAME_DIR .. "src/devices/bus/spectrum/exp.h",
+ MAME_DIR .. "src/devices/bus/spectrum/beta.cpp",
+ MAME_DIR .. "src/devices/bus/spectrum/beta.h",
+ MAME_DIR .. "src/devices/bus/spectrum/intf1.cpp",
+ MAME_DIR .. "src/devices/bus/spectrum/intf1.h",
+ MAME_DIR .. "src/devices/bus/spectrum/intf2.cpp",
+ MAME_DIR .. "src/devices/bus/spectrum/intf2.h",
+ MAME_DIR .. "src/devices/bus/spectrum/fuller.cpp",
+ MAME_DIR .. "src/devices/bus/spectrum/fuller.h",
+ MAME_DIR .. "src/devices/bus/spectrum/kempjoy.cpp",
+ MAME_DIR .. "src/devices/bus/spectrum/kempjoy.h",
+ MAME_DIR .. "src/devices/bus/spectrum/melodik.cpp",
+ MAME_DIR .. "src/devices/bus/spectrum/melodik.h",
+ MAME_DIR .. "src/devices/bus/spectrum/mface.cpp",
+ MAME_DIR .. "src/devices/bus/spectrum/mface.h",
+ MAME_DIR .. "src/devices/bus/spectrum/mikroplus.cpp",
+ MAME_DIR .. "src/devices/bus/spectrum/mikroplus.h",
+ MAME_DIR .. "src/devices/bus/spectrum/opus.cpp",
+ MAME_DIR .. "src/devices/bus/spectrum/opus.h",
+ MAME_DIR .. "src/devices/bus/spectrum/plus2test.cpp",
+ MAME_DIR .. "src/devices/bus/spectrum/plus2test.h",
+ MAME_DIR .. "src/devices/bus/spectrum/protek.cpp",
+ MAME_DIR .. "src/devices/bus/spectrum/protek.h",
+ MAME_DIR .. "src/devices/bus/spectrum/specdrum.cpp",
+ MAME_DIR .. "src/devices/bus/spectrum/specdrum.h",
+ MAME_DIR .. "src/devices/bus/spectrum/uslot.cpp",
+ MAME_DIR .. "src/devices/bus/spectrum/uslot.h",
+ MAME_DIR .. "src/devices/bus/spectrum/usource.cpp",
+ MAME_DIR .. "src/devices/bus/spectrum/usource.h",
+ MAME_DIR .. "src/devices/bus/spectrum/uspeech.cpp",
+ MAME_DIR .. "src/devices/bus/spectrum/uspeech.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/uts_kbd/uts_kbd.h,BUSES["UTS_KBD"] = true
+---------------------------------------------------
+
+if (BUSES["UTS_KBD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/uts_kbd/400kbd.cpp",
+ MAME_DIR .. "src/devices/bus/uts_kbd/400kbd.h",
+ MAME_DIR .. "src/devices/bus/uts_kbd/extw.cpp",
+ MAME_DIR .. "src/devices/bus/uts_kbd/extw.h",
+ MAME_DIR .. "src/devices/bus/uts_kbd/uts_kbd.cpp",
+ MAME_DIR .. "src/devices/bus/uts_kbd/uts_kbd.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/vsmile/vsmile_ctrl.h,BUSES["VSMILE"] = true
+--@src/devices/bus/vsmile/vsmile_slot.h,BUSES["VSMILE"] = true
+---------------------------------------------------
+
+if (BUSES["VSMILE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/vsmile/vsmile_ctrl.cpp",
+ MAME_DIR .. "src/devices/bus/vsmile/vsmile_ctrl.h",
+ MAME_DIR .. "src/devices/bus/vsmile/pad.cpp",
+ MAME_DIR .. "src/devices/bus/vsmile/pad.h",
+ MAME_DIR .. "src/devices/bus/vsmile/vsmile_slot.cpp",
+ MAME_DIR .. "src/devices/bus/vsmile/vsmile_slot.h",
+ MAME_DIR .. "src/devices/bus/vsmile/rom.cpp",
+ MAME_DIR .. "src/devices/bus/vsmile/rom.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/vtech/memexp/memexp.h,BUSES["VTECH_MEMEXP"] = true
+---------------------------------------------------
+
+if (BUSES["VTECH_MEMEXP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/vtech/memexp/memexp.cpp",
+ MAME_DIR .. "src/devices/bus/vtech/memexp/memexp.h",
+ MAME_DIR .. "src/devices/bus/vtech/memexp/carts.cpp",
+ MAME_DIR .. "src/devices/bus/vtech/memexp/carts.h",
+ MAME_DIR .. "src/devices/bus/vtech/memexp/floppy.cpp",
+ MAME_DIR .. "src/devices/bus/vtech/memexp/floppy.h",
+ MAME_DIR .. "src/devices/bus/vtech/memexp/memory.cpp",
+ MAME_DIR .. "src/devices/bus/vtech/memexp/memory.h",
+ MAME_DIR .. "src/devices/bus/vtech/memexp/rs232.cpp",
+ MAME_DIR .. "src/devices/bus/vtech/memexp/rs232.h",
+ MAME_DIR .. "src/devices/bus/vtech/memexp/rtty.cpp",
+ MAME_DIR .. "src/devices/bus/vtech/memexp/rtty.h",
+ MAME_DIR .. "src/devices/bus/vtech/memexp/wordpro.cpp",
+ MAME_DIR .. "src/devices/bus/vtech/memexp/wordpro.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/vtech/ioexp/ioexp.h,BUSES["VTECH_IOEXP"] = true
+---------------------------------------------------
+
+if (BUSES["VTECH_IOEXP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/vtech/ioexp/ioexp.cpp",
+ MAME_DIR .. "src/devices/bus/vtech/ioexp/ioexp.h",
+ MAME_DIR .. "src/devices/bus/vtech/ioexp/carts.cpp",
+ MAME_DIR .. "src/devices/bus/vtech/ioexp/carts.h",
+ MAME_DIR .. "src/devices/bus/vtech/ioexp/joystick.cpp",
+ MAME_DIR .. "src/devices/bus/vtech/ioexp/joystick.h",
+ MAME_DIR .. "src/devices/bus/vtech/ioexp/printer.cpp",
+ MAME_DIR .. "src/devices/bus/vtech/ioexp/printer.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/wswan/slot.h,BUSES["WSWAN"] = true
+---------------------------------------------------
+
+if (BUSES["WSWAN"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/wswan/slot.cpp",
+ MAME_DIR .. "src/devices/bus/wswan/slot.h",
+ MAME_DIR .. "src/devices/bus/wswan/rom.cpp",
+ MAME_DIR .. "src/devices/bus/wswan/rom.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/psx/ctlrport.h,BUSES["PSX_CONTROLLER"] = true
+---------------------------------------------------
+
+if (BUSES["PSX_CONTROLLER"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/psx/ctlrport.cpp",
+ MAME_DIR .. "src/devices/bus/psx/ctlrport.h",
+ MAME_DIR .. "src/devices/bus/psx/analogue.cpp",
+ MAME_DIR .. "src/devices/bus/psx/analogue.h",
+ MAME_DIR .. "src/devices/bus/psx/multitap.cpp",
+ MAME_DIR .. "src/devices/bus/psx/multitap.h",
+ MAME_DIR .. "src/devices/bus/psx/memcard.cpp",
+ MAME_DIR .. "src/devices/bus/psx/memcard.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/psx/parallel.h,BUSES["PSX_PARALLEL"] = true
+---------------------------------------------------
+
+if (BUSES["PSX_PARALLEL"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/psx/parallel.cpp",
+ MAME_DIR .. "src/devices/bus/psx/parallel.h",
+ MAME_DIR .. "src/devices/bus/psx/gamebooster.cpp",
+ MAME_DIR .. "src/devices/bus/psx/gamebooster.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/nasbus/nasbus.h,BUSES["NASBUS"] = true
+---------------------------------------------------
+
+if (BUSES["NASBUS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/nasbus/nasbus.cpp",
+ MAME_DIR .. "src/devices/bus/nasbus/nasbus.h",
+ MAME_DIR .. "src/devices/bus/nasbus/cards.cpp",
+ MAME_DIR .. "src/devices/bus/nasbus/cards.h",
+ MAME_DIR .. "src/devices/bus/nasbus/avc.cpp",
+ MAME_DIR .. "src/devices/bus/nasbus/avc.h",
+ MAME_DIR .. "src/devices/bus/nasbus/floppy.cpp",
+ MAME_DIR .. "src/devices/bus/nasbus/floppy.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/cgenie/expansion/expansion.h,BUSES["CGENIE_EXPANSION"] = true
+---------------------------------------------------
+
+if (BUSES["CGENIE_EXPANSION"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/cgenie/expansion/expansion.cpp",
+ MAME_DIR .. "src/devices/bus/cgenie/expansion/expansion.h",
+ MAME_DIR .. "src/devices/bus/cgenie/expansion/carts.cpp",
+ MAME_DIR .. "src/devices/bus/cgenie/expansion/carts.h",
+ MAME_DIR .. "src/devices/bus/cgenie/expansion/floppy.cpp",
+ MAME_DIR .. "src/devices/bus/cgenie/expansion/floppy.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/cgenie/parallel/parallel.h,BUSES["CGENIE_PARALLEL"] = true
+---------------------------------------------------
+
+if (BUSES["CGENIE_PARALLEL"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/cgenie/parallel/parallel.cpp",
+ MAME_DIR .. "src/devices/bus/cgenie/parallel/parallel.h",
+ MAME_DIR .. "src/devices/bus/cgenie/parallel/carts.cpp",
+ MAME_DIR .. "src/devices/bus/cgenie/parallel/carts.h",
+ MAME_DIR .. "src/devices/bus/cgenie/parallel/joystick.cpp",
+ MAME_DIR .. "src/devices/bus/cgenie/parallel/joystick.h",
+ MAME_DIR .. "src/devices/bus/cgenie/parallel/printer.cpp",
+ MAME_DIR .. "src/devices/bus/cgenie/parallel/printer.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/m5/slot.h,BUSES["M5"] = true
+---------------------------------------------------
+if (BUSES["M5"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/m5/slot.cpp",
+ MAME_DIR .. "src/devices/bus/m5/slot.h",
+ MAME_DIR .. "src/devices/bus/m5/rom.cpp",
+ MAME_DIR .. "src/devices/bus/m5/rom.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/newbrain/exp.h,BUSES["NEWBRAIN"] = true
+---------------------------------------------------
+
+if (BUSES["NEWBRAIN"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/newbrain/exp.cpp",
+ MAME_DIR .. "src/devices/bus/newbrain/exp.h",
+ MAME_DIR .. "src/devices/bus/newbrain/eim.cpp",
+ MAME_DIR .. "src/devices/bus/newbrain/eim.h",
+ MAME_DIR .. "src/devices/bus/newbrain/fdc.cpp",
+ MAME_DIR .. "src/devices/bus/newbrain/fdc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/svi3x8/expander/expander.h,BUSES["SVI_EXPANDER"] = true
+---------------------------------------------------
+
+if (BUSES["SVI_EXPANDER"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/svi3x8/expander/expander.cpp",
+ MAME_DIR .. "src/devices/bus/svi3x8/expander/expander.h",
+ MAME_DIR .. "src/devices/bus/svi3x8/expander/modules.cpp",
+ MAME_DIR .. "src/devices/bus/svi3x8/expander/modules.h",
+ MAME_DIR .. "src/devices/bus/svi3x8/expander/sv601.cpp",
+ MAME_DIR .. "src/devices/bus/svi3x8/expander/sv601.h",
+ MAME_DIR .. "src/devices/bus/svi3x8/expander/sv602.cpp",
+ MAME_DIR .. "src/devices/bus/svi3x8/expander/sv602.h",
+ MAME_DIR .. "src/devices/bus/svi3x8/expander/sv603.cpp",
+ MAME_DIR .. "src/devices/bus/svi3x8/expander/sv603.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/svi3x8/slot/slot.h,BUSES["SVI_SLOT"] = true
+---------------------------------------------------
+
+if (BUSES["SVI_SLOT"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/svi3x8/slot/slot.cpp",
+ MAME_DIR .. "src/devices/bus/svi3x8/slot/slot.h",
+ MAME_DIR .. "src/devices/bus/svi3x8/slot/cards.cpp",
+ MAME_DIR .. "src/devices/bus/svi3x8/slot/cards.h",
+ MAME_DIR .. "src/devices/bus/svi3x8/slot/sv801.cpp",
+ MAME_DIR .. "src/devices/bus/svi3x8/slot/sv801.h",
+ MAME_DIR .. "src/devices/bus/svi3x8/slot/sv802.cpp",
+ MAME_DIR .. "src/devices/bus/svi3x8/slot/sv802.h",
+ MAME_DIR .. "src/devices/bus/svi3x8/slot/sv803.cpp",
+ MAME_DIR .. "src/devices/bus/svi3x8/slot/sv803.h",
+ MAME_DIR .. "src/devices/bus/svi3x8/slot/sv805.cpp",
+ MAME_DIR .. "src/devices/bus/svi3x8/slot/sv805.h",
+ MAME_DIR .. "src/devices/bus/svi3x8/slot/sv806.cpp",
+ MAME_DIR .. "src/devices/bus/svi3x8/slot/sv806.h",
+ MAME_DIR .. "src/devices/bus/svi3x8/slot/sv807.cpp",
+ MAME_DIR .. "src/devices/bus/svi3x8/slot/sv807.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/hp_optroms/hp_optrom.h,BUSES["HP_OPTROM"] = true
+---------------------------------------------------
+
+if (BUSES["HP_OPTROM"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/hp_optroms/hp_optrom.cpp",
+ MAME_DIR .. "src/devices/bus/hp_optroms/hp_optrom.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/hp80_optroms/hp80_optrom.h,BUSES["HP80_OPTROM"] = true
+---------------------------------------------------
+
+if (BUSES["HP80_OPTROM"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/hp80_optroms/hp80_optrom.cpp",
+ MAME_DIR .. "src/devices/bus/hp80_optroms/hp80_optrom.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/hp80_io/hp80_io.h,BUSES["HP80_IO"] = true
+---------------------------------------------------
+
+if (BUSES["HP80_IO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/hp80_io/hp80_io.cpp",
+ MAME_DIR .. "src/devices/bus/hp80_io/hp80_io.h",
+ MAME_DIR .. "src/devices/bus/hp80_io/82937.cpp",
+ MAME_DIR .. "src/devices/bus/hp80_io/82937.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/hp9845_io/hp9845_io.h,BUSES["HP9845_IO"] = true
+---------------------------------------------------
+
+if (BUSES["HP9845_IO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/hp9845_io/hp9845_io.cpp",
+ MAME_DIR .. "src/devices/bus/hp9845_io/hp9845_io.h",
+ MAME_DIR .. "src/devices/bus/hp9845_io/98032.cpp",
+ MAME_DIR .. "src/devices/bus/hp9845_io/98032.h",
+ MAME_DIR .. "src/devices/bus/hp9845_io/98034.cpp",
+ MAME_DIR .. "src/devices/bus/hp9845_io/98034.h",
+ MAME_DIR .. "src/devices/bus/hp9845_io/98035.cpp",
+ MAME_DIR .. "src/devices/bus/hp9845_io/98035.h",
+ MAME_DIR .. "src/devices/bus/hp9845_io/98046.cpp",
+ MAME_DIR .. "src/devices/bus/hp9845_io/98046.h",
+ MAME_DIR .. "src/devices/bus/hp9845_io/hp9885.cpp",
+ MAME_DIR .. "src/devices/bus/hp9845_io/hp9885.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/compis/graphics.h,BUSES["COMPIS_GRAPHICS"] = true
+---------------------------------------------------
+
+if (BUSES["COMPIS_GRAPHICS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/compis/graphics.cpp",
+ MAME_DIR .. "src/devices/bus/compis/graphics.h",
+ MAME_DIR .. "src/devices/bus/compis/hrg.cpp",
+ MAME_DIR .. "src/devices/bus/compis/hrg.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/pc1512/mouse.h,BUSES["PC1512"] = true
+---------------------------------------------------
+
+if (BUSES["PC1512"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/pc1512/mouse.cpp",
+ MAME_DIR .. "src/devices/bus/pc1512/mouse.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/cbus/pc9801_cbus.h,BUSES["CBUS"] = true
+---------------------------------------------------
+
+if (BUSES["CBUS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/cbus/pc9801_26.cpp",
+ MAME_DIR .. "src/devices/bus/cbus/pc9801_26.h",
+ MAME_DIR .. "src/devices/bus/cbus/pc9801_86.cpp",
+ MAME_DIR .. "src/devices/bus/cbus/pc9801_86.h",
+ MAME_DIR .. "src/devices/bus/cbus/pc9801_118.cpp",
+ MAME_DIR .. "src/devices/bus/cbus/pc9801_118.h",
+ MAME_DIR .. "src/devices/bus/cbus/pc9801_amd98.cpp",
+ MAME_DIR .. "src/devices/bus/cbus/pc9801_amd98.h",
+ MAME_DIR .. "src/devices/bus/cbus/pc9801_snd.cpp",
+ MAME_DIR .. "src/devices/bus/cbus/pc9801_snd.h",
+ MAME_DIR .. "src/devices/bus/cbus/mpu_pc98.cpp",
+ MAME_DIR .. "src/devices/bus/cbus/mpu_pc98.h",
+ MAME_DIR .. "src/devices/bus/cbus/pc9801_cbus.cpp",
+ MAME_DIR .. "src/devices/bus/cbus/pc9801_cbus.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/psi_kbd/psi_kbd.h,BUSES["PSI_KEYBOARD"] = true
+---------------------------------------------------
+
+if (BUSES["PSI_KEYBOARD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/psi_kbd/psi_kbd.cpp",
+ MAME_DIR .. "src/devices/bus/psi_kbd/psi_kbd.h",
+ MAME_DIR .. "src/devices/bus/psi_kbd/ergoline.cpp",
+ MAME_DIR .. "src/devices/bus/psi_kbd/ergoline.h",
+ MAME_DIR .. "src/devices/bus/psi_kbd/hle.cpp",
+ MAME_DIR .. "src/devices/bus/psi_kbd/hle.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/interpro/sr/sr.h,BUSES["INTERPRO_SR"] = true
+---------------------------------------------------
+
+if (BUSES["INTERPRO_SR"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/interpro/sr/sr.cpp",
+ MAME_DIR .. "src/devices/bus/interpro/sr/sr.h",
+ MAME_DIR .. "src/devices/bus/interpro/sr/sr_cards.cpp",
+ MAME_DIR .. "src/devices/bus/interpro/sr/sr_cards.h",
+ MAME_DIR .. "src/devices/bus/interpro/sr/gt.cpp",
+ MAME_DIR .. "src/devices/bus/interpro/sr/gt.h",
+ MAME_DIR .. "src/devices/bus/interpro/sr/edge.cpp",
+ MAME_DIR .. "src/devices/bus/interpro/sr/edge.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/interpro/keyboard/keyboard.h,BUSES["INTERPRO_KEYBOARD"] = true
+---------------------------------------------------
+
+if (BUSES["INTERPRO_KEYBOARD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/interpro/keyboard/keyboard.cpp",
+ MAME_DIR .. "src/devices/bus/interpro/keyboard/keyboard.h",
+ MAME_DIR .. "src/devices/bus/interpro/keyboard/hle.cpp",
+ MAME_DIR .. "src/devices/bus/interpro/keyboard/hle.h",
+ MAME_DIR .. "src/devices/bus/interpro/keyboard/lle.cpp",
+ MAME_DIR .. "src/devices/bus/interpro/keyboard/lle.h"
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/interpro/mouse/mouse.h,BUSES["INTERPRO_MOUSE"] = true
+---------------------------------------------------
+
+if (BUSES["INTERPRO_MOUSE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/interpro/mouse/mouse.cpp",
+ MAME_DIR .. "src/devices/bus/interpro/mouse/mouse.h"
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/einstein/pipe/pipe.h,BUSES["TATUNG_PIPE"] = true
+---------------------------------------------------
+
+if (BUSES["TATUNG_PIPE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/einstein/pipe/pipe.cpp",
+ MAME_DIR .. "src/devices/bus/einstein/pipe/pipe.h",
+ MAME_DIR .. "src/devices/bus/einstein/pipe/silicon_disc.cpp",
+ MAME_DIR .. "src/devices/bus/einstein/pipe/silicon_disc.h",
+ MAME_DIR .. "src/devices/bus/einstein/pipe/speculator.cpp",
+ MAME_DIR .. "src/devices/bus/einstein/pipe/speculator.h",
+ MAME_DIR .. "src/devices/bus/einstein/pipe/tk02.cpp",
+ MAME_DIR .. "src/devices/bus/einstein/pipe/tk02.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/einstein/userport/userport.h,BUSES["EINSTEIN_USERPORT"] = true
+---------------------------------------------------
+
+if (BUSES["EINSTEIN_USERPORT"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/einstein/userport/userport.cpp",
+ MAME_DIR .. "src/devices/bus/einstein/userport/userport.h",
+ MAME_DIR .. "src/devices/bus/einstein/userport/mouse.cpp",
+ MAME_DIR .. "src/devices/bus/einstein/userport/mouse.h",
+ MAME_DIR .. "src/devices/bus/einstein/userport/speech.cpp",
+ MAME_DIR .. "src/devices/bus/einstein/userport/speech.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/bus/tmc600/euro.h,BUSES["TMC600"] = true
+---------------------------------------------------
+
+if (BUSES["TMC600"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/tmc600/euro.cpp",
+ MAME_DIR .. "src/devices/bus/tmc600/euro.h",
+ }
+end
diff --git a/docs/release/scripts/src/cpu.lua b/docs/release/scripts/src/cpu.lua
new file mode 100644
index 00000000000..3a6b9792787
--- /dev/null
+++ b/docs/release/scripts/src/cpu.lua
@@ -0,0 +1,2916 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- cpu.lua
+--
+-- Rules for building CPU cores
+--
+---------------------------------------------------------------------------
+
+--------------------------------------------------
+-- Dynamic recompiler objects
+--------------------------------------------------
+
+DRC_CPUS = { "E1", "SH", "MIPS3", "POWERPC", "RSP", "ARM7", "ADSP21062", "MB86235", "DSP16", "UNSP" }
+CPU_INCLUDE_DRC = false
+for i, v in ipairs(DRC_CPUS) do
+ if (CPUS[v]~=null) then
+ CPU_INCLUDE_DRC = true
+ break
+ end
+end
+
+
+if (CPU_INCLUDE_DRC) then
+ files {
+ MAME_DIR .. "src/devices/cpu/drcbec.cpp",
+ MAME_DIR .. "src/devices/cpu/drcbec.h",
+ MAME_DIR .. "src/devices/cpu/drcbeut.cpp",
+ MAME_DIR .. "src/devices/cpu/drcbeut.h",
+ MAME_DIR .. "src/devices/cpu/drccache.cpp",
+ MAME_DIR .. "src/devices/cpu/drccache.h",
+ MAME_DIR .. "src/devices/cpu/drcfe.cpp",
+ MAME_DIR .. "src/devices/cpu/drcfe.h",
+ MAME_DIR .. "src/devices/cpu/drcuml.cpp",
+ MAME_DIR .. "src/devices/cpu/drcuml.h",
+ MAME_DIR .. "src/devices/cpu/uml.cpp",
+ MAME_DIR .. "src/devices/cpu/uml.h",
+ MAME_DIR .. "src/devices/cpu/x86log.cpp",
+ MAME_DIR .. "src/devices/cpu/x86log.h",
+ MAME_DIR .. "src/devices/cpu/drcbex86.cpp",
+ MAME_DIR .. "src/devices/cpu/drcbex86.h",
+ MAME_DIR .. "src/devices/cpu/drcbex64.cpp",
+ MAME_DIR .. "src/devices/cpu/drcbex64.h",
+ MAME_DIR .. "src/devices/cpu/drcumlsh.h",
+ MAME_DIR .. "src/devices/cpu/x86emit.h",
+ }
+end
+
+--------------------------------------------------
+-- Signetics 8X300 / Scientific Micro Systems SMS300
+--@src/devices/cpu/8x300/8x300.h,CPUS["8X300"] = true
+--------------------------------------------------
+
+if (CPUS["8X300"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/8x300/8x300.cpp",
+ MAME_DIR .. "src/devices/cpu/8x300/8x300.h",
+ }
+end
+
+if (CPUS["8X300"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/8x300/8x300dasm.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/8x300/8x300dasm.cpp")
+end
+
+--------------------------------------------------
+-- 3DO Don's Super Performing Processor (DSPP)
+--@src/devices/cpu/dspp/dspp.h,CPUS["DSPP"] = true
+--------------------------------------------------
+
+if (CPUS["DSPP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/dspp/dspp.cpp",
+ MAME_DIR .. "src/devices/cpu/dspp/dspp.h",
+ MAME_DIR .. "src/devices/cpu/dspp/dsppdrc.cpp",
+ MAME_DIR .. "src/devices/cpu/dspp/dsppfe.cpp",
+ MAME_DIR .. "src/devices/cpu/dspp/dsppfe.h",
+ }
+end
+
+if (CPUS["DSPP"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dspp/dsppdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dspp/dsppdasm.h")
+end
+
+--------------------------------------------------
+-- ARCangent A4
+--@src/devices/cpu/arc/arc.h,CPUS["ARC"] = true
+--------------------------------------------------
+
+if (CPUS["ARC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/arc/arc.cpp",
+ MAME_DIR .. "src/devices/cpu/arc/arc.h",
+ }
+end
+
+if (CPUS["ARC"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arc/arcdasm.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arc/arcdasm.cpp")
+end
+
+--------------------------------------------------
+-- ARcompact (ARCtangent-A5, ARC 600, ARC 700)
+--@src/devices/cpu/arcompact/arcompact.h,CPUS["ARCOMPACT"] = true
+--------------------------------------------------
+
+if (CPUS["ARCOMPACT"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/arcompact/arcompact.cpp",
+ MAME_DIR .. "src/devices/cpu/arcompact/arcompact.h",
+ MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute.cpp",
+ }
+ dependency {
+ { MAME_DIR .. "src/devices/cpu/arcompact/arcompact.cpp", GEN_DIR .. "emu/cpu/arcompact/arcompact.hxx" },
+ { MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute.cpp", GEN_DIR .. "emu/cpu/arcompact/arcompact.hxx" },
+ }
+
+ custombuildtask {
+ { MAME_DIR .. "src/devices/cpu/arcompact/arcompact_make.py" , GEN_DIR .. "emu/cpu/arcompact/arcompact.hxx", { MAME_DIR .. "src/devices/cpu/arcompact/arcompact_make.py" }, {"@echo Generating ARCOMPACT source files...", PYTHON .. " $(1) $(@)" }},
+ }
+end
+
+if (CPUS["ARCOMPACT"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_dispatch.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_ops.cpp")
+end
+
+--------------------------------------------------
+-- Acorn ARM series
+--
+--@src/devices/cpu/arm/arm.h,CPUS["ARM"] = true
+--@src/devices/cpu/arm7/arm7.h,CPUS["ARM7"] = true
+--------------------------------------------------
+
+if (CPUS["ARM"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/arm/arm.cpp",
+ MAME_DIR .. "src/devices/cpu/arm/arm.h",
+ }
+end
+
+if (CPUS["ARM"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arm/armdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arm/armdasm.h")
+end
+
+if (CPUS["ARM7"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/arm7/arm7.cpp",
+ MAME_DIR .. "src/devices/cpu/arm7/arm7.h",
+ MAME_DIR .. "src/devices/cpu/arm7/arm7thmb.cpp",
+ MAME_DIR .. "src/devices/cpu/arm7/arm7ops.cpp",
+ MAME_DIR .. "src/devices/cpu/arm7/lpc210x.cpp",
+ MAME_DIR .. "src/devices/cpu/arm7/lpc210x.h",
+ MAME_DIR .. "src/devices/cpu/arm7/arm7core.h",
+ MAME_DIR .. "src/devices/cpu/arm7/arm7core.hxx",
+ MAME_DIR .. "src/devices/cpu/arm7/arm7drc.hxx",
+ MAME_DIR .. "src/devices/cpu/arm7/arm7help.h",
+ MAME_DIR .. "src/devices/cpu/arm7/arm7tdrc.hxx",
+ }
+end
+
+if (CPUS["ARM7"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arm7/arm7dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arm7/arm7dasm.h")
+end
+
+--------------------------------------------------
+-- Advanced Digital Chips SE3208
+--@src/devices/cpu/se3208/se3208.h,CPUS["SE3208"] = true
+--------------------------------------------------
+
+if (CPUS["SE3208"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/se3208/se3208.cpp",
+ MAME_DIR .. "src/devices/cpu/se3208/se3208.h",
+ }
+end
+
+if (CPUS["SE3208"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/se3208/se3208dis.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/se3208/se3208dis.h")
+end
+
+--------------------------------------------------
+-- American Microsystems, Inc.(AMI) S2000 series
+--@src/devices/cpu/amis2000/amis2000.h,CPUS["AMIS2000"] = true
+--------------------------------------------------
+
+if (CPUS["AMIS2000"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/amis2000/amis2000.cpp",
+ MAME_DIR .. "src/devices/cpu/amis2000/amis2000.h",
+ MAME_DIR .. "src/devices/cpu/amis2000/amis2000op.cpp",
+ }
+end
+
+if (CPUS["AMIS2000"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/amis2000/amis2000d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/amis2000/amis2000d.h")
+end
+
+--------------------------------------------------
+-- Alpha 8201
+--@src/devices/cpu/alph8201/alph8201.h,CPUS["ALPHA8201"] = true
+--------------------------------------------------
+
+if (CPUS["ALPHA8201"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/alph8201/alph8201.cpp",
+ MAME_DIR .. "src/devices/cpu/alph8201/alph8201.h",
+ }
+end
+
+if (CPUS["ALPHA8201"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/alph8201/8201dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/alph8201/8201dasm.h")
+end
+
+--------------------------------------------------
+-- Analog Devices ADSP21xx series
+--@src/devices/cpu/adsp2100/adsp2100.h,CPUS["ADSP21XX"] = true
+--------------------------------------------------
+
+if (CPUS["ADSP21XX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/adsp2100/adsp2100.cpp",
+ MAME_DIR .. "src/devices/cpu/adsp2100/adsp2100.h",
+ MAME_DIR .. "src/devices/cpu/adsp2100/2100ops.hxx",
+ }
+end
+
+if (CPUS["ADSP21XX"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/adsp2100/2100dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/adsp2100/2100dasm.h")
+end
+
+--------------------------------------------------
+-- Analog Devices "Sharc" ADSP21062
+--@src/devices/cpu/sharc/sharc.h,CPUS["ADSP21062"] = true
+--------------------------------------------------
+
+if (CPUS["ADSP21062"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/sharc/sharc.cpp",
+ MAME_DIR .. "src/devices/cpu/sharc/sharc.h",
+ MAME_DIR .. "src/devices/cpu/sharc/compute.hxx",
+ MAME_DIR .. "src/devices/cpu/sharc/sharcdma.hxx",
+ MAME_DIR .. "src/devices/cpu/sharc/sharcmem.hxx",
+ MAME_DIR .. "src/devices/cpu/sharc/sharcops.h",
+ MAME_DIR .. "src/devices/cpu/sharc/sharcops.hxx",
+ MAME_DIR .. "src/devices/cpu/sharc/sharcdrc.cpp",
+ MAME_DIR .. "src/devices/cpu/sharc/sharcfe.cpp",
+ MAME_DIR .. "src/devices/cpu/sharc/sharcfe.h",
+ }
+end
+
+if (CPUS["ADSP21062"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sharc/sharcdsm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sharc/sharcdsm.h")
+end
+
+--------------------------------------------------
+-- APEXC
+--@src/devices/cpu/apexc/apexc.h,CPUS["APEXC"] = true
+--------------------------------------------------
+
+if (CPUS["APEXC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/apexc/apexc.cpp",
+ MAME_DIR .. "src/devices/cpu/apexc/apexc.h",
+ }
+end
+
+if (CPUS["APEXC"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/apexc/apexcdsm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/apexc/apexcdsm.h")
+end
+
+--------------------------------------------------
+-- WE|AT&T DSP16
+--@src/devices/cpu/dsp16/dsp16.h,CPUS["DSP16"] = true
+--------------------------------------------------
+
+if (CPUS["DSP16"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/dsp16/dsp16.cpp",
+ MAME_DIR .. "src/devices/cpu/dsp16/dsp16.h",
+ MAME_DIR .. "src/devices/cpu/dsp16/dsp16core.cpp",
+ MAME_DIR .. "src/devices/cpu/dsp16/dsp16core.h",
+ MAME_DIR .. "src/devices/cpu/dsp16/dsp16core.ipp",
+ MAME_DIR .. "src/devices/cpu/dsp16/dsp16fe.cpp",
+ MAME_DIR .. "src/devices/cpu/dsp16/dsp16fe.h",
+ MAME_DIR .. "src/devices/cpu/dsp16/dsp16rc.cpp",
+ MAME_DIR .. "src/devices/cpu/dsp16/dsp16rc.h",
+ }
+end
+
+if (CPUS["DSP16"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp16/dsp16dis.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp16/dsp16dis.h")
+end
+
+--------------------------------------------------
+-- AT&T DSP32C
+--@src/devices/cpu/dsp32/dsp32.h,CPUS["DSP32C"] = true
+--------------------------------------------------
+
+if (CPUS["DSP32C"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/dsp32/dsp32.cpp",
+ MAME_DIR .. "src/devices/cpu/dsp32/dsp32.h",
+ MAME_DIR .. "src/devices/cpu/dsp32/dsp32ops.hxx",
+ }
+end
+
+if (CPUS["DSP32C"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp32/dsp32dis.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp32/dsp32dis.h")
+end
+
+--------------------------------------------------
+-- Atari custom RISC processor
+--@src/devices/cpu/asap/asap.h,CPUS["ASAP"] = true
+--------------------------------------------------
+
+if (CPUS["ASAP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/asap/asap.cpp",
+ MAME_DIR .. "src/devices/cpu/asap/asap.h",
+ }
+end
+
+if (CPUS["ASAP"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/asap/asapdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/asap/asapdasm.h")
+end
+
+--------------------------------------------------
+-- AMD Am29000
+--@src/devices/cpu/am29000/am29000.h,CPUS["AM29000"] = true
+--------------------------------------------------
+
+if (CPUS["AM29000"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/am29000/am29000.cpp",
+ MAME_DIR .. "src/devices/cpu/am29000/am29000.h",
+ MAME_DIR .. "src/devices/cpu/am29000/am29ops.h",
+ }
+end
+
+if (CPUS["AM29000"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/am29000/am29dasm.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/am29000/am29dasm.cpp")
+end
+
+--------------------------------------------------
+-- Atari Jaguar custom DSPs
+--@src/devices/cpu/jaguar/jaguar.h,CPUS["JAGUAR"] = true
+--------------------------------------------------
+
+if (CPUS["JAGUAR"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/jaguar/jaguar.cpp",
+ MAME_DIR .. "src/devices/cpu/jaguar/jaguar.h",
+ }
+end
+
+if (CPUS["JAGUAR"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/jaguar/jagdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/jaguar/jagdasm.h")
+end
+
+--------------------------------------------------
+-- Simutrek Cube Quest bit-sliced CPUs
+--@src/devices/cpu/cubeqcpu/cubeqcpu.h,CPUS["CUBEQCPU"] = true
+--------------------------------------------------
+
+if (CPUS["CUBEQCPU"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/cubeqcpu/cubeqcpu.cpp",
+ MAME_DIR .. "src/devices/cpu/cubeqcpu/cubeqcpu.h",
+ }
+end
+
+if (CPUS["CUBEQCPU"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cubeqcpu/cubedasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cubeqcpu/cubedasm.h")
+end
+
+--------------------------------------------------
+-- Ensoniq ES5510 ('ESP') DSP
+--@src/devices/cpu/es5510/es5510.h,CPUS["ES5510"] = true
+--------------------------------------------------
+
+if (CPUS["ES5510"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/es5510/es5510.cpp",
+ MAME_DIR .. "src/devices/cpu/es5510/es5510.h",
+ }
+end
+
+if (CPUS["ES5510"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/es5510/es5510d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/es5510/es5510d.h")
+end
+
+--------------------------------------------------
+-- Entertainment Sciences AM29116-based RIP
+--@src/devices/cpu/esrip/esrip.h,CPUS["ESRIP"] = true
+--------------------------------------------------
+
+if (CPUS["ESRIP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/esrip/esrip.cpp",
+ MAME_DIR .. "src/devices/cpu/esrip/esrip.h",
+ }
+end
+
+if (CPUS["ESRIP"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/esrip/esripdsm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/esrip/esripdsm.h")
+end
+
+--------------------------------------------------
+-- Seiko Epson E0C6200 series
+--@src/devices/cpu/e0c6200/e0c6200.h,CPUS["E0C6200"] = true
+--------------------------------------------------
+
+if (CPUS["E0C6200"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/e0c6200/e0c6200.cpp",
+ MAME_DIR .. "src/devices/cpu/e0c6200/e0c6200.h",
+ MAME_DIR .. "src/devices/cpu/e0c6200/e0c6s46.cpp",
+ MAME_DIR .. "src/devices/cpu/e0c6200/e0c6s46.h",
+ MAME_DIR .. "src/devices/cpu/e0c6200/e0c6200op.cpp",
+ }
+end
+
+if (CPUS["E0C6200"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/e0c6200/e0c6200d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/e0c6200/e0c6200d.h")
+end
+
+--------------------------------------------------
+-- RCA COSMAC
+--@src/devices/cpu/cosmac/cosmac.h,CPUS["COSMAC"] = true
+--------------------------------------------------
+
+if (CPUS["COSMAC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/cosmac/cosmac.cpp",
+ MAME_DIR .. "src/devices/cpu/cosmac/cosmac.h",
+ }
+end
+
+if (CPUS["COSMAC"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cosmac/cosdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cosmac/cosdasm.h")
+end
+
+--------------------------------------------------
+-- National Semiconductor COP400 family
+--@src/devices/cpu/cop400/cop400.h,CPUS["COP400"] = true
+--------------------------------------------------
+
+if (CPUS["COP400"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/cop400/cop400.cpp",
+ MAME_DIR .. "src/devices/cpu/cop400/cop400.h",
+ MAME_DIR .. "src/devices/cpu/cop400/cop400op.hxx",
+ }
+end
+
+if (CPUS["COP400"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cop400/cop410ds.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cop400/cop410ds.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cop400/cop420ds.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cop400/cop420ds.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cop400/cop444ds.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cop400/cop444ds.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cop400/cop424ds.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cop400/cop424ds.h")
+end
+
+--------------------------------------------------
+-- CP1610
+--@src/devices/cpu/cp1610/cp1610.h,CPUS["CP1610"] = true
+--------------------------------------------------
+
+if (CPUS["CP1610"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/cp1610/cp1610.cpp",
+ MAME_DIR .. "src/devices/cpu/cp1610/cp1610.h",
+ }
+end
+
+if (CPUS["CP1610"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cp1610/1610dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cp1610/1610dasm.h")
+end
+
+--------------------------------------------------
+-- Cinematronics vector "CPU"
+--@src/devices/cpu/ccpu/ccpu.h,CPUS["CCPU"] = true
+--------------------------------------------------
+
+if (CPUS["CCPU"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/ccpu/ccpu.cpp",
+ MAME_DIR .. "src/devices/cpu/ccpu/ccpu.h",
+ }
+end
+
+if (CPUS["CCPU"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ccpu/ccpudasm.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ccpu/ccpudasm.cpp")
+end
+
+--------------------------------------------------
+-- DEC T-11
+--@src/devices/cpu/t11/t11.h,CPUS["T11"] = true
+--------------------------------------------------
+
+if (CPUS["T11"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/t11/t11.cpp",
+ MAME_DIR .. "src/devices/cpu/t11/t11.h",
+ MAME_DIR .. "src/devices/cpu/t11/t11ops.hxx",
+ MAME_DIR .. "src/devices/cpu/t11/t11table.hxx",
+ }
+end
+
+if (CPUS["T11"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/t11/t11dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/t11/t11dasm.h")
+end
+
+--------------------------------------------------
+-- DEC PDP-8
+--@src/devices/cpu/pdp8/pdp8.h,CPUS["PDP8"] = true
+--------------------------------------------------
+
+if (CPUS["PDP8"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/pdp8/pdp8.cpp",
+ MAME_DIR .. "src/devices/cpu/pdp8/pdp8.h",
+ }
+end
+
+if (CPUS["PDP8"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pdp8/pdp8dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pdp8/pdp8dasm.h")
+end
+
+--------------------------------------------------
+-- F8
+--@src/devices/cpu/f8/f8.h,CPUS["F8"] = true
+--------------------------------------------------
+
+if (CPUS["F8"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/f8/f8.cpp",
+ MAME_DIR .. "src/devices/cpu/f8/f8.h",
+ }
+end
+
+if (CPUS["F8"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/f8/f8dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/f8/f8dasm.h")
+end
+
+--------------------------------------------------
+-- G65816
+--@src/devices/cpu/g65816/g65816.h,CPUS["G65816"] = true
+--------------------------------------------------
+
+if (CPUS["G65816"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/g65816/g65816.cpp",
+ MAME_DIR .. "src/devices/cpu/g65816/g65816.h",
+ MAME_DIR .. "src/devices/cpu/g65816/g65816o0.cpp",
+ MAME_DIR .. "src/devices/cpu/g65816/g65816o1.cpp",
+ MAME_DIR .. "src/devices/cpu/g65816/g65816o2.cpp",
+ MAME_DIR .. "src/devices/cpu/g65816/g65816o3.cpp",
+ MAME_DIR .. "src/devices/cpu/g65816/g65816o4.cpp",
+ MAME_DIR .. "src/devices/cpu/g65816/g65816cm.h",
+ MAME_DIR .. "src/devices/cpu/g65816/g65816ds.h",
+ MAME_DIR .. "src/devices/cpu/g65816/g65816op.h",
+ }
+end
+
+if (CPUS["G65816"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/g65816/g65816ds.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/g65816/g65816ds.h")
+end
+
+--------------------------------------------------
+-- Hitachi H8 (16/32-bit H8/300, H8/300H, H8S2000 and H8S2600 series)
+--@src/devices/cpu/h8/h8.h,CPUS["H8"] = true
+--------------------------------------------------
+
+if (CPUS["H8"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/h8/h8.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8.h",
+ MAME_DIR .. "src/devices/cpu/h8/h8h.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8h.h",
+ MAME_DIR .. "src/devices/cpu/h8/h8s2000.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8s2000.h",
+ MAME_DIR .. "src/devices/cpu/h8/h8s2600.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8s2600.h",
+ MAME_DIR .. "src/devices/cpu/h8/h83337.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h83337.h",
+ MAME_DIR .. "src/devices/cpu/h8/h83002.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h83002.h",
+ MAME_DIR .. "src/devices/cpu/h8/h83003.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h83003.h",
+ MAME_DIR .. "src/devices/cpu/h8/h83006.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h83006.h",
+ MAME_DIR .. "src/devices/cpu/h8/h83008.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h83008.h",
+ MAME_DIR .. "src/devices/cpu/h8/h83048.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h83048.h",
+ MAME_DIR .. "src/devices/cpu/h8/h8s2245.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8s2245.h",
+ MAME_DIR .. "src/devices/cpu/h8/h8s2320.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8s2320.h",
+ MAME_DIR .. "src/devices/cpu/h8/h8s2357.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8s2357.h",
+ MAME_DIR .. "src/devices/cpu/h8/h8s2655.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8s2655.h",
+ MAME_DIR .. "src/devices/cpu/h8/h8_adc.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8_adc.h",
+ MAME_DIR .. "src/devices/cpu/h8/h8_dma.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8_dma.h",
+ MAME_DIR .. "src/devices/cpu/h8/h8_dtc.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8_dtc.h",
+ MAME_DIR .. "src/devices/cpu/h8/h8_intc.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8_intc.h",
+ MAME_DIR .. "src/devices/cpu/h8/h8_port.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8_port.h",
+ MAME_DIR .. "src/devices/cpu/h8/h8_timer8.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8_timer8.h",
+ MAME_DIR .. "src/devices/cpu/h8/h8_timer16.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8_timer16.h",
+ MAME_DIR .. "src/devices/cpu/h8/h8_sci.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8_sci.h",
+ MAME_DIR .. "src/devices/cpu/h8/h8_watchdog.cpp",
+ MAME_DIR .. "src/devices/cpu/h8/h8_watchdog.h",
+ }
+
+ dependency {
+ { MAME_DIR .. "src/devices/cpu/h8/h8.cpp", GEN_DIR .. "emu/cpu/h8/h8.hxx" },
+ { MAME_DIR .. "src/devices/cpu/h8/h8h.cpp", GEN_DIR .. "emu/cpu/h8/h8h.hxx" },
+ { MAME_DIR .. "src/devices/cpu/h8/h8s2000.cpp", GEN_DIR .. "emu/cpu/h8/h8s2000.hxx" },
+ { MAME_DIR .. "src/devices/cpu/h8/h8s2600.cpp", GEN_DIR .. "emu/cpu/h8/h8s2600.hxx" },
+ }
+
+ custombuildtask {
+ { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8-300 source file...", PYTHON .. " $(1) $(<) s o $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8h.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8-300H source file...", PYTHON .. " $(1) $(<) s h $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8s2000.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8S/2000 source file...", PYTHON .. " $(1) $(<) s s20 $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8s2600.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8S/2600 source file...", PYTHON .. " $(1) $(<) s s26 $(@)" }},
+ }
+end
+
+if (CPUS["H8"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8d.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8-300 disassembler source file...", PYTHON .. " $(1) $(<) d o $(@)" }})
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8hd.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8-300H disassembler source file...", PYTHON .. " $(1) $(<) d h $(@)" }})
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8s2000d.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8S/2000 disassembler source file...", PYTHON .. " $(1) $(<) d s20 $(@)" }})
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8s2600d.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8S/2600 disassembler source file...", PYTHON .. " $(1) $(<) d s26 $(@)" }})
+
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/h8/h8d.cpp", GEN_DIR .. "emu/cpu/h8/h8d.hxx" })
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/h8/h8hd.cpp", GEN_DIR .. "emu/cpu/h8/h8hd.hxx" })
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/h8/h8s2000d.cpp", GEN_DIR .. "emu/cpu/h8/h8s2000d.hxx" })
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/h8/h8s2600d.cpp", GEN_DIR .. "emu/cpu/h8/h8s2600d.hxx" })
+
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/h8/h8d.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/h8/h8d.h")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/h8/h8hd.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/h8/h8hd.h")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/h8/h8s2000d.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/h8/h8s2000d.h")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/h8/h8s2600d.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/h8/h8s2600d.h")
+end
+
+--------------------------------------------------
+-- Hitachi HCD62121
+--@src/devices/cpu/hcd62121/hcd62121.h,CPUS["HCD62121"] = true
+--------------------------------------------------
+
+if (CPUS["HCD62121"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/hcd62121/hcd62121.cpp",
+ MAME_DIR .. "src/devices/cpu/hcd62121/hcd62121.h",
+ }
+end
+
+if (CPUS["HCD62121"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hcd62121/hcd62121d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hcd62121/hcd62121d.h")
+end
+
+--------------------------------------------------
+-- Hitachi HMCS40 series
+--@src/devices/cpu/hmcs40/hmcs40.h,CPUS["HMCS40"] = true
+--------------------------------------------------
+
+if (CPUS["HMCS40"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/hmcs40/hmcs40.cpp",
+ MAME_DIR .. "src/devices/cpu/hmcs40/hmcs40.h",
+ MAME_DIR .. "src/devices/cpu/hmcs40/hmcs40op.cpp",
+ }
+end
+
+if (CPUS["HMCS40"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hmcs40/hmcs40d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hmcs40/hmcs40d.h")
+end
+
+--------------------------------------------------
+-- Hitachi SuperH series (SH1/SH2/SH3/SH4)
+--@src/devices/cpu/sh/sh2.h,CPUS["SH"] = true
+--@src/devices/cpu/sh/sh4.h,CPUS["SH"] = true
+--------------------------------------------------
+
+if (CPUS["SH"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/sh/sh.cpp",
+ MAME_DIR .. "src/devices/cpu/sh/sh.h",
+ MAME_DIR .. "src/devices/cpu/sh/sh2.cpp",
+ MAME_DIR .. "src/devices/cpu/sh/sh2.h",
+ MAME_DIR .. "src/devices/cpu/sh/sh2comn.cpp",
+ MAME_DIR .. "src/devices/cpu/sh/sh2comn.h",
+ MAME_DIR .. "src/devices/cpu/sh/sh_fe.cpp",
+ MAME_DIR .. "src/devices/cpu/sh/sh2fe.cpp",
+ MAME_DIR .. "src/devices/cpu/sh/sh4fe.cpp",
+ MAME_DIR .. "src/devices/cpu/sh/sh7604_bus.cpp",
+ MAME_DIR .. "src/devices/cpu/sh/sh7604_bus.h",
+ MAME_DIR .. "src/devices/cpu/sh/sh7604_sci.cpp",
+ MAME_DIR .. "src/devices/cpu/sh/sh7604_sci.h",
+ MAME_DIR .. "src/devices/cpu/sh/sh7604_wdt.cpp",
+ MAME_DIR .. "src/devices/cpu/sh/sh7604_wdt.h",
+ MAME_DIR .. "src/devices/cpu/sh/sh4.cpp",
+ MAME_DIR .. "src/devices/cpu/sh/sh4.h",
+ MAME_DIR .. "src/devices/cpu/sh/sh4comn.cpp",
+ MAME_DIR .. "src/devices/cpu/sh/sh4comn.h",
+ MAME_DIR .. "src/devices/cpu/sh/sh3comn.cpp",
+ MAME_DIR .. "src/devices/cpu/sh/sh3comn.h",
+ MAME_DIR .. "src/devices/cpu/sh/sh4tmu.cpp",
+ MAME_DIR .. "src/devices/cpu/sh/sh4tmu.h",
+ MAME_DIR .. "src/devices/cpu/sh/sh4dmac.cpp",
+ MAME_DIR .. "src/devices/cpu/sh/sh4dmac.h",
+ MAME_DIR .. "src/devices/cpu/sh/sh4regs.h",
+ }
+end
+
+if (CPUS["SH"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sh/sh_dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sh/sh_dasm.h")
+end
+
+--------------------------------------------------
+-- STmicro ST62xx
+--@src/devices/cpu/st62xx/st62xx.h,CPUS["ST62XX"] = true
+--------------------------------------------------
+
+if (CPUS["ST62XX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/st62xx/st62xx.cpp",
+ MAME_DIR .. "src/devices/cpu/st62xx/st62xx.h",
+ }
+end
+
+if (CPUS["ST62XX"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/st62xx/st62xx_dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/st62xx/st62xx_dasm.h")
+end
+
+--------------------------------------------------
+-- HP Hybrid processor
+--@src/devices/cpu/hphybrid/hphybrid.h,CPUS["HPHYBRID"] = true
+--------------------------------------------------
+
+if (CPUS["HPHYBRID"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/hphybrid/hphybrid.cpp",
+ MAME_DIR .. "src/devices/cpu/hphybrid/hphybrid.h",
+ }
+end
+
+if (CPUS["HPHYBRID"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hphybrid/hphybrid_dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hphybrid/hphybrid_dasm.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hphybrid/hphybrid_defs.h")
+end
+
+--------------------------------------------------
+-- HP Nanoprocessor
+--@src/devices/cpu/nanoprocessor/nanoprocessor.h,CPUS["NANOPROCESSOR"] = true
+--------------------------------------------------
+
+if (CPUS["NANOPROCESSOR"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/nanoprocessor/nanoprocessor.cpp",
+ MAME_DIR .. "src/devices/cpu/nanoprocessor/nanoprocessor.h",
+ }
+end
+
+if (CPUS["NANOPROCESSOR"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nanoprocessor/nanoprocessor_dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nanoprocessor/nanoprocessor_dasm.h")
+end
+
+--------------------------------------------------
+-- HP Capricorn
+--@src/devices/cpu/capricorn/capricorn.h,CPUS["CAPRICORN"] = true
+--------------------------------------------------
+
+if (CPUS["CAPRICORN"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/capricorn/capricorn.cpp",
+ MAME_DIR .. "src/devices/cpu/capricorn/capricorn.h",
+ }
+end
+
+if (CPUS["CAPRICORN"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/capricorn/capricorn_dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/capricorn/capricorn_dasm.h")
+end
+
+--------------------------------------------------
+-- Hudsonsoft 6280
+--@src/devices/cpu/h6280/h6280.h,CPUS["H6280"] = true
+--------------------------------------------------
+
+if (CPUS["H6280"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/h6280/h6280.cpp",
+ MAME_DIR .. "src/devices/cpu/h6280/h6280.h",
+ }
+end
+
+if (CPUS["H6280"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/h6280/6280dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/h6280/6280dasm.h")
+end
+
+--------------------------------------------------
+-- Hyperstone E1 series
+--@src/devices/cpu/e132xs/e132xs.h,CPUS["E1"] = true
+--------------------------------------------------
+
+if (CPUS["E1"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/e132xs/e132xs.cpp",
+ MAME_DIR .. "src/devices/cpu/e132xs/e132xs.h",
+ MAME_DIR .. "src/devices/cpu/e132xs/32xsdefs.h",
+ MAME_DIR .. "src/devices/cpu/e132xs/e132xsop.hxx",
+ MAME_DIR .. "src/devices/cpu/e132xs/e132xsfe.cpp",
+ MAME_DIR .. "src/devices/cpu/e132xs/e132xsdrc.cpp",
+ MAME_DIR .. "src/devices/cpu/e132xs/e132xsdrc_ops.hxx",
+ }
+end
+
+if (CPUS["E1"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/e132xs/32xsdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/e132xs/32xsdasm.h")
+end
+
+--------------------------------------------------
+-- 15IE-00-013 CPU ("Microprogrammed Control Device")
+--@src/devices/cpu/ie15/ie15.h,CPUS["IE15"] = true
+--------------------------------------------------
+
+if (CPUS["IE15"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/ie15/ie15.cpp",
+ MAME_DIR .. "src/devices/cpu/ie15/ie15.h",
+ }
+end
+
+if (CPUS["IE15"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ie15/ie15dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ie15/ie15dasm.h")
+end
+
+--------------------------------------------------
+-- Intel MCS-40
+--@src/devices/cpu/mcs40/mcs40.h,CPUS["MCS40"] = true
+--------------------------------------------------
+
+if (CPUS["MCS40"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/mcs40/mcs40.cpp",
+ MAME_DIR .. "src/devices/cpu/mcs40/mcs40.h",
+ }
+end
+
+if (CPUS["MCS40"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs40/mcs40dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs40/mcs40dasm.h")
+end
+
+--------------------------------------------------
+-- Intel 8008
+--@src/devices/cpu/i8008/i8008.h,CPUS["I8008"] = true
+--------------------------------------------------
+
+if (CPUS["I8008"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/i8008/i8008.cpp",
+ MAME_DIR .. "src/devices/cpu/i8008/i8008.h",
+ }
+end
+
+if (CPUS["I8008"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i8008/8008dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i8008/8008dasm.h")
+end
+
+--------------------------------------------------
+-- National Semiconductor SC/MP
+--@src/devices/cpu/scmp/scmp.h,CPUS["SCMP"] = true
+--------------------------------------------------
+
+if (CPUS["SCMP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/scmp/scmp.cpp",
+ MAME_DIR .. "src/devices/cpu/scmp/scmp.h",
+ }
+end
+
+if (CPUS["SCMP"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/scmp/scmpdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/scmp/scmpdasm.h")
+end
+
+--------------------------------------------------
+-- Intel 8080/8085A
+--@src/devices/cpu/i8085/i8085.h,CPUS["I8085"] = true
+--------------------------------------------------
+
+if (CPUS["I8085"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/i8085/i8085.cpp",
+ MAME_DIR .. "src/devices/cpu/i8085/i8085.h",
+ }
+end
+
+if (CPUS["I8085"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i8085/8085dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i8085/8085dasm.h")
+end
+
+--------------------------------------------------
+-- Intel 8089
+--@src/devices/cpu/i8089/i8089.h,CPUS["I8089"] = true
+--------------------------------------------------
+
+if (CPUS["I8089"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/i8089/i8089.cpp",
+ MAME_DIR .. "src/devices/cpu/i8089/i8089.h",
+ MAME_DIR .. "src/devices/cpu/i8089/i8089_channel.cpp",
+ MAME_DIR .. "src/devices/cpu/i8089/i8089_channel.h",
+ MAME_DIR .. "src/devices/cpu/i8089/i8089_ops.cpp",
+ }
+end
+
+if (CPUS["I8089"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i8089/i8089_dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i8089/i8089_dasm.h")
+end
+
+--------------------------------------------------
+-- Intel MCS-48 (8039 and derivatives)
+--@src/devices/cpu/mcs48/mcs48.h,CPUS["MCS48"] = true
+--------------------------------------------------
+
+if (CPUS["MCS48"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/mcs48/mcs48.cpp",
+ MAME_DIR .. "src/devices/cpu/mcs48/mcs48.h",
+ }
+end
+
+if (CPUS["MCS48"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs48/mcs48dsm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs48/mcs48dsm.h")
+end
+
+--------------------------------------------------
+-- Intel 8051 and derivatives
+--@src/devices/cpu/mcs51/mcs51.h,CPUS["MCS51"] = true
+--------------------------------------------------
+
+if (CPUS["MCS51"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/mcs51/mcs51.cpp",
+ MAME_DIR .. "src/devices/cpu/mcs51/mcs51.h",
+ MAME_DIR .. "src/devices/cpu/mcs51/mcs51ops.hxx",
+ MAME_DIR .. "src/devices/cpu/mcs51/axc51-core.cpp",
+ MAME_DIR .. "src/devices/cpu/mcs51/axc51-core.h",
+ }
+end
+
+if (CPUS["MCS51"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs51/mcs51dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs51/mcs51dasm.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs51/axc51-core_dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs51/axc51-core_dasm.h")
+end
+
+--------------------------------------------------
+-- Intel MCS-96
+--@src/devices/cpu/mcs96/mcs96.h,CPUS["MCS96"] = true
+--------------------------------------------------
+
+if (CPUS["MCS96"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/mcs96/mcs96.cpp",
+ MAME_DIR .. "src/devices/cpu/mcs96/mcs96.h",
+ MAME_DIR .. "src/devices/cpu/mcs96/i8x9x.cpp",
+ MAME_DIR .. "src/devices/cpu/mcs96/i8x9x.h",
+ MAME_DIR .. "src/devices/cpu/mcs96/i8xc196.cpp",
+ MAME_DIR .. "src/devices/cpu/mcs96/i8xc196.h",
+ }
+ dependency {
+ { MAME_DIR .. "src/devices/cpu/mcs96/mcs96.cpp", GEN_DIR .. "emu/cpu/mcs96/mcs96.hxx" },
+ { MAME_DIR .. "src/devices/cpu/mcs96/i8x9x.cpp", GEN_DIR .. "emu/cpu/mcs96/i8x9x.hxx" },
+ { MAME_DIR .. "src/devices/cpu/mcs96/i8xc196.cpp", GEN_DIR .. "emu/cpu/mcs96/i8xc196.hxx" },
+ }
+
+ custombuildtask {
+ { MAME_DIR .. "src/devices/cpu/mcs96/mcs96ops.lst" , GEN_DIR .. "emu/cpu/mcs96/mcs96.hxx", { MAME_DIR .. "src/devices/cpu/mcs96/mcs96make.py" }, {"@echo Generating mcs96 source file...", PYTHON .. " $(1) s mcs96 $(<) $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/mcs96/mcs96ops.lst" , GEN_DIR .. "emu/cpu/mcs96/i8x9x.hxx", { MAME_DIR .. "src/devices/cpu/mcs96/mcs96make.py" }, {"@echo Generating i8x9x source file...", PYTHON .. " $(1) s i8x9x $(<) $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/mcs96/mcs96ops.lst" , GEN_DIR .. "emu/cpu/mcs96/i8xc196.hxx", { MAME_DIR .. "src/devices/cpu/mcs96/mcs96make.py" }, {"@echo Generating i8xc196 source file...", PYTHON .. " $(1) s i8xc196 $(<) $(@)" }},
+ }
+end
+
+if (CPUS["MCS96"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/mcs96/mcs96ops.lst", GEN_DIR .. "emu/cpu/mcs96/i8x9xd.hxx", { MAME_DIR .. "src/devices/cpu/mcs96/mcs96make.py" }, {"@echo Generating i8x9x disassembler source file...", PYTHON .. " $(1) d i8x9x $(<) $(2) $(@)" }})
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/mcs96/mcs96ops.lst", GEN_DIR .. "emu/cpu/mcs96/i8xc196d.hxx", { MAME_DIR .. "src/devices/cpu/mcs96/mcs96make.py" }, {"@echo Generating i8xc196 disassembler source file...", PYTHON .. " $(1) d i8xc196 $(<) $(2) $(@)" }})
+
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/mcs96/i8x9xd.cpp", GEN_DIR .. "emu/cpu/mcs96/i8x9xd.hxx" })
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/mcs96/i8xc196d.cpp", GEN_DIR .. "emu/cpu/mcs96/i8xc196d.hxx" })
+
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/mcs96/mcs96d.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/mcs96/i8x9xd.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/mcs96/i8xc196d.cpp")
+ end
+
+--------------------------------------------------
+-- Intel 80x86 series (also a dynamic recompiler target)
+--@src/devices/cpu/i86/i86.h,CPUS["I86"] = true
+--@src/devices/cpu/i86/i286.h,CPUS["I86"] = true
+--@src/devices/cpu/i386/i386.h,CPUS["I386"] = true
+--------------------------------------------------
+
+if (CPUS["I86"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/i86/i86.cpp",
+ MAME_DIR .. "src/devices/cpu/i86/i86.h",
+ MAME_DIR .. "src/devices/cpu/i86/i186.cpp",
+ MAME_DIR .. "src/devices/cpu/i86/i186.h",
+ MAME_DIR .. "src/devices/cpu/i86/i286.cpp",
+ MAME_DIR .. "src/devices/cpu/i86/i286.h",
+ MAME_DIR .. "src/devices/cpu/i86/i86inline.h",
+ }
+end
+
+if (CPUS["I86"]~=null or CPUS["I386"]~=null or CPU_INCLUDE_DRC or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i386/i386dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i386/i386dasm.h")
+end
+
+if (CPUS["I386"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/i386/i386.cpp",
+ MAME_DIR .. "src/devices/cpu/i386/i386.h",
+ MAME_DIR .. "src/devices/cpu/i386/athlon.cpp",
+ MAME_DIR .. "src/devices/cpu/i386/athlon.h",
+ MAME_DIR .. "src/devices/cpu/i386/cache.h",
+ MAME_DIR .. "src/devices/cpu/i386/cycles.h",
+ MAME_DIR .. "src/devices/cpu/i386/i386op16.hxx",
+ MAME_DIR .. "src/devices/cpu/i386/i386op32.hxx",
+ MAME_DIR .. "src/devices/cpu/i386/i386ops.h",
+ MAME_DIR .. "src/devices/cpu/i386/i386ops.hxx",
+ MAME_DIR .. "src/devices/cpu/i386/i386priv.h",
+ MAME_DIR .. "src/devices/cpu/i386/i386segs.hxx",
+ MAME_DIR .. "src/devices/cpu/i386/i486ops.hxx",
+ MAME_DIR .. "src/devices/cpu/i386/pentops.hxx",
+ MAME_DIR .. "src/devices/cpu/i386/x87ops.hxx",
+ MAME_DIR .. "src/devices/cpu/i386/x87priv.h",
+ MAME_DIR .. "src/devices/cpu/i386/cpuidmsrs.hxx",
+ }
+end
+
+--------------------------------------------------
+-- Intel i860
+--@src/devices/cpu/i860/i860.h,CPUS["I860"] = true
+--------------------------------------------------
+
+if (CPUS["I860"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/i860/i860.cpp",
+ MAME_DIR .. "src/devices/cpu/i860/i860.h",
+ MAME_DIR .. "src/devices/cpu/i860/i860dec.hxx",
+ }
+end
+
+if (CPUS["I860"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i860/i860dis.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i860/i860dis.h")
+end
+
+--------------------------------------------------
+-- Intel i960
+--@src/devices/cpu/i960/i960.h,CPUS["I960"] = true
+--------------------------------------------------
+
+if (CPUS["I960"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/i960/i960.cpp",
+ MAME_DIR .. "src/devices/cpu/i960/i960.h",
+ }
+end
+
+if (CPUS["I960"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i960/i960dis.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i960/i960dis.h")
+end
+
+--------------------------------------------------
+-- LH5801
+--@src/devices/cpu/lh5801/lh5801.h,CPUS["LH5801"] = true
+--------------------------------------------------
+
+if (CPUS["LH5801"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/lh5801/lh5801.cpp",
+ MAME_DIR .. "src/devices/cpu/lh5801/lh5801.h",
+ MAME_DIR .. "src/devices/cpu/lh5801/5801tbl.hxx",
+ }
+end
+
+if (CPUS["LH5801"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/lh5801/5801dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/lh5801/5801dasm.h")
+end
+--------
+------------------------------------------
+-- Manchester Small-Scale Experimental Machine
+--@src/devices/cpu/ssem/ssem.h,CPUS["SSEM"] = true
+--------------------------------------------------
+
+if (CPUS["SSEM"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/ssem/ssem.cpp",
+ MAME_DIR .. "src/devices/cpu/ssem/ssem.h",
+ }
+end
+
+if (CPUS["SSEM"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ssem/ssemdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ssem/ssemdasm.h")
+end
+
+------------------------------------------
+-- Diablo Systems printer CPU
+--@src/devices/cpu/diablo/diablo1300.h,CPUS["DIABLO"] = true
+--------------------------------------------------
+
+if (CPUS["DIABLO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/diablo/diablo1300.cpp",
+ MAME_DIR .. "src/devices/cpu/diablo/diablo1300.h",
+ }
+end
+
+if (CPUS["DIABLO"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/diablo/diablo1300dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ssem/diablo1300dasm.h")
+end
+
+--------------------------------------------------
+-- Fujitsu MB88xx
+--@src/devices/cpu/mb88xx/mb88xx.h,CPUS["MB88XX"] = true
+--------------------------------------------------
+
+if (CPUS["MB88XX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/mb88xx/mb88xx.cpp",
+ MAME_DIR .. "src/devices/cpu/mb88xx/mb88xx.h",
+ }
+end
+
+if (CPUS["MB88XX"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mb88xx/mb88dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mb88xx/mb88dasm.h")
+end
+
+--------------------------------------------------
+-- Fujitsu MB86233
+--@src/devices/cpu/mb86233/mb86233.h,CPUS["MB86233"] = true
+--------------------------------------------------
+
+if (CPUS["MB86233"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/mb86233/mb86233.cpp",
+ MAME_DIR .. "src/devices/cpu/mb86233/mb86233.h",
+ }
+end
+
+if (CPUS["MB86233"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mb86233/mb86233d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mb86233/mb86233d.h")
+end
+
+--------------------------------------------------
+-- Fujitsu MB86235
+--@src/devices/cpu/mb86235/mb86235.h,CPUS["MB86235"] = true
+--------------------------------------------------
+
+if (CPUS["MB86235"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/mb86235/mb86235.cpp",
+ MAME_DIR .. "src/devices/cpu/mb86235/mb86235.h",
+ MAME_DIR .. "src/devices/cpu/mb86235/mb86235drc.cpp",
+ MAME_DIR .. "src/devices/cpu/mb86235/mb86235fe.cpp",
+ MAME_DIR .. "src/devices/cpu/mb86235/mb86235fe.h",
+ MAME_DIR .. "src/devices/cpu/mb86235/mb86235ops.cpp",
+ }
+end
+
+if (CPUS["MB86235"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mb86235/mb86235d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mb86235/mb86235d.h")
+end
+
+--------------------------------------------------
+-- Microchip PIC16C5x
+--@src/devices/cpu/pic16c5x/pic16c5x.h,CPUS["PIC16C5X"] = true
+--------------------------------------------------
+
+if (CPUS["PIC16C5X"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/pic16c5x/pic16c5x.cpp",
+ MAME_DIR .. "src/devices/cpu/pic16c5x/pic16c5x.h",
+ }
+end
+
+if (CPUS["PIC16C5X"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pic16c5x/16c5xdsm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pic16c5x/16c5xdsm.h")
+end
+
+--------------------------------------------------
+-- Microchip PIC16C62x
+--@src/devices/cpu/pic16c62x/pic16c62x.h,CPUS["PIC16C62X"] = true
+--------------------------------------------------
+
+if (CPUS["PIC16C62X"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/pic16c62x/pic16c62x.cpp",
+ MAME_DIR .. "src/devices/cpu/pic16c62x/pic16c62x.h",
+ }
+end
+
+if (CPUS["PIC16C62X"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pic16c62x/16c62xdsm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pic16c62x/16c62xdsm.h")
+end
+
+--------------------------------------------------
+-- MIPS R3000 (MIPS I/II) series
+--@src/devices/cpu/mips/mips1.h,CPUS["MIPS1"] = true
+--------------------------------------------------
+
+if (CPUS["MIPS1"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/mips/mips1.cpp",
+ MAME_DIR .. "src/devices/cpu/mips/mips1.h",
+ }
+end
+
+if (CPUS["MIPS1"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mips/mips1dsm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mips/mips1dsm.h")
+end
+
+--------------------------------------------------
+-- MIPS R4000 (MIPS III/IV) series
+--@src/devices/cpu/mips/mips3.h,CPUS["MIPS3"] = true
+--@src/devices/cpu/mips/r4000.h,CPUS["MIPS3"] = true
+--------------------------------------------------
+
+if (CPUS["MIPS3"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/mips/mips3com.cpp",
+ MAME_DIR .. "src/devices/cpu/mips/mips3com.h",
+ MAME_DIR .. "src/devices/cpu/mips/mips3.cpp",
+ MAME_DIR .. "src/devices/cpu/mips/mips3.h",
+ MAME_DIR .. "src/devices/cpu/mips/mips3fe.cpp",
+ MAME_DIR .. "src/devices/cpu/mips/mips3fe.h",
+ MAME_DIR .. "src/devices/cpu/mips/mips3drc.cpp",
+ MAME_DIR .. "src/devices/cpu/mips/o2dprintf.hxx",
+ MAME_DIR .. "src/devices/cpu/mips/ps2vu.cpp",
+ MAME_DIR .. "src/devices/cpu/mips/ps2vu.h",
+ MAME_DIR .. "src/devices/cpu/mips/ps2vif1.cpp",
+ MAME_DIR .. "src/devices/cpu/mips/ps2vif1.h",
+ MAME_DIR .. "src/devices/cpu/mips/r4000.cpp",
+ MAME_DIR .. "src/devices/cpu/mips/r4000.h",
+ }
+end
+
+if (CPUS["MIPS3"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mips/mips3dsm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mips/mips3dsm.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mips/vudasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mips/vudasm.h")
+end
+
+--------------------------------------------------
+-- Sony PlayStation CPU (R3000-based + GTE)
+--@src/devices/cpu/psx/psx.h,CPUS["PSX"] = true
+--------------------------------------------------
+
+if (CPUS["PSX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/psx/psx.cpp",
+ MAME_DIR .. "src/devices/cpu/psx/psx.h",
+ MAME_DIR .. "src/devices/cpu/psx/psxdefs.h",
+ MAME_DIR .. "src/devices/cpu/psx/gte.cpp",
+ MAME_DIR .. "src/devices/cpu/psx/gte.h",
+ MAME_DIR .. "src/devices/cpu/psx/dma.cpp",
+ MAME_DIR .. "src/devices/cpu/psx/dma.h",
+ MAME_DIR .. "src/devices/cpu/psx/irq.cpp",
+ MAME_DIR .. "src/devices/cpu/psx/irq.h",
+ MAME_DIR .. "src/devices/cpu/psx/mdec.cpp",
+ MAME_DIR .. "src/devices/cpu/psx/mdec.h",
+ MAME_DIR .. "src/devices/cpu/psx/rcnt.cpp",
+ MAME_DIR .. "src/devices/cpu/psx/rcnt.h",
+ MAME_DIR .. "src/devices/cpu/psx/sio.cpp",
+ MAME_DIR .. "src/devices/cpu/psx/sio.h",
+ }
+end
+
+if (CPUS["PSX"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/psx/psxdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/psx/psxdasm.h")
+end
+
+--------------------------------------------------
+-- Mitsubishi MELPS 4 series
+--@src/devices/cpu/melps4/melps4.h,CPUS["MELPS4"] = true
+--------------------------------------------------
+
+if (CPUS["MELPS4"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/melps4/melps4.cpp",
+ MAME_DIR .. "src/devices/cpu/melps4/melps4.h",
+ MAME_DIR .. "src/devices/cpu/melps4/melps4op.cpp",
+ MAME_DIR .. "src/devices/cpu/melps4/m58846.cpp",
+ MAME_DIR .. "src/devices/cpu/melps4/m58846.h",
+ }
+end
+
+if (CPUS["MELPS4"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/melps4/melps4d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/melps4/melps4d.h")
+end
+
+--------------------------------------------------
+-- Mitsubishi M37702 and M37710 (based on 65C816)
+--@src/devices/cpu/m37710/m37710.h,CPUS["M37710"] = true
+--------------------------------------------------
+
+if (CPUS["M37710"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/m37710/m37710.cpp",
+ MAME_DIR .. "src/devices/cpu/m37710/m37710.h",
+ MAME_DIR .. "src/devices/cpu/m37710/m37710o0.cpp",
+ MAME_DIR .. "src/devices/cpu/m37710/m37710o1.cpp",
+ MAME_DIR .. "src/devices/cpu/m37710/m37710o2.cpp",
+ MAME_DIR .. "src/devices/cpu/m37710/m37710o3.cpp",
+ MAME_DIR .. "src/devices/cpu/m37710/m37710cm.h",
+ MAME_DIR .. "src/devices/cpu/m37710/m37710il.h",
+ MAME_DIR .. "src/devices/cpu/m37710/m37710op.h",
+ }
+end
+
+if (CPUS["M37710"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m37710/m7700ds.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m37710/m7700ds.h")
+end
+
+--------------------------------------------------
+-- Mostek 6502 and its many derivatives
+--@src/devices/cpu/m6502/m6502.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/deco16.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/m4510.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/m65ce02.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/m65c02.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/r65c02.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/m65sc02.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/m6500_1.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/m6504.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/m6507.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/m6509.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/m6510.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/m6510t.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/m7501.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/m8502.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/n2a03.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/m740.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/m3745x.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/m5074x.h,CPUS["M6502"] = true
+--@src/devices/cpu/m6502/xavix.h,CPUS["XAVIX"] = true
+--@src/devices/cpu/m6502/xavix.h,CPUS["XAVIX2000"] = true
+
+--------------------------------------------------
+
+if (CPUS["M6502"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/m6502/deco16.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/deco16.h",
+ MAME_DIR .. "src/devices/cpu/m6502/m4510.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/m4510.h",
+ MAME_DIR .. "src/devices/cpu/m6502/m6502.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/m6502.h",
+ MAME_DIR .. "src/devices/cpu/m6502/m65c02.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/m65c02.h",
+ MAME_DIR .. "src/devices/cpu/m6502/m65ce02.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/m65ce02.h",
+ MAME_DIR .. "src/devices/cpu/m6502/m65sc02.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/m65sc02.h",
+ MAME_DIR .. "src/devices/cpu/m6502/m6500_1.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/m6500_1.h",
+ MAME_DIR .. "src/devices/cpu/m6502/m6504.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/m6504.h",
+ MAME_DIR .. "src/devices/cpu/m6502/m6507.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/m6507.h",
+ MAME_DIR .. "src/devices/cpu/m6502/m6509.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/m6509.h",
+ MAME_DIR .. "src/devices/cpu/m6502/m6510.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/m6510.h",
+ MAME_DIR .. "src/devices/cpu/m6502/m6510t.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/m6510t.h",
+ MAME_DIR .. "src/devices/cpu/m6502/m7501.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/m7501.h",
+ MAME_DIR .. "src/devices/cpu/m6502/m8502.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/m8502.h",
+ MAME_DIR .. "src/devices/cpu/m6502/n2a03.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/n2a03.h",
+ MAME_DIR .. "src/devices/cpu/m6502/r65c02.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/r65c02.h",
+ MAME_DIR .. "src/devices/cpu/m6502/m740.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/m740.h",
+ MAME_DIR .. "src/devices/cpu/m6502/m3745x.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/m3745x.h",
+ MAME_DIR .. "src/devices/cpu/m6502/m5074x.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/m5074x.h",
+ MAME_DIR .. "src/devices/cpu/m6502/xavix.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/xavix.h",
+ MAME_DIR .. "src/devices/cpu/m6502/xavix2000.cpp",
+ MAME_DIR .. "src/devices/cpu/m6502/xavix2000.h",
+ }
+
+ custombuildtask {
+ { MAME_DIR .. "src/devices/cpu/m6502/odeco16.lst", GEN_DIR .. "emu/cpu/m6502/deco16.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/ddeco16.lst" }, {"@echo Generating deco16 disassembler source file...", PYTHON .. " $(1) s deco16 $(<) $(2) $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/m6502/om4510.lst", GEN_DIR .. "emu/cpu/m6502/m4510.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm4510.lst" }, {"@echo Generating m4510 disassembler source file...", PYTHON .. " $(1) s m4510 $(<) $(2) $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/m6502/om6502.lst", GEN_DIR .. "emu/cpu/m6502/m6502.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm6502.lst" }, {"@echo Generating m6502 disassembler source file...", PYTHON .. " $(1) s m6502 $(<) $(2) $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/m6502/om65c02.lst", GEN_DIR .. "emu/cpu/m6502/m65c02.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm65c02.lst" }, {"@echo Generating m65c02 disassembler source file...", PYTHON .. " $(1) s m65c02 $(<) $(2) $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/m6502/om65ce02.lst", GEN_DIR .. "emu/cpu/m6502/m65ce02.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm65ce02.lst" }, {"@echo Generating m65ce02 disassembler source file...", PYTHON .. " $(1) s m65ce02 $(<) $(2) $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/m6502/om6509.lst", GEN_DIR .. "emu/cpu/m6502/m6509.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm6509.lst" }, {"@echo Generating m6509 disassembler source file...", PYTHON .. " $(1) s m6509 $(<) $(2) $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/m6502/om6510.lst", GEN_DIR .. "emu/cpu/m6502/m6510.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm6510.lst" }, {"@echo Generating m6510 disassembler source file...", PYTHON .. " $(1) s m6510 $(<) $(2) $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/m6502/on2a03.lst", GEN_DIR .. "emu/cpu/m6502/n2a03.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dn2a03.lst" }, {"@echo Generating n2a03 disassembler source file...", PYTHON .. " $(1) s n2a03 $(<) $(2) $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/m6502/om740.lst" , GEN_DIR .. "emu/cpu/m6502/m740.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm740.lst" }, {"@echo Generating m740 disassembler source file...", PYTHON .. " $(1) s m740 $(<) $(2) $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/m6502/dr65c02.lst", GEN_DIR .. "emu/cpu/m6502/r65c02.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", }, {"@echo Generating r65c02 disassembler source file...", PYTHON .. " $(1) s r65c02 - $(<) $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/m6502/oxavix.lst", GEN_DIR .. "emu/cpu/m6502/xavix.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dxavix.lst" }, {"@echo Generating xavix disassembler source file...", PYTHON .. " $(1) s xavix $(<) $(2) $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/m6502/oxavix2000.lst", GEN_DIR .. "emu/cpu/m6502/xavix2000.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dxavix2000.lst" }, {"@echo Generating xavix2000 disassembler source file...", PYTHON .. " $(1) s xavix2000 $(<) $(2) $(@)" }},
+ }
+
+ dependency {
+ { MAME_DIR .. "src/devices/cpu/m6502/deco16.cpp", GEN_DIR .. "emu/cpu/m6502/deco16.hxx" },
+ { MAME_DIR .. "src/devices/cpu/m6502/m4510.cpp", GEN_DIR .. "emu/cpu/m6502/m4510.hxx" },
+ { MAME_DIR .. "src/devices/cpu/m6502/m6502.cpp", GEN_DIR .. "emu/cpu/m6502/m6502.hxx" },
+ { MAME_DIR .. "src/devices/cpu/m6502/m65c02.cpp", GEN_DIR .. "emu/cpu/m6502/m65c02.hxx" },
+ { MAME_DIR .. "src/devices/cpu/m6502/m65ce02.cpp", GEN_DIR .. "emu/cpu/m6502/m65ce02.hxx" },
+ { MAME_DIR .. "src/devices/cpu/m6502/m6509.cpp", GEN_DIR .. "emu/cpu/m6502/m6509.hxx" },
+ { MAME_DIR .. "src/devices/cpu/m6502/m6510.cpp", GEN_DIR .. "emu/cpu/m6502/m6510.hxx" },
+ { MAME_DIR .. "src/devices/cpu/m6502/n2a03.cpp", GEN_DIR .. "emu/cpu/m6502/n2a03.hxx" },
+ { MAME_DIR .. "src/devices/cpu/m6502/r65c02.cpp", GEN_DIR .. "emu/cpu/m6502/r65c02.hxx" },
+ { MAME_DIR .. "src/devices/cpu/m6502/m740.cpp", GEN_DIR .. "emu/cpu/m6502/m740.hxx" },
+ { MAME_DIR .. "src/devices/cpu/m6502/xavix.cpp", GEN_DIR .. "emu/cpu/m6502/xavix.hxx" },
+ { MAME_DIR .. "src/devices/cpu/m6502/xavix2000.cpp", GEN_DIR .. "emu/cpu/m6502/xavix2000.hxx" },
+ }
+end
+
+if (CPUS["M6502"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/odeco16.lst", GEN_DIR .. "emu/cpu/m6502/deco16d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/ddeco16.lst" }, {"@echo Generating deco16 disassembler source file...", PYTHON .. " $(1) d deco16 $(<) $(2) $(@)" }})
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/om4510.lst", GEN_DIR .. "emu/cpu/m6502/m4510d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm4510.lst" }, {"@echo Generating m4510 disassembler source file...", PYTHON .. " $(1) d m4510 $(<) $(2) $(@)" }})
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/om6502.lst", GEN_DIR .. "emu/cpu/m6502/m6502d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm6502.lst" }, {"@echo Generating m6502 disassembler source file...", PYTHON .. " $(1) d m6502 $(<) $(2) $(@)" }})
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/om65c02.lst", GEN_DIR .. "emu/cpu/m6502/m65c02d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm65c02.lst" }, {"@echo Generating m65c02 disassembler source file...", PYTHON .. " $(1) d m65c02 $(<) $(2) $(@)" }})
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/om65ce02.lst", GEN_DIR .. "emu/cpu/m6502/m65ce02d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm65ce02.lst" }, {"@echo Generating m65ce02 disassembler source file...", PYTHON .. " $(1) d m65ce02 $(<) $(2) $(@)" }})
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/om6509.lst", GEN_DIR .. "emu/cpu/m6502/m6509d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm6509.lst" }, {"@echo Generating m6509 disassembler source file...", PYTHON .. " $(1) d m6509 $(<) $(2) $(@)" }})
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/om6510.lst", GEN_DIR .. "emu/cpu/m6502/m6510d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm6510.lst" }, {"@echo Generating m6510 disassembler source file...", PYTHON .. " $(1) d m6510 $(<) $(2) $(@)" }})
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/on2a03.lst", GEN_DIR .. "emu/cpu/m6502/n2a03d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dn2a03.lst" }, {"@echo Generating n2a03 disassembler source file...", PYTHON .. " $(1) d n2a03 $(<) $(2) $(@)" }})
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/om740.lst" , GEN_DIR .. "emu/cpu/m6502/m740d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm740.lst" }, {"@echo Generating m740 disassembler source file...", PYTHON .. " $(1) d m740 $(<) $(2) $(@)" }})
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/dr65c02.lst", GEN_DIR .. "emu/cpu/m6502/r65c02d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", }, {"@echo Generating r65c02 disassembler source file...", PYTHON .. " $(1) d r65c02 - $(<) $(@)" }})
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/oxavix.lst", GEN_DIR .. "emu/cpu/m6502/xavixd.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dxavix.lst" }, {"@echo Generating xavix disassembler source file...", PYTHON .. " $(1) d xavix $(<) $(2) $(@)" }})
+ table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/oxavix2000.lst", GEN_DIR .. "emu/cpu/m6502/xavix2000d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dxavix2000.lst" }, {"@echo Generating xavix2000 disassembler source file...", PYTHON .. " $(1) d xavix2000 $(<) $(2) $(@)" }})
+
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/deco16d.cpp", GEN_DIR .. "emu/cpu/m6502/deco16d.hxx" })
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/m4510d.cpp", GEN_DIR .. "emu/cpu/m6502/m4510d.hxx" })
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/m6502d.cpp", GEN_DIR .. "emu/cpu/m6502/m6502d.hxx" })
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/m65c02d.cpp", GEN_DIR .. "emu/cpu/m6502/m65c02d.hxx" })
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/m65ce02d.cpp", GEN_DIR .. "emu/cpu/m6502/m65ce02d.hxx" })
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/m6509d.cpp", GEN_DIR .. "emu/cpu/m6502/m6509d.hxx" })
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/m6510d.cpp", GEN_DIR .. "emu/cpu/m6502/m6510d.hxx" })
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/n2a03d.cpp", GEN_DIR .. "emu/cpu/m6502/n2a03d.hxx" })
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/r65c02d.cpp", GEN_DIR .. "emu/cpu/m6502/r65c02d.hxx" })
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/m740d.cpp", GEN_DIR .. "emu/cpu/m6502/m740d.hxx" })
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/xavixd.cpp", GEN_DIR .. "emu/cpu/m6502/xavixd.hxx" })
+ table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/xavix2000d.cpp", GEN_DIR .. "emu/cpu/m6502/xavix2000d.hxx" })
+
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/deco16d.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/deco16d.h")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m4510d.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m4510d.h")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m6502d.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m6502d.h")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m6509d.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m6509d.h")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m6510d.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m6510d.h")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m65c02d.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m65c02d.h")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m65ce02d.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m65ce02d.h")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m740d.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m740d.h")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/n2a03d.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/n2a03d.h")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/r65c02d.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/r65c02d.h")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/xavixd.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/xavixd.h")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/xavix2000d.cpp")
+ table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/xavix2000d.h")
+end
+
+--------------------------------------------------
+-- Motorola 680x
+--@src/devices/cpu/m6800/m6800.h,CPUS["M6800"] = true
+--@src/devices/cpu/m6800/m6801.h,CPUS["M6800"] = true
+--------------------------------------------------
+
+if (CPUS["M6800"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/m6800/m6800.cpp",
+ MAME_DIR .. "src/devices/cpu/m6800/m6800.h",
+ MAME_DIR .. "src/devices/cpu/m6800/m6801.cpp",
+ MAME_DIR .. "src/devices/cpu/m6800/m6801.h",
+ MAME_DIR .. "src/devices/cpu/m6800/6800ops.hxx",
+ MAME_DIR .. "src/devices/cpu/m6800/6800tbl.hxx",
+ }
+end
+
+if (CPUS["M6800"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m6800/6800dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m6800/6800dasm.h")
+end
+
+--------------------------------------------------
+-- Motorola 6805
+--@src/devices/cpu/m6805/m6805.h,CPUS["M6805"] = true
+--------------------------------------------------
+
+if (CPUS["M6805"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/m6805/m6805.cpp",
+ MAME_DIR .. "src/devices/cpu/m6805/m6805.h",
+ MAME_DIR .. "src/devices/cpu/m6805/m6805defs.h",
+ MAME_DIR .. "src/devices/cpu/m6805/6805ops.hxx",
+ MAME_DIR .. "src/devices/cpu/m6805/m68705.cpp",
+ MAME_DIR .. "src/devices/cpu/m6805/m68705.h",
+ MAME_DIR .. "src/devices/cpu/m6805/m68hc05.cpp",
+ MAME_DIR .. "src/devices/cpu/m6805/m68hc05.h",
+ }
+end
+
+if (CPUS["M6805"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m6805/6805dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m6805/6805dasm.h")
+end
+
+--------------------------------------------------
+-- Motorola 6809
+--@src/devices/cpu/m6809/m6809.h,CPUS["M6809"] = true
+--@src/devices/cpu/m6809/hd6309.h,CPUS["M6809"] = true
+--@src/devices/cpu/m6809/konami.h,CPUS["M6809"] = true
+--------------------------------------------------
+
+if (CPUS["M6809"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/m6809/m6809.cpp",
+ MAME_DIR .. "src/devices/cpu/m6809/m6809.h",
+ MAME_DIR .. "src/devices/cpu/m6809/hd6309.cpp",
+ MAME_DIR .. "src/devices/cpu/m6809/hd6309.h",
+ MAME_DIR .. "src/devices/cpu/m6809/konami.cpp",
+ MAME_DIR .. "src/devices/cpu/m6809/konami.h",
+ MAME_DIR .. "src/devices/cpu/m6809/m6809inl.h",
+ }
+
+ dependency {
+ { MAME_DIR .. "src/devices/cpu/m6809/m6809.cpp", GEN_DIR .. "emu/cpu/m6809/m6809.hxx" },
+ { MAME_DIR .. "src/devices/cpu/m6809/hd6309.cpp", GEN_DIR .. "emu/cpu/m6809/hd6309.hxx" },
+ { MAME_DIR .. "src/devices/cpu/m6809/konami.cpp", GEN_DIR .. "emu/cpu/m6809/konami.hxx" },
+ }
+
+ custombuildtask {
+ { MAME_DIR .. "src/devices/cpu/m6809/m6809.ops" , GEN_DIR .. "emu/cpu/m6809/m6809.hxx", { MAME_DIR .. "src/devices/cpu/m6809/m6809make.py" , MAME_DIR .. "src/devices/cpu/m6809/base6x09.ops" }, {"@echo Generating m6809 source file...", PYTHON .. " $(1) $(<) > $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/m6809/hd6309.ops" , GEN_DIR .. "emu/cpu/m6809/hd6309.hxx", { MAME_DIR .. "src/devices/cpu/m6809/m6809make.py" , MAME_DIR .. "src/devices/cpu/m6809/base6x09.ops" }, {"@echo Generating hd6309 source file...", PYTHON .. " $(1) $(<) > $(@)" }},
+ { MAME_DIR .. "src/devices/cpu/m6809/konami.ops" , GEN_DIR .. "emu/cpu/m6809/konami.hxx", { MAME_DIR .. "src/devices/cpu/m6809/m6809make.py" , MAME_DIR .. "src/devices/cpu/m6809/base6x09.ops" }, {"@echo Generating konami source file...", PYTHON .. " $(1) $(<) > $(@)" }},
+ }
+end
+
+if (CPUS["M6809"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m6809/6x09dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m6809/6x09dasm.h")
+end
+
+--------------------------------------------------
+-- Motorola 68HC11
+--@src/devices/cpu/mc68hc11/mc68hc11.h,CPUS["MC68HC11"] = true
+--------------------------------------------------
+
+if (CPUS["MC68HC11"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/mc68hc11/mc68hc11.cpp",
+ MAME_DIR .. "src/devices/cpu/mc68hc11/mc68hc11.h",
+ MAME_DIR .. "src/devices/cpu/mc68hc11/hc11ops.h",
+ MAME_DIR .. "src/devices/cpu/mc68hc11/hc11ops.hxx",
+ }
+end
+
+if (CPUS["MC68HC11"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mc68hc11/hc11dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mc68hc11/hc11dasm.h")
+end
+
+--------------------------------------------------
+-- Motorola 68000 series
+--@src/devices/cpu/m68000/m68000.h,CPUS["M680X0"] = true
+--------------------------------------------------
+
+if (CPUS["M680X0"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/m68000/m68kcpu.cpp",
+ MAME_DIR .. "src/devices/cpu/m68000/m68kcpu.h",
+ MAME_DIR .. "src/devices/cpu/m68000/m68kops.cpp",
+ MAME_DIR .. "src/devices/cpu/m68000/m68kops.h",
+ MAME_DIR .. "src/devices/cpu/m68000/m68000.h",
+ MAME_DIR .. "src/devices/cpu/m68000/m68kfpu.hxx",
+ MAME_DIR .. "src/devices/cpu/m68000/m68kmmu.h",
+ }
+end
+
+if (CPUS["M680X0"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m68000/m68kdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m68000/m68kdasm.h")
+end
+
+--------------------------------------------------
+-- Motorola/Freescale dsp56k
+--@src/devices/cpu/dsp56k/dsp56k.h,CPUS["DSP56156"] = true
+--------------------------------------------------
+
+if (CPUS["DSP56156"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/dsp56k/dsp56k.cpp",
+ MAME_DIR .. "src/devices/cpu/dsp56k/dsp56k.h",
+ MAME_DIR .. "src/devices/cpu/dsp56k/dsp56mem.cpp",
+ MAME_DIR .. "src/devices/cpu/dsp56k/dsp56mem.h",
+ MAME_DIR .. "src/devices/cpu/dsp56k/dsp56pcu.cpp",
+ MAME_DIR .. "src/devices/cpu/dsp56k/dsp56pcu.h",
+ MAME_DIR .. "src/devices/cpu/dsp56k/dsp56def.h",
+ MAME_DIR .. "src/devices/cpu/dsp56k/dsp56ops.hxx",
+ }
+end
+
+if (CPUS["DSP56156"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp56k/dsp56dsm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp56k/dsp56dsm.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp56k/opcode.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp56k/opcode.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp56k/inst.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp56k/inst.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp56k/pmove.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp56k/pmove.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp56k/tables.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp56k/tables.h")
+end
+
+--------------------------------------------------
+-- PDP-1
+-- TX0
+--@src/devices/cpu/pdp1/pdp1.h,CPUS["PDP1"] = true
+--@src/devices/cpu/pdp1/tx0.h,CPUS["PDP1"] = true
+--------------------------------------------------
+
+if (CPUS["PDP1"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/pdp1/pdp1.cpp",
+ MAME_DIR .. "src/devices/cpu/pdp1/pdp1.h",
+ MAME_DIR .. "src/devices/cpu/pdp1/tx0.cpp",
+ MAME_DIR .. "src/devices/cpu/pdp1/tx0.h",
+ }
+end
+
+if (CPUS["PDP1"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pdp1/pdp1dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pdp1/pdp1dasm.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pdp1/tx0dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pdp1/tx0dasm.h")
+end
+
+--------------------------------------------------
+-- PATINHO FEIO - Escola Politecnica - USP (Brazil)
+--@src/devices/cpu/patinhofeio/patinhofeio_cpu.h,CPUS["PATINHOFEIO"] = true
+--------------------------------------------------
+
+if (CPUS["PATINHOFEIO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/patinhofeio/patinho_feio.cpp",
+ MAME_DIR .. "src/devices/cpu/patinhofeio/patinhofeio_cpu.h",
+ }
+end
+
+if (CPUS["PATINHOFEIO"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/patinhofeio/patinho_feio_dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/patinhofeio/patinho_feio_dasm.h")
+end
+
+--------------------------------------------------
+-- Motorola PowerPC series
+--@src/devices/cpu/powerpc/ppc.h,CPUS["POWERPC"] = true
+--------------------------------------------------
+
+if (CPUS["POWERPC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/powerpc/ppccom.cpp",
+ MAME_DIR .. "src/devices/cpu/powerpc/ppccom.h",
+ MAME_DIR .. "src/devices/cpu/powerpc/ppcfe.cpp",
+ MAME_DIR .. "src/devices/cpu/powerpc/ppcfe.h",
+ MAME_DIR .. "src/devices/cpu/powerpc/ppcdrc.cpp",
+ MAME_DIR .. "src/devices/cpu/powerpc/ppc.h",
+ }
+end
+
+if (CPUS["POWERPC"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/powerpc/ppc_dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/powerpc/ppc_dasm.h")
+end
+
+--------------------------------------------------
+-- NEC V-series Intel-compatible
+--@src/devices/cpu/nec/nec.h,CPUS["NEC"] = true
+--@src/devices/cpu/nec/v25.h,CPUS["NEC"] = true
+--@src/devices/cpu/nec/v5x.h,CPUS["NEC"] = true
+--@src/devices/cpu/v30mz/v30mz.h,CPUS["V30MZ"] = true
+--------------------------------------------------
+
+if (CPUS["NEC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/nec/nec.cpp",
+ MAME_DIR .. "src/devices/cpu/nec/nec.h",
+ MAME_DIR .. "src/devices/cpu/nec/necea.h",
+ MAME_DIR .. "src/devices/cpu/nec/necinstr.h",
+ MAME_DIR .. "src/devices/cpu/nec/necinstr.hxx",
+ MAME_DIR .. "src/devices/cpu/nec/necmacro.h",
+ MAME_DIR .. "src/devices/cpu/nec/necmodrm.h",
+ MAME_DIR .. "src/devices/cpu/nec/necpriv.h",
+ MAME_DIR .. "src/devices/cpu/nec/v25instr.h",
+ MAME_DIR .. "src/devices/cpu/nec/v25instr.hxx",
+ MAME_DIR .. "src/devices/cpu/nec/v25priv.h",
+ MAME_DIR .. "src/devices/cpu/nec/v25.cpp",
+ MAME_DIR .. "src/devices/cpu/nec/v25.h",
+ MAME_DIR .. "src/devices/cpu/nec/v25sfr.cpp",
+ MAME_DIR .. "src/devices/cpu/nec/v5x.cpp",
+ MAME_DIR .. "src/devices/cpu/nec/v5x.h",
+ }
+end
+
+if (CPUS["NEC"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nec/necdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nec/necdasm.h")
+end
+
+if (CPUS["V30MZ"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/v30mz/v30mz.cpp",
+ MAME_DIR .. "src/devices/cpu/v30mz/v30mz.h",
+ }
+end
+
+if (CPUS["V30MZ"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nec/necdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nec/necdasm.h")
+end
+
+--------------------------------------------------
+-- NEC V60/V70
+--@src/devices/cpu/v60/v60.h,CPUS["V60"] = true
+--------------------------------------------------
+
+if (CPUS["V60"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/v60/v60.cpp",
+ MAME_DIR .. "src/devices/cpu/v60/v60.h",
+ MAME_DIR .. "src/devices/cpu/v60/am.hxx",
+ MAME_DIR .. "src/devices/cpu/v60/am1.hxx",
+ MAME_DIR .. "src/devices/cpu/v60/am2.hxx",
+ MAME_DIR .. "src/devices/cpu/v60/am3.hxx",
+ MAME_DIR .. "src/devices/cpu/v60/op12.hxx",
+ MAME_DIR .. "src/devices/cpu/v60/op2.hxx",
+ MAME_DIR .. "src/devices/cpu/v60/op3.hxx",
+ MAME_DIR .. "src/devices/cpu/v60/op4.hxx",
+ MAME_DIR .. "src/devices/cpu/v60/op5.hxx",
+ MAME_DIR .. "src/devices/cpu/v60/op6.hxx",
+ MAME_DIR .. "src/devices/cpu/v60/op7a.hxx",
+ MAME_DIR .. "src/devices/cpu/v60/optable.hxx",
+ }
+end
+
+if (CPUS["V60"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/v60/v60d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/v60/v60d.h")
+end
+
+--------------------------------------------------
+-- NEC V810 (uPD70732)
+--@src/devices/cpu/v810/v810.h,CPUS["V810"] = true
+--------------------------------------------------
+
+if (CPUS["V810"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/v810/v810.cpp",
+ MAME_DIR .. "src/devices/cpu/v810/v810.h",
+ }
+end
+
+if (CPUS["V810"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/v810/v810dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/v810/v810dasm.h")
+end
+
+--------------------------------------------------
+-- NEC uPD7725
+--@src/devices/cpu/upd7725/upd7725.h,CPUS["UPD7725"] = true
+--------------------------------------------------
+
+if (CPUS["UPD7725"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/upd7725/upd7725.cpp",
+ MAME_DIR .. "src/devices/cpu/upd7725/upd7725.h",
+ }
+end
+
+if (CPUS["UPD7725"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd7725/dasm7725.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd7725/dasm7725.h")
+end
+
+--------------------------------------------------
+-- NEC uPD7810 series
+--@src/devices/cpu/upd7810/upd7810.h,CPUS["UPD7810"] = true
+--------------------------------------------------
+
+if (CPUS["UPD7810"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/upd7810/upd7810.cpp",
+ MAME_DIR .. "src/devices/cpu/upd7810/upd7810.h",
+ MAME_DIR .. "src/devices/cpu/upd7810/upd7810_opcodes.cpp",
+ MAME_DIR .. "src/devices/cpu/upd7810/upd7810_table.cpp",
+ MAME_DIR .. "src/devices/cpu/upd7810/upd7810_macros.h",
+ MAME_DIR .. "src/devices/cpu/upd7810/upd7811.cpp",
+ MAME_DIR .. "src/devices/cpu/upd7810/upd7811.h",
+ }
+end
+
+if (CPUS["UPD7810"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd7810/upd7810_dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd7810/upd7810_dasm.h")
+end
+
+--------------------------------------------------
+-- NEC uCOM-4 series
+--@src/devices/cpu/ucom4/ucom4.h,CPUS["UCOM4"] = true
+--------------------------------------------------
+
+if (CPUS["UCOM4"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/ucom4/ucom4.cpp",
+ MAME_DIR .. "src/devices/cpu/ucom4/ucom4.h",
+ MAME_DIR .. "src/devices/cpu/ucom4/ucom4op.cpp",
+ }
+end
+
+if (CPUS["UCOM4"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ucom4/ucom4d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ucom4/ucom4d.h")
+end
+
+--------------------------------------------------
+-- Nintendo Minx
+--@src/devices/cpu/minx/minx.h,CPUS["MINX"] = true
+--------------------------------------------------
+
+if (CPUS["MINX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/minx/minx.cpp",
+ MAME_DIR .. "src/devices/cpu/minx/minx.h",
+ MAME_DIR .. "src/devices/cpu/minx/minxfunc.h",
+ MAME_DIR .. "src/devices/cpu/minx/minxopce.h",
+ MAME_DIR .. "src/devices/cpu/minx/minxopcf.h",
+ MAME_DIR .. "src/devices/cpu/minx/minxops.h",
+ }
+end
+
+if (CPUS["MINX"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/minx/minxd.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/minx/minxd.h")
+end
+
+--------------------------------------------------
+-- Nintendo/SGI RSP (R3000-based + vector processing)
+--@src/devices/cpu/rsp/rsp.h,CPUS["RSP"] = true
+--------------------------------------------------
+
+if (CPUS["RSP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/rsp/rsp.cpp",
+ MAME_DIR .. "src/devices/cpu/rsp/rsp.h",
+ MAME_DIR .. "src/devices/cpu/rsp/rspdefs.h",
+ MAME_DIR .. "src/devices/cpu/rsp/rspdrc.cpp",
+ MAME_DIR .. "src/devices/cpu/rsp/rspfe.cpp",
+ MAME_DIR .. "src/devices/cpu/rsp/rspfe.h",
+ MAME_DIR .. "src/devices/cpu/rsp/rspcp2.cpp",
+ MAME_DIR .. "src/devices/cpu/rsp/rspcp2.h",
+ MAME_DIR .. "src/devices/cpu/rsp/rspcp2d.cpp",
+ MAME_DIR .. "src/devices/cpu/rsp/rspcp2d.h",
+ MAME_DIR .. "src/devices/cpu/rsp/clamp.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vabs.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vadd.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vaddc.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vand.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vch.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vcl.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vcmp.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vcr.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vdivh.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vldst.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vmac.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vmov.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vmrg.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vmudh.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vmul.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vmulh.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vmull.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vmulm.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vmuln.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vor.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vrcpsq.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vrsq.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vsub.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vsubc.h",
+ MAME_DIR .. "src/devices/cpu/rsp/vxor.h",
+ MAME_DIR .. "src/devices/cpu/rsp/rspdiv.h",
+ }
+end
+
+if (CPUS["RSP"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/rsp/rsp_dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/rsp/rsp_dasm.h")
+end
+
+--------------------------------------------------
+-- Panasonic MN10200
+--@src/devices/cpu/mn10200/mn10200.h,CPUS["MN10200"] = true
+--------------------------------------------------
+
+if (CPUS["MN10200"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/mn10200/mn10200.cpp",
+ MAME_DIR .. "src/devices/cpu/mn10200/mn10200.h",
+ }
+end
+
+if (CPUS["MN10200"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mn10200/mn102dis.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mn10200/mn102dis.h")
+end
+
+--------------------------------------------------
+-- Saturn
+--@src/devices/cpu/saturn/saturn.h,CPUS["SATURN"] = true
+--------------------------------------------------
+
+if (CPUS["SATURN"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/saturn/saturn.cpp",
+ MAME_DIR .. "src/devices/cpu/saturn/saturn.h",
+ MAME_DIR .. "src/devices/cpu/saturn/satops.hxx",
+ MAME_DIR .. "src/devices/cpu/saturn/sattable.hxx",
+ }
+end
+
+if (CPUS["SATURN"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/saturn/saturnds.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/saturn/saturnds.h")
+end
+
+--------------------------------------------------
+-- Sharp SM510 series
+--@src/devices/cpu/sm510/sm510.h,CPUS["SM510"] = true
+--------------------------------------------------
+
+if (CPUS["SM510"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/sm510/sm510base.cpp",
+ MAME_DIR .. "src/devices/cpu/sm510/sm510.h",
+ MAME_DIR .. "src/devices/cpu/sm510/sm510op.cpp",
+ MAME_DIR .. "src/devices/cpu/sm510/sm510core.cpp",
+ MAME_DIR .. "src/devices/cpu/sm510/sm511core.cpp",
+ MAME_DIR .. "src/devices/cpu/sm510/sm530.h",
+ MAME_DIR .. "src/devices/cpu/sm510/sm530op.cpp",
+ MAME_DIR .. "src/devices/cpu/sm510/sm530core.cpp",
+ MAME_DIR .. "src/devices/cpu/sm510/sm500.h",
+ MAME_DIR .. "src/devices/cpu/sm510/sm500op.cpp",
+ MAME_DIR .. "src/devices/cpu/sm510/sm500core.cpp",
+ MAME_DIR .. "src/devices/cpu/sm510/sm5acore.cpp",
+ MAME_DIR .. "src/devices/cpu/sm510/sm590.h",
+ MAME_DIR .. "src/devices/cpu/sm510/sm590op.cpp",
+ MAME_DIR .. "src/devices/cpu/sm510/sm590core.cpp",
+ }
+end
+
+if (CPUS["SM510"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sm510/sm510d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sm510/sm510d.h")
+end
+
+--------------------------------------------------
+-- Sharp SM8500
+--@src/devices/cpu/sm8500/sm8500.h,CPUS["SM8500"] = true
+--------------------------------------------------
+
+if (CPUS["SM8500"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/sm8500/sm8500.cpp",
+ MAME_DIR .. "src/devices/cpu/sm8500/sm8500.h",
+ MAME_DIR .. "src/devices/cpu/sm8500/sm85ops.h",
+ }
+end
+
+if (CPUS["SM8500"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sm8500/sm8500d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sm8500/sm8500d.h")
+end
+
+--------------------------------------------------
+-- Signetics 2650
+--@src/devices/cpu/s2650/s2650.h,CPUS["S2650"] = true
+--------------------------------------------------
+
+if (CPUS["S2650"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/s2650/s2650.cpp",
+ MAME_DIR .. "src/devices/cpu/s2650/s2650.h",
+ MAME_DIR .. "src/devices/cpu/s2650/s2650cpu.h",
+ }
+end
+
+if (CPUS["S2650"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/s2650/2650dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/s2650/2650dasm.h")
+end
+
+--------------------------------------------------
+-- SC61860
+--@src/devices/cpu/sc61860/sc61860.h,CPUS["SC61860"] = true
+--------------------------------------------------
+
+if (CPUS["SC61860"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/sc61860/sc61860.cpp",
+ MAME_DIR .. "src/devices/cpu/sc61860/sc61860.h",
+ --MAME_DIR .. "src/devices/cpu/sc61860/readpc.cpp",
+ MAME_DIR .. "src/devices/cpu/sc61860/scops.hxx",
+ MAME_DIR .. "src/devices/cpu/sc61860/sctable.hxx",
+ }
+end
+
+if (CPUS["SC61860"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sc61860/scdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sc61860/scdasm.h")
+end
+
+--------------------------------------------------
+-- Sony/Nintendo SPC700
+--@src/devices/cpu/spc700/spc700.h,CPUS["SPC700"] = true
+--------------------------------------------------
+
+if (CPUS["SPC700"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/spc700/spc700.cpp",
+ MAME_DIR .. "src/devices/cpu/spc700/spc700.h",
+ MAME_DIR .. "src/devices/cpu/spc700/spc700ds.h",
+ }
+end
+
+if (CPUS["SPC700"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/spc700/spc700ds.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/spc700/spc700ds.h")
+end
+
+--------------------------------------------------
+-- SSP1601
+--@src/devices/cpu/ssp1601/ssp1601.h,CPUS["SSP1601"] = true
+--------------------------------------------------
+
+if (CPUS["SSP1601"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/ssp1601/ssp1601.cpp",
+ MAME_DIR .. "src/devices/cpu/ssp1601/ssp1601.h",
+ }
+end
+
+if (CPUS["SSP1601"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ssp1601/ssp1601d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ssp1601/ssp1601d.h")
+end
+
+--------------------------------------------------
+-- SunPlus u'nSP
+--@src/devices/cpu/unsp/unsp.h,CPUS["UNSP"] = true
+--------------------------------------------------
+
+if (CPUS["UNSP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/unsp/unsp.cpp",
+ MAME_DIR .. "src/devices/cpu/unsp/unsp.h",
+ MAME_DIR .. "src/devices/cpu/unsp/unsp_extended.cpp",
+ MAME_DIR .. "src/devices/cpu/unsp/unsp_jumps.cpp",
+ MAME_DIR .. "src/devices/cpu/unsp/unsp_exxx.cpp",
+ MAME_DIR .. "src/devices/cpu/unsp/unsp_fxxx.cpp",
+ MAME_DIR .. "src/devices/cpu/unsp/unsp_other.cpp",
+ MAME_DIR .. "src/devices/cpu/unsp/unspdefs.h",
+ MAME_DIR .. "src/devices/cpu/unsp/unspdrc.cpp",
+ MAME_DIR .. "src/devices/cpu/unsp/unspfe.cpp",
+ MAME_DIR .. "src/devices/cpu/unsp/unspfe.h",
+ }
+end
+
+if (CPUS["UNSP"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/unsp/unspdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/unsp/unspdasm.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/unsp/unspdasm_extended.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/unsp/unspdasm_jumps.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/unsp/unspdasm_exxx.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/unsp/unspdasm_fxxx.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/unsp/unspdasm_other.cpp")
+end
+
+--------------------------------------------------
+-- Atmel 8-bit AVR
+--@src/devices/cpu/avr8/avr8.h,CPUS["AVR8"] = true
+--------------------------------------------------
+
+if (CPUS["AVR8"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/avr8/avr8.cpp",
+ MAME_DIR .. "src/devices/cpu/avr8/avr8.h",
+ }
+end
+
+if (CPUS["AVR8"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/avr8/avr8dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/avr8/avr8dasm.h")
+end
+
+--------------------------------------------------
+-- Texas Instruments TMS1000 series
+--@src/devices/cpu/tms1000/tms1000.h,CPUS["TMS1000"] = true
+--@src/devices/cpu/tms1000/tms1000c.h,CPUS["TMS1000"] = true
+--@src/devices/cpu/tms1000/tms1100.h,CPUS["TMS1000"] = true
+--@src/devices/cpu/tms1000/tms1400.h,CPUS["TMS1000"] = true
+--@src/devices/cpu/tms1000/tms0970.h,CPUS["TMS1000"] = true
+--@src/devices/cpu/tms1000/tms0980.h,CPUS["TMS1000"] = true
+--@src/devices/cpu/tms1000/tms0270.h,CPUS["TMS1000"] = true
+--@src/devices/cpu/tms1000/tp0320.h,CPUS["TMS1000"] = true
+--------------------------------------------------
+
+if (CPUS["TMS1000"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/tms1000/tms1k_base.cpp",
+ MAME_DIR .. "src/devices/cpu/tms1000/tms1k_base.h",
+ MAME_DIR .. "src/devices/cpu/tms1000/tms1000.cpp",
+ MAME_DIR .. "src/devices/cpu/tms1000/tms1000.h",
+ MAME_DIR .. "src/devices/cpu/tms1000/tms1000c.cpp",
+ MAME_DIR .. "src/devices/cpu/tms1000/tms1000c.h",
+ MAME_DIR .. "src/devices/cpu/tms1000/tms1100.cpp",
+ MAME_DIR .. "src/devices/cpu/tms1000/tms1100.h",
+ MAME_DIR .. "src/devices/cpu/tms1000/tms1400.cpp",
+ MAME_DIR .. "src/devices/cpu/tms1000/tms1400.h",
+ MAME_DIR .. "src/devices/cpu/tms1000/tms0970.cpp",
+ MAME_DIR .. "src/devices/cpu/tms1000/tms0970.h",
+ MAME_DIR .. "src/devices/cpu/tms1000/tms0980.cpp",
+ MAME_DIR .. "src/devices/cpu/tms1000/tms0980.h",
+ MAME_DIR .. "src/devices/cpu/tms1000/tms0270.cpp",
+ MAME_DIR .. "src/devices/cpu/tms1000/tms0270.h",
+ MAME_DIR .. "src/devices/cpu/tms1000/tp0320.cpp",
+ MAME_DIR .. "src/devices/cpu/tms1000/tp0320.h",
+ }
+end
+
+if (CPUS["TMS1000"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms1000/tms1k_dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms1000/tms1k_dasm.h")
+end
+
+--------------------------------------------------
+-- Texas Instruments TMS7000 series
+--@src/devices/cpu/tms7000/tms7000.h,CPUS["TMS7000"] = true
+--------------------------------------------------
+
+if (CPUS["TMS7000"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/tms7000/tms7000.cpp",
+ MAME_DIR .. "src/devices/cpu/tms7000/tms7000.h",
+ MAME_DIR .. "src/devices/cpu/tms7000/tms7000op.cpp",
+ }
+end
+
+if (CPUS["TMS7000"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms7000/7000dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms7000/7000dasm.h")
+end
+
+--------------------------------------------------
+-- Texas Instruments TMS99xx series
+--@src/devices/cpu/tms9900/tms9900.h,CPUS["TMS9900"] = true
+--@src/devices/cpu/tms9900/tms9980a.h,CPUS["TMS9900"] = true
+--@src/devices/cpu/tms9900/tms9995.h,CPUS["TMS9900"] = true
+--@src/devices/cpu/tms9900/ti990_10.h,CPUS["TMS9900"] = true
+--------------------------------------------------
+
+if (CPUS["TMS9900"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/tms9900/tms9900.cpp",
+ MAME_DIR .. "src/devices/cpu/tms9900/tms9900.h",
+ MAME_DIR .. "src/devices/cpu/tms9900/tms9980a.cpp",
+ MAME_DIR .. "src/devices/cpu/tms9900/tms9980a.h",
+ MAME_DIR .. "src/devices/cpu/tms9900/tms9995.cpp",
+ MAME_DIR .. "src/devices/cpu/tms9900/tms9995.h",
+ MAME_DIR .. "src/devices/cpu/tms9900/ti990_10.cpp",
+ MAME_DIR .. "src/devices/cpu/tms9900/ti990_10.h",
+ MAME_DIR .. "src/devices/cpu/tms9900/tms99com.h",
+ }
+end
+
+if (CPUS["TMS9900"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms9900/9900dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms9900/9900dasm.h")
+end
+
+--------------------------------------------------
+-- Texas Instruments TMS340x0 graphics controllers
+--@src/devices/cpu/tms34010/tms34010.h,CPUS["TMS340X0"] = true
+--------------------------------------------------
+
+if (CPUS["TMS340X0"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/tms34010/tms34010.cpp",
+ MAME_DIR .. "src/devices/cpu/tms34010/tms34010.h",
+ MAME_DIR .. "src/devices/cpu/tms34010/34010fld.hxx",
+ MAME_DIR .. "src/devices/cpu/tms34010/34010gfx.hxx",
+ MAME_DIR .. "src/devices/cpu/tms34010/34010ops.h",
+ MAME_DIR .. "src/devices/cpu/tms34010/34010ops.hxx",
+ MAME_DIR .. "src/devices/cpu/tms34010/34010tbl.hxx",
+ }
+end
+
+if (CPUS["TMS340X0"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms34010/34010dsm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms34010/34010dsm.h")
+end
+
+--------------------------------------------------
+-- Texas Instruments TMS3201x DSP
+--@src/devices/cpu/tms32010/tms32010.h,CPUS["TMS32010"] = true
+--------------------------------------------------
+
+if (CPUS["TMS32010"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/tms32010/tms32010.cpp",
+ MAME_DIR .. "src/devices/cpu/tms32010/tms32010.h",
+ }
+end
+
+if (CPUS["TMS32010"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32010/32010dsm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32010/32010dsm.h")
+end
+
+--------------------------------------------------
+-- Texas Instruments TMS3202x DSP
+--@src/devices/cpu/tms32025/tms32025.h,CPUS["TMS32025"] = true
+--------------------------------------------------
+
+if (CPUS["TMS32025"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/tms32025/tms32025.cpp",
+ MAME_DIR .. "src/devices/cpu/tms32025/tms32025.h",
+ }
+end
+
+if (CPUS["TMS32025"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32025/32025dsm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32025/32025dsm.h")
+end
+
+--------------------------------------------------
+-- Texas Instruments TMS3203x DSP
+--@src/devices/cpu/tms32031/tms32031.h,CPUS["TMS32031"] = true
+--------------------------------------------------
+
+if (CPUS["TMS32031"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/tms32031/tms32031.cpp",
+ MAME_DIR .. "src/devices/cpu/tms32031/tms32031.h",
+ MAME_DIR .. "src/devices/cpu/tms32031/32031ops.hxx",
+ }
+end
+
+if (CPUS["TMS32031"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32031/dis32031.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32031/dis32031.h")
+end
+
+--------------------------------------------------
+-- Texas Instruments TMS3205x DSP
+--@src/devices/cpu/tms32051/tms32051.h,CPUS["TMS32051"] = true
+--------------------------------------------------
+
+if (CPUS["TMS32051"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/tms32051/tms32051.cpp",
+ MAME_DIR .. "src/devices/cpu/tms32051/tms32051.h",
+ MAME_DIR .. "src/devices/cpu/tms32051/32051ops.h",
+ MAME_DIR .. "src/devices/cpu/tms32051/32051ops.hxx",
+ }
+end
+
+if (CPUS["TMS32051"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32051/dis32051.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32051/dis32051.h")
+end
+
+--------------------------------------------------
+-- Texas Instruments TMS3208x DSP
+--@src/devices/cpu/tms32082/tms32082.h,CPUS["TMS32082"] = true
+--------------------------------------------------
+
+if (CPUS["TMS32082"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/tms32082/tms32082.cpp",
+ MAME_DIR .. "src/devices/cpu/tms32082/tms32082.h",
+ MAME_DIR .. "src/devices/cpu/tms32082/mp_ops.cpp",
+ }
+end
+
+if (CPUS["TMS32082"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32082/dis_mp.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32082/dis_mp.h")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32082/dis_pp.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32082/dis_pp.h")
+end
+
+--------------------------------------------------
+-- Texas Instruments TMS57002 DSP
+--@src/devices/cpu/tms57002/tms57002.h,CPUS["TMS57002"] = true
+--------------------------------------------------
+
+if (CPUS["TMS57002"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/tms57002/tms57002.cpp",
+ MAME_DIR .. "src/devices/cpu/tms57002/tms57002.h",
+ MAME_DIR .. "src/devices/cpu/tms57002/tmsops.cpp",
+ MAME_DIR .. "src/devices/cpu/tms57002/tms57kdec.cpp",
+ }
+ dependency {
+ { MAME_DIR .. "src/devices/cpu/tms57002/tms57kdec.cpp", GEN_DIR .. "emu/cpu/tms57002/tms57002.hxx" },
+ { MAME_DIR .. "src/devices/cpu/tms57002/tms57002.cpp", GEN_DIR .. "emu/cpu/tms57002/tms57002.hxx" },
+ { MAME_DIR .. "src/devices/cpu/tms57002/tmsops.cpp", GEN_DIR .. "emu/cpu/tms57002/tms57002.hxx" },
+ }
+ custombuildtask {
+ { MAME_DIR .. "src/devices/cpu/tms57002/tmsinstr.lst" , GEN_DIR .. "emu/cpu/tms57002/tms57002.hxx", { MAME_DIR .. "src/devices/cpu/tms57002/tmsmake.py" }, {"@echo Generating TMS57002 source file...", PYTHON .. " $(1) $(<) $(@)" } }
+ }
+end
+
+if (CPUS["TMS57002"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms57002/57002dsm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms57002/57002dsm.h")
+ table.insert(disasm_dependency , { MAME_DIR .. "src/devices/cpu/tms57002/57002dsm.cpp", GEN_DIR .. "emu/cpu/tms57002/tms57002.hxx" } )
+ table.insert(disasm_custombuildtask , { MAME_DIR .. "src/devices/cpu/tms57002/tmsinstr.lst" , GEN_DIR .. "emu/cpu/tms57002/tms57002.hxx", { MAME_DIR .. "src/devices/cpu/tms57002/tmsmake.py" }, {"@echo Generating TMS57002 source file...", PYTHON .. " $(1) $(<) $(@)" }})
+end
+
+--------------------------------------------------
+-- Toshiba TLCS-90 Series
+--@src/devices/cpu/tlcs90/tlcs90.h,CPUS["TLCS90"] = true
+--------------------------------------------------
+
+if (CPUS["TLCS90"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/tlcs90/tlcs90.cpp",
+ MAME_DIR .. "src/devices/cpu/tlcs90/tlcs90.h",
+ }
+end
+
+if (CPUS["TLCS90"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tlcs90/tlcs90d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tlcs90/tlcs90d.h")
+end
+
+--------------------------------------------------
+-- Toshiba TLCS-870 Series
+--@src/devices/cpu/tlcs870/tlcs870.h,CPUS["TLCS870"] = true
+--------------------------------------------------
+
+if (CPUS["TLCS870"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/tlcs870/tlcs870.cpp",
+ MAME_DIR .. "src/devices/cpu/tlcs870/tlcs870_ops.cpp",
+ MAME_DIR .. "src/devices/cpu/tlcs870/tlcs870_ops_reg.cpp",
+ MAME_DIR .. "src/devices/cpu/tlcs870/tlcs870_ops_src.cpp",
+ MAME_DIR .. "src/devices/cpu/tlcs870/tlcs870_ops_dst.cpp",
+ MAME_DIR .. "src/devices/cpu/tlcs870/tlcs870_ops_helper.cpp",
+ MAME_DIR .. "src/devices/cpu/tlcs870/tlcs870.h",
+ }
+end
+
+if (CPUS["TLCS870"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tlcs870/tlcs870d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tlcs870/tlcs870d.h")
+end
+
+--------------------------------------------------
+-- Toshiba TLCS-900 Series
+--@src/devices/cpu/tlcs900/tlcs900.h,CPUS["TLCS900"] = true
+--------------------------------------------------
+
+if (CPUS["TLCS900"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/tlcs900/tlcs900.cpp",
+ MAME_DIR .. "src/devices/cpu/tlcs900/tlcs900.h",
+ MAME_DIR .. "src/devices/cpu/tlcs900/900tbl.hxx",
+ }
+end
+
+if (CPUS["TLCS900"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tlcs900/dasm900.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tlcs900/dasm900.h")
+end
+
+--------------------------------------------------
+-- Zilog Z80
+--@src/devices/cpu/z80/z80.h,CPUS["Z80"] = true
+--------------------------------------------------
+
+if (CPUS["Z80"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/z80/z80.cpp",
+ MAME_DIR .. "src/devices/cpu/z80/z80.h",
+ MAME_DIR .. "src/devices/cpu/z80/tmpz84c011.cpp",
+ MAME_DIR .. "src/devices/cpu/z80/tmpz84c011.h",
+ MAME_DIR .. "src/devices/cpu/z80/tmpz84c015.cpp",
+ MAME_DIR .. "src/devices/cpu/z80/tmpz84c015.h",
+ MAME_DIR .. "src/devices/cpu/z80/kl5c80a12.cpp",
+ MAME_DIR .. "src/devices/cpu/z80/kl5c80a12.h",
+ }
+end
+
+if (CPUS["Z80"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z80/z80dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z80/z80dasm.h")
+end
+
+--------------------------------------------------
+-- Sharp LR35902 (Game Boy CPU)
+--@src/devices/cpu/lr35902/lr35902.h,CPUS["LR35902"] = true
+--------------------------------------------------
+
+if (CPUS["LR35902"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/lr35902/lr35902.cpp",
+ MAME_DIR .. "src/devices/cpu/lr35902/lr35902.h",
+ MAME_DIR .. "src/devices/cpu/lr35902/opc_cb.hxx",
+ MAME_DIR .. "src/devices/cpu/lr35902/opc_main.hxx",
+ }
+end
+
+if (CPUS["LR35902"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/lr35902/lr35902d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/lr35902/lr35902d.h")
+end
+
+--------------------------------------------------
+-- Zilog Z180
+--@src/devices/cpu/z180/z180.h,CPUS["Z180"] = true
+--------------------------------------------------
+
+if (CPUS["Z180"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/z180/z180.cpp",
+ MAME_DIR .. "src/devices/cpu/z180/z180.h",
+ MAME_DIR .. "src/devices/cpu/z180/z180cb.hxx",
+ MAME_DIR .. "src/devices/cpu/z180/z180dd.hxx",
+ MAME_DIR .. "src/devices/cpu/z180/z180ed.hxx",
+ MAME_DIR .. "src/devices/cpu/z180/z180fd.hxx",
+ MAME_DIR .. "src/devices/cpu/z180/z180op.hxx",
+ MAME_DIR .. "src/devices/cpu/z180/z180ops.h",
+ MAME_DIR .. "src/devices/cpu/z180/z180tbl.h",
+ MAME_DIR .. "src/devices/cpu/z180/z180xy.hxx",
+ }
+end
+
+if (CPUS["Z180"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z180/z180dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z180/z180dasm.h")
+end
+
+--------------------------------------------------
+-- Zilog Z8000
+--@src/devices/cpu/z8000/z8000.h,CPUS["Z8000"] = true
+--------------------------------------------------
+
+if (CPUS["Z8000"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/z8000/z8000.cpp",
+ MAME_DIR .. "src/devices/cpu/z8000/z8000.h",
+ --MAME_DIR .. "src/devices/cpu/z8000/makedab.cpp",
+ MAME_DIR .. "src/devices/cpu/z8000/z8000cpu.h",
+ MAME_DIR .. "src/devices/cpu/z8000/z8000dab.h",
+ MAME_DIR .. "src/devices/cpu/z8000/z8000ops.hxx",
+ MAME_DIR .. "src/devices/cpu/z8000/z8000tbl.hxx",
+ }
+end
+
+if (CPUS["Z8000"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z8000/8000dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z8000/8000dasm.h")
+end
+
+--------------------------------------------------
+-- Zilog Z8
+--@src/devices/cpu/z8/z8.h,CPUS["Z8"] = true
+--------------------------------------------------
+
+if (CPUS["Z8"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/z8/z8.cpp",
+ MAME_DIR .. "src/devices/cpu/z8/z8.h",
+ MAME_DIR .. "src/devices/cpu/z8/z8ops.hxx",
+ }
+end
+
+if (CPUS["Z8"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z8/z8dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z8/z8dasm.h")
+end
+
+--------------------------------------------------
+-- Argonaut SuperFX
+--@src/devices/cpu/superfx/superfx.h,CPUS["SUPERFX"] = true
+--------------------------------------------------
+
+if (CPUS["SUPERFX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/superfx/superfx.cpp",
+ MAME_DIR .. "src/devices/cpu/superfx/superfx.h",
+ }
+end
+
+if (CPUS["SUPERFX"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/superfx/sfx_dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/superfx/sfx_dasm.h")
+end
+
+--------------------------------------------------
+-- Rockwell PPS-4
+--@src/devices/cpu/pps4/pps4.h,CPUS["PPS4"] = true
+--------------------------------------------------
+
+if (CPUS["PPS4"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/pps4/pps4.cpp",
+ MAME_DIR .. "src/devices/cpu/pps4/pps4.h",
+ }
+end
+
+if (CPUS["PPS4"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pps4/pps4dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pps4/pps4dasm.h")
+end
+
+--------------------------------------------------
+-- Hitachi HD61700
+--@src/devices/cpu/hd61700/hd61700.h,CPUS["HD61700"] = true
+--------------------------------------------------
+
+if (CPUS["HD61700"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/hd61700/hd61700.cpp",
+ MAME_DIR .. "src/devices/cpu/hd61700/hd61700.h",
+ }
+end
+
+if (CPUS["HD61700"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hd61700/hd61700d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hd61700/hd61700d.h")
+end
+
+--------------------------------------------------
+-- Sanyo LC8670
+--@src/devices/cpu/lc8670/lc8670.h,CPUS["LC8670"] = true
+--------------------------------------------------
+
+if (CPUS["LC8670"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/lc8670/lc8670.cpp",
+ MAME_DIR .. "src/devices/cpu/lc8670/lc8670.h",
+ }
+end
+
+if (CPUS["LC8670"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/lc8670/lc8670dsm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/lc8670/lc8670dsm.h")
+end
+
+--------------------------------------------------
+-- Sega SCU DSP
+--@src/devices/cpu/scudsp/scudsp.h,CPUS["SCUDSP"] = true
+--------------------------------------------------
+
+if (CPUS["SCUDSP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/scudsp/scudsp.cpp",
+ MAME_DIR .. "src/devices/cpu/scudsp/scudsp.h",
+ }
+end
+
+if (CPUS["SCUDSP"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/scudsp/scudspdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/scudsp/scudspdasm.h")
+end
+
+--------------------------------------------------
+-- Sunplus Technology S+core
+--@src/devices/cpu/score/score.h,CPUS["SCORE"] = true
+--------------------------------------------------
+
+if (CPUS["SCORE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/score/score.cpp",
+ MAME_DIR .. "src/devices/cpu/score/score.h",
+ MAME_DIR .. "src/devices/cpu/score/scorem.h",
+ }
+end
+
+if (CPUS["SCORE"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/score/scoredsm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/score/scoredsm.h")
+end
+
+--------------------------------------------------
+-- Xerox Alto-II
+--@src/devices/cpu/alto2/alto2cpu.h,CPUS["ALTO2"] = true
+--------------------------------------------------
+
+if (CPUS["ALTO2"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/alto2/alto2cpu.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/alto2cpu.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2disk.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2disk.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2disp.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2disp.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2curt.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2curt.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2dht.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2dht.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2dvt.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2dvt.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2dwt.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2dwt.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2emu.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2emu.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2ether.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2ether.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2hw.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2hw.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2kbd.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2kbd.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2ksec.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2ksec.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2kwd.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2kwd.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2mem.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2mem.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2mouse.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2mouse.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2mrt.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2mrt.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2part.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2part.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2ram.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2ram.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2roms.cpp",
+ MAME_DIR .. "src/devices/cpu/alto2/a2roms.h",
+ MAME_DIR .. "src/devices/cpu/alto2/a2jkff.h",
+ }
+end
+
+if (CPUS["ALTO2"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/alto2/alto2dsm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/alto2/alto2dsm.h")
+end
+
+------------------------------------------
+-- Sun SPARC, Fujitus MB86901 implementation
+--@src/devices/cpu/sparc/sparc.h,CPUS["MB86901"] = true
+--------------------------------------------------
+
+if (CPUS["MB86901"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/sparc/mb86901.cpp",
+ MAME_DIR .. "src/devices/cpu/sparc/sparcv8ops.ipp",
+ MAME_DIR .. "src/devices/cpu/sparc/sparcdefs.h",
+ MAME_DIR .. "src/devices/cpu/sparc/sparc_intf.h",
+ MAME_DIR .. "src/devices/cpu/sparc/sparc.h",
+ }
+end
+
+if (CPUS["MB86901"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sparc/sparcdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sparc/sparcdasm.h")
+end
+
+--------------------------------------------------
+-- Intergraph CLIPPER (C100/C300/C400) series
+--@src/devices/cpu/clipper/clipper.h,CPUS["CLIPPER"] = true
+--------------------------------------------------
+
+if (CPUS["CLIPPER"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/clipper/clipper.cpp",
+ MAME_DIR .. "src/devices/cpu/clipper/clipper.h",
+ }
+end
+
+if (CPUS["CLIPPER"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/clipper/clipperd.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/clipper/clipperd.h")
+end
+
+
+--------------------------------------------------
+-- VM Labs Nuon, disassembler only
+--------------------------------------------------
+
+if (_OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nuon/nuondasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nuon/nuondasm.h")
+end
+
+--------------------------------------------------
+-- DEC Alpha (EV4/EV5/EV6/EV7) series
+--@src/devices/cpu/alpha/alpha.h,CPUS["ALPHA"] = true
+--------------------------------------------------
+
+if (CPUS["ALPHA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/alpha/alpha.cpp",
+ MAME_DIR .. "src/devices/cpu/alpha/alpha.h",
+ }
+end
+
+if (CPUS["ALPHA"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/alpha/alphad.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/alpha/alphad.h")
+end
+
+--------------------------------------------------
+-- National Semiconductor HPC
+--@src/devices/cpu/hpc/hpc.h,CPUS["HPC"] = true
+--------------------------------------------------
+
+if (CPUS["HPC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/hpc/hpc.cpp",
+ MAME_DIR .. "src/devices/cpu/hpc/hpc.h",
+ }
+end
+
+if (CPUS["HPC"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hpc/hpcdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hpc/hpcdasm.h")
+end
+
+--------------------------------------------------
+-- Yamaha Multiple Effects Generator
+--@src/devices/sound/meg.h,CPUS["MEG"] = true
+--------------------------------------------------
+
+if (CPUS["MEG"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/meg.cpp",
+ MAME_DIR .. "src/devices/sound/meg.h",
+ }
+end
+
+if (CPUS["MEG"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/sound/megd.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/sound/megd.h")
+end
+
+--------------------------------------------------
+-- Yamaha DSPV
+--@src/devices/sound/dspv.h,CPUS["DSPV"] = true
+--------------------------------------------------
+
+if (CPUS["DSPV"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/dspv.cpp",
+ MAME_DIR .. "src/devices/sound/dspv.h",
+ }
+end
+
+if (CPUS["DSPV"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/sound/dspvd.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/sound/dspvd.h")
+end
+
+--------------------------------------------------
+-- National Semiconductor NS32000 series
+--@src/devices/cpu/ns32000/ns32000.h,CPUS["NS32000"] = true
+--------------------------------------------------
+
+if (CPUS["NS32000"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/ns32000/ns32000.cpp",
+ MAME_DIR .. "src/devices/cpu/ns32000/ns32000.h",
+ }
+end
+
+if (CPUS["NS32000"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ns32000/ns32000dasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ns32000/ns32000dasm.h")
+end
+
+--------------------------------------------------
+-- Elan RISC II series
+--@src/devices/cpu/rii/riscii.h,CPUS["RII"] = true
+--------------------------------------------------
+
+if (CPUS["RII"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/rii/riscii.cpp",
+ MAME_DIR .. "src/devices/cpu/rii/riscii.h",
+ }
+end
+
+if (CPUS["RII"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/rii/riidasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/rii/riidasm.h")
+end
+
+--------------------------------------------------
+-- National Semiconductor BCP
+--@src/devices/cpu/bcp/dp8344.h,CPUS["BCP"] = true
+--------------------------------------------------
+
+if (CPUS["BCP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/bcp/dp8344.cpp",
+ MAME_DIR .. "src/devices/cpu/bcp/dp8344.h",
+ }
+end
+
+if (CPUS["BCP"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/bcp/bcpdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/bcp/bcpdasm.h")
+end
diff --git a/docs/release/scripts/src/devices.lua b/docs/release/scripts/src/devices.lua
new file mode 100644
index 00000000000..79bcdec11d4
--- /dev/null
+++ b/docs/release/scripts/src/devices.lua
@@ -0,0 +1,90 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- devices.lua
+--
+-- Rules for building device cores
+--
+---------------------------------------------------------------------------
+
+function devicesProject(_target, _subtarget)
+
+ disasm_files = { }
+ disasm_dependency = { }
+ disasm_custombuildtask = { }
+
+ project ("optional")
+ uuid (os.uuid("optional-" .. _target .."_" .. _subtarget))
+ kind (LIBTYPE)
+ targetsubdir(_target .."_" .. _subtarget)
+
+ if (_OPTIONS["targetos"] ~= "asmjs") then
+ options {
+ "ArchiveSplit",
+ }
+ end
+
+ addprojectflags()
+ precompiledheaders()
+
+ includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/devices",
+ MAME_DIR .. "src/mame", -- used for sound amiga
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "3rdparty",
+ GEN_DIR .. "emu",
+ GEN_DIR .. "emu/layout",
+ ext_includedir("asio"),
+ ext_includedir("expat"),
+ ext_includedir("flac"),
+ }
+
+ dofile(path.join("src", "cpu.lua"))
+
+ dofile(path.join("src", "sound.lua"))
+
+ dofile(path.join("src", "video.lua"))
+
+ dofile(path.join("src", "machine.lua"))
+
+ dofile(path.join("src", "bus.lua"))
+
+if #disasm_files > 0 then
+ project ("dasm")
+ uuid ("f2d28b0a-6da5-4f78-b629-d834aa00429d")
+ kind (LIBTYPE)
+ targetsubdir(_target .."_" .. _subtarget)
+ addprojectflags()
+ precompiledheaders()
+
+ includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/devices",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "3rdparty",
+ GEN_DIR .. "emu",
+ ext_includedir("asio"),
+ ext_includedir("expat"),
+ }
+
+ files {
+ disasm_files
+ }
+
+ if #disasm_dependency > 0 then
+ dependency(disasm_dependency)
+ end
+
+ if #disasm_custombuildtask > 0 then
+ custombuildtask(disasm_custombuildtask)
+ end
+end
+
+end
diff --git a/docs/release/scripts/src/emu.lua b/docs/release/scripts/src/emu.lua
new file mode 100644
index 00000000000..4e763996a2c
--- /dev/null
+++ b/docs/release/scripts/src/emu.lua
@@ -0,0 +1,313 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- emu.lua
+--
+-- Rules for building emu cores
+--
+---------------------------------------------------------------------------
+
+project ("emu")
+uuid ("e6fa15e4-a354-4526-acef-13c8e80fcacf")
+kind (LIBTYPE)
+
+addprojectflags()
+precompiledheaders()
+options {
+ "ArchiveSplit",
+}
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "3rdparty",
+ GEN_DIR .. "emu",
+ GEN_DIR .. "emu/layout",
+}
+
+includedirs {
+ ext_includedir("asio"),
+ ext_includedir("expat"),
+ ext_includedir("zlib"),
+ ext_includedir("flac"),
+ ext_includedir("jpeg"),
+ ext_includedir("rapidjson"),
+ ext_includedir("pugixml"),
+}
+
+files {
+ MAME_DIR .. "src/emu/emu.h",
+ MAME_DIR .. "src/emu/emufwd.h",
+ MAME_DIR .. "src/emu/main.h",
+ MAME_DIR .. "src/emu/main.cpp",
+ MAME_DIR .. "src/emu/gamedrv.h",
+ MAME_DIR .. "src/emu/hashfile.cpp",
+ MAME_DIR .. "src/emu/hashfile.h",
+ MAME_DIR .. "src/emu/addrmap.cpp",
+ MAME_DIR .. "src/emu/addrmap.h",
+ MAME_DIR .. "src/emu/attotime.cpp",
+ MAME_DIR .. "src/emu/attotime.h",
+ MAME_DIR .. "src/emu/bookkeeping.cpp",
+ MAME_DIR .. "src/emu/bookkeeping.h",
+ MAME_DIR .. "src/emu/config.cpp",
+ MAME_DIR .. "src/emu/config.h",
+ MAME_DIR .. "src/emu/crsshair.cpp",
+ MAME_DIR .. "src/emu/crsshair.h",
+ MAME_DIR .. "src/emu/debugger.cpp",
+ MAME_DIR .. "src/emu/debugger.h",
+ MAME_DIR .. "src/emu/devdelegate.cpp",
+ MAME_DIR .. "src/emu/devdelegate.h",
+ MAME_DIR .. "src/emu/devcb.cpp",
+ MAME_DIR .. "src/emu/devcb.h",
+ MAME_DIR .. "src/emu/devcpu.cpp",
+ MAME_DIR .. "src/emu/devcpu.h",
+ MAME_DIR .. "src/emu/devfind.cpp",
+ MAME_DIR .. "src/emu/devfind.h",
+ MAME_DIR .. "src/emu/device.cpp",
+ MAME_DIR .. "src/emu/device.h",
+ MAME_DIR .. "src/emu/device.ipp",
+ MAME_DIR .. "src/emu/didisasm.cpp",
+ MAME_DIR .. "src/emu/didisasm.h",
+ MAME_DIR .. "src/emu/diexec.cpp",
+ MAME_DIR .. "src/emu/diexec.h",
+ MAME_DIR .. "src/emu/digfx.cpp",
+ MAME_DIR .. "src/emu/digfx.h",
+ MAME_DIR .. "src/emu/diimage.cpp",
+ MAME_DIR .. "src/emu/diimage.h",
+ MAME_DIR .. "src/emu/dimemory.cpp",
+ MAME_DIR .. "src/emu/dimemory.h",
+ MAME_DIR .. "src/emu/dinetwork.cpp",
+ MAME_DIR .. "src/emu/dinetwork.h",
+ MAME_DIR .. "src/emu/dinvram.cpp",
+ MAME_DIR .. "src/emu/dinvram.h",
+ MAME_DIR .. "src/emu/dipalette.cpp",
+ MAME_DIR .. "src/emu/dipalette.h",
+ MAME_DIR .. "src/emu/dipty.cpp",
+ MAME_DIR .. "src/emu/dipty.h",
+ MAME_DIR .. "src/emu/dirom.cpp",
+ MAME_DIR .. "src/emu/dirom.h",
+ MAME_DIR .. "src/emu/dirtc.cpp",
+ MAME_DIR .. "src/emu/dirtc.h",
+ MAME_DIR .. "src/emu/diserial.cpp",
+ MAME_DIR .. "src/emu/diserial.h",
+ MAME_DIR .. "src/emu/dislot.cpp",
+ MAME_DIR .. "src/emu/dislot.h",
+ MAME_DIR .. "src/emu/disound.cpp",
+ MAME_DIR .. "src/emu/disound.h",
+ MAME_DIR .. "src/emu/distate.cpp",
+ MAME_DIR .. "src/emu/distate.h",
+ MAME_DIR .. "src/emu/divideo.cpp",
+ MAME_DIR .. "src/emu/divideo.h",
+ MAME_DIR .. "src/emu/divtlb.cpp",
+ MAME_DIR .. "src/emu/divtlb.h",
+ MAME_DIR .. "src/emu/drawgfx.cpp",
+ MAME_DIR .. "src/emu/drawgfx.h",
+ MAME_DIR .. "src/emu/drawgfxm.h",
+ MAME_DIR .. "src/emu/driver.cpp",
+ MAME_DIR .. "src/emu/driver.h",
+ MAME_DIR .. "src/emu/drivenum.cpp",
+ MAME_DIR .. "src/emu/drivenum.h",
+ MAME_DIR .. "src/emu/emualloc.cpp",
+ MAME_DIR .. "src/emu/emualloc.h",
+ MAME_DIR .. "src/emu/emucore.cpp",
+ MAME_DIR .. "src/emu/emucore.h",
+ MAME_DIR .. "src/emu/emumem.cpp",
+ MAME_DIR .. "src/emu/emumem.h",
+ MAME_DIR .. "src/emu/emumem_mud.cpp",
+ MAME_DIR .. "src/emu/emumem_mud.h",
+ MAME_DIR .. "src/emu/emumem_hea.h",
+ MAME_DIR .. "src/emu/emumem_hem.cpp",
+ MAME_DIR .. "src/emu/emumem_hem.h",
+ MAME_DIR .. "src/emu/emumem_hedp.cpp",
+ MAME_DIR .. "src/emu/emumem_hedp.h",
+ MAME_DIR .. "src/emu/emumem_heun.cpp",
+ MAME_DIR .. "src/emu/emumem_heun.h",
+ MAME_DIR .. "src/emu/emumem_heu.cpp",
+ MAME_DIR .. "src/emu/emumem_heu.h",
+ MAME_DIR .. "src/emu/emumem_hedr.ipp",
+ MAME_DIR .. "src/emu/emumem_hedr.h",
+ MAME_DIR .. "src/emu/emumem_hedr0.cpp",
+ MAME_DIR .. "src/emu/emumem_hedr1.cpp",
+ MAME_DIR .. "src/emu/emumem_hedr2.cpp",
+ MAME_DIR .. "src/emu/emumem_hedr3.cpp",
+ MAME_DIR .. "src/emu/emumem_hedw.ipp",
+ MAME_DIR .. "src/emu/emumem_hedw.h",
+ MAME_DIR .. "src/emu/emumem_hedw0.cpp",
+ MAME_DIR .. "src/emu/emumem_hedw1.cpp",
+ MAME_DIR .. "src/emu/emumem_hedw2.cpp",
+ MAME_DIR .. "src/emu/emumem_hedw3.cpp",
+ MAME_DIR .. "src/emu/emumem_hep.cpp",
+ MAME_DIR .. "src/emu/emumem_hep.h",
+ MAME_DIR .. "src/emu/emumem_het.cpp",
+ MAME_DIR .. "src/emu/emumem_het.h",
+ MAME_DIR .. "src/emu/emuopts.cpp",
+ MAME_DIR .. "src/emu/emuopts.h",
+ MAME_DIR .. "src/emu/emupal.cpp",
+ MAME_DIR .. "src/emu/emupal.h",
+ MAME_DIR .. "src/emu/fileio.cpp",
+ MAME_DIR .. "src/emu/fileio.h",
+ MAME_DIR .. "src/emu/http.h",
+ MAME_DIR .. "src/emu/http.cpp",
+ MAME_DIR .. "src/emu/image.cpp",
+ MAME_DIR .. "src/emu/image.h",
+ MAME_DIR .. "src/emu/input.cpp",
+ MAME_DIR .. "src/emu/input.h",
+ MAME_DIR .. "src/emu/inputdev.cpp",
+ MAME_DIR .. "src/emu/inputdev.h",
+ MAME_DIR .. "src/emu/ioport.cpp",
+ MAME_DIR .. "src/emu/ioport.h",
+ MAME_DIR .. "src/emu/inpttype.h",
+ MAME_DIR .. "src/emu/logmacro.h",
+ MAME_DIR .. "src/emu/machine.cpp",
+ MAME_DIR .. "src/emu/machine.h",
+ MAME_DIR .. "src/emu/mconfig.cpp",
+ MAME_DIR .. "src/emu/mconfig.h",
+ MAME_DIR .. "src/emu/memarray.cpp",
+ MAME_DIR .. "src/emu/memarray.h",
+ MAME_DIR .. "src/emu/natkeyboard.cpp",
+ MAME_DIR .. "src/emu/natkeyboard.h",
+ MAME_DIR .. "src/emu/network.cpp",
+ MAME_DIR .. "src/emu/network.h",
+ MAME_DIR .. "src/emu/parameters.cpp",
+ MAME_DIR .. "src/emu/parameters.h",
+ MAME_DIR .. "src/emu/profiler.cpp",
+ MAME_DIR .. "src/emu/profiler.h",
+ MAME_DIR .. "src/emu/output.cpp",
+ MAME_DIR .. "src/emu/output.h",
+ MAME_DIR .. "src/emu/render.cpp",
+ MAME_DIR .. "src/emu/render.h",
+ MAME_DIR .. "src/emu/rendfont.cpp",
+ MAME_DIR .. "src/emu/rendfont.h",
+ MAME_DIR .. "src/emu/rendlay.cpp",
+ MAME_DIR .. "src/emu/rendlay.h",
+ MAME_DIR .. "src/emu/rendutil.cpp",
+ MAME_DIR .. "src/emu/rendutil.h",
+ MAME_DIR .. "src/emu/romload.cpp",
+ MAME_DIR .. "src/emu/romload.h",
+ MAME_DIR .. "src/emu/romentry.h",
+ MAME_DIR .. "src/emu/romentry.cpp",
+ MAME_DIR .. "src/emu/save.cpp",
+ MAME_DIR .. "src/emu/save.h",
+ MAME_DIR .. "src/emu/schedule.cpp",
+ MAME_DIR .. "src/emu/schedule.h",
+ MAME_DIR .. "src/emu/screen.cpp",
+ MAME_DIR .. "src/emu/screen.h",
+ MAME_DIR .. "src/emu/softlist.cpp",
+ MAME_DIR .. "src/emu/softlist.h",
+ MAME_DIR .. "src/emu/softlist_dev.cpp",
+ MAME_DIR .. "src/emu/softlist_dev.h",
+ MAME_DIR .. "src/emu/sound.cpp",
+ MAME_DIR .. "src/emu/sound.h",
+ MAME_DIR .. "src/emu/speaker.cpp",
+ MAME_DIR .. "src/emu/speaker.h",
+ MAME_DIR .. "src/emu/tilemap.cpp",
+ MAME_DIR .. "src/emu/tilemap.h",
+ MAME_DIR .. "src/emu/uiinput.cpp",
+ MAME_DIR .. "src/emu/uiinput.h",
+ MAME_DIR .. "src/emu/validity.cpp",
+ MAME_DIR .. "src/emu/validity.h",
+ MAME_DIR .. "src/emu/video.cpp",
+ MAME_DIR .. "src/emu/video.h",
+ MAME_DIR .. "src/emu/xtal.cpp",
+ MAME_DIR .. "src/emu/xtal.h",
+ MAME_DIR .. "src/emu/rendersw.hxx",
+ MAME_DIR .. "src/emu/ui/uimain.h",
+ MAME_DIR .. "src/emu/ui/cmddata.h", -- TODO: remove
+ MAME_DIR .. "src/emu/debug/debugbuf.cpp",
+ MAME_DIR .. "src/emu/debug/debugbuf.h",
+ MAME_DIR .. "src/emu/debug/debugcmd.cpp",
+ MAME_DIR .. "src/emu/debug/debugcmd.h",
+ MAME_DIR .. "src/emu/debug/debugcon.cpp",
+ MAME_DIR .. "src/emu/debug/debugcon.h",
+ MAME_DIR .. "src/emu/debug/debugcpu.cpp",
+ MAME_DIR .. "src/emu/debug/debugcpu.h",
+ MAME_DIR .. "src/emu/debug/debughlp.cpp",
+ MAME_DIR .. "src/emu/debug/debughlp.h",
+ MAME_DIR .. "src/emu/debug/debugvw.cpp",
+ MAME_DIR .. "src/emu/debug/debugvw.h",
+ MAME_DIR .. "src/emu/debug/dvdisasm.cpp",
+ MAME_DIR .. "src/emu/debug/dvdisasm.h",
+ MAME_DIR .. "src/emu/debug/dvmemory.cpp",
+ MAME_DIR .. "src/emu/debug/dvmemory.h",
+ MAME_DIR .. "src/emu/debug/dvbpoints.cpp",
+ MAME_DIR .. "src/emu/debug/dvbpoints.h",
+ MAME_DIR .. "src/emu/debug/dvwpoints.cpp",
+ MAME_DIR .. "src/emu/debug/dvwpoints.h",
+ MAME_DIR .. "src/emu/debug/dvstate.cpp",
+ MAME_DIR .. "src/emu/debug/dvstate.h",
+ MAME_DIR .. "src/emu/debug/dvtext.cpp",
+ MAME_DIR .. "src/emu/debug/dvtext.h",
+ MAME_DIR .. "src/emu/debug/express.cpp",
+ MAME_DIR .. "src/emu/debug/express.h",
+ MAME_DIR .. "src/emu/debug/textbuf.cpp",
+ MAME_DIR .. "src/emu/debug/textbuf.h",
+ MAME_DIR .. "src/emu/drivers/empty.cpp",
+ MAME_DIR .. "src/emu/drivers/xtal.h",
+ MAME_DIR .. "src/emu/video/generic.cpp",
+ MAME_DIR .. "src/emu/video/generic.h",
+ MAME_DIR .. "src/emu/video/resnet.cpp",
+ MAME_DIR .. "src/emu/video/resnet.h",
+ MAME_DIR .. "src/emu/video/rgbutil.h",
+ MAME_DIR .. "src/emu/video/rgbgen.cpp",
+ MAME_DIR .. "src/emu/video/rgbgen.h",
+ MAME_DIR .. "src/emu/video/rgbsse.cpp",
+ MAME_DIR .. "src/emu/video/rgbsse.h",
+ MAME_DIR .. "src/emu/video/rgbvmx.cpp",
+ MAME_DIR .. "src/emu/video/rgbvmx.h",
+}
+
+dependency {
+ --------------------------------------------------
+ -- additional dependencies
+ --------------------------------------------------
+ { MAME_DIR .. "src/emu/rendfont.cpp", GEN_DIR .. "emu/uismall.fh" },
+ { MAME_DIR .. "src/emu/rendfont.cpp", GEN_DIR .. "emu/ui/uicmd14.fh" },
+ -------------------------------------------------
+ -- core layouts
+ --------------------------------------------------
+ { MAME_DIR .. "src/emu/rendlay.cpp", GEN_DIR .. "emu/layout/dualhovu.lh" },
+ { MAME_DIR .. "src/emu/rendlay.cpp", GEN_DIR .. "emu/layout/dualhsxs.lh" },
+ { MAME_DIR .. "src/emu/rendlay.cpp", GEN_DIR .. "emu/layout/dualhuov.lh" },
+ { MAME_DIR .. "src/emu/rendlay.cpp", GEN_DIR .. "emu/layout/triphsxs.lh" },
+ { MAME_DIR .. "src/emu/rendlay.cpp", GEN_DIR .. "emu/layout/quadhsxs.lh" },
+ { MAME_DIR .. "src/emu/rendlay.cpp", GEN_DIR .. "emu/layout/noscreens.lh" },
+}
+
+custombuildtask {
+ { MAME_DIR .. "scripts/font/NotoSans-Bold.bdc", GEN_DIR .. "emu/uismall.fh", { MAME_DIR .. "scripts/build/file2str.py" }, {"@echo Converting NotoSans-Bold.bdc...", PYTHON .. " $(1) $(<) $(@) font_uismall uint8_t" }},
+}
+
+custombuildtask {
+ { MAME_DIR .. "src/frontend/mame/ui/uicmd14.png" , GEN_DIR .. "emu/ui/uicmd14.fh", { MAME_DIR.. "scripts/build/png2bdc.py", MAME_DIR .. "scripts/build/file2str.py" }, {"@echo Converting uicmd14.png...", PYTHON .. " $(1) $(<) temp_cmd.bdc", PYTHON .. " $(2) temp_cmd.bdc $(@) font_uicmd14 uint8_t" }},
+
+ layoutbuildtask("emu/layout", "dualhovu"),
+ layoutbuildtask("emu/layout", "dualhsxs"),
+ layoutbuildtask("emu/layout", "dualhuov"),
+ layoutbuildtask("emu/layout", "triphsxs"),
+ layoutbuildtask("emu/layout", "quadhsxs"),
+ layoutbuildtask("emu/layout", "noscreens"),
+}
+
+project ("precompile")
+uuid ("a6fb15d4-b123-4445-acef-13c8e80fcacf")
+kind (LIBTYPE)
+
+addprojectflags()
+precompiledheaders()
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/lib/util",
+}
+files {
+ MAME_DIR .. "src/emu/drivers/empty.cpp",
+}
+dependency {
+ { "$(OBJDIR)/src/emu/drivers/empty.o", "$(GCH)", true },
+}
+
+
diff --git a/docs/release/scripts/src/formats.lua b/docs/release/scripts/src/formats.lua
new file mode 100644
index 00000000000..5b678c480af
--- /dev/null
+++ b/docs/release/scripts/src/formats.lua
@@ -0,0 +1,1880 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- formats.lua
+--
+-- Rules for building formats
+--
+---------------------------------------------------------------------------
+function formatsProject(_target, _subtarget)
+project "formats"
+ uuid (os.uuid("formats-" .. _target .."_" .. _subtarget))
+ kind (LIBTYPE)
+ targetsubdir(_target .."_" .. _subtarget)
+ addprojectflags()
+
+ options {
+ "ArchiveSplit",
+ }
+
+ includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "3rdparty",
+ ext_includedir("zlib"),
+ }
+
+ files {
+ MAME_DIR .. "src/lib/formats/ioprocs.cpp",
+ MAME_DIR .. "src/lib/formats/ioprocs.h",
+ MAME_DIR .. "src/lib/formats/imageutl.cpp",
+ MAME_DIR .. "src/lib/formats/imageutl.h",
+
+ MAME_DIR .. "src/lib/formats/cassimg.cpp",
+ MAME_DIR .. "src/lib/formats/cassimg.h",
+ MAME_DIR .. "src/lib/formats/wavfile.cpp",
+ MAME_DIR .. "src/lib/formats/wavfile.h",
+
+ MAME_DIR .. "src/lib/formats/flopimg.cpp",
+ MAME_DIR .. "src/lib/formats/flopimg.h",
+
+ MAME_DIR .. "src/lib/formats/cqm_dsk.cpp",
+ MAME_DIR .. "src/lib/formats/cqm_dsk.h",
+ MAME_DIR .. "src/lib/formats/dsk_dsk.cpp",
+ MAME_DIR .. "src/lib/formats/dsk_dsk.h",
+ MAME_DIR .. "src/lib/formats/td0_dsk.cpp",
+ MAME_DIR .. "src/lib/formats/td0_dsk.h",
+ MAME_DIR .. "src/lib/formats/hxchfe_dsk.cpp",
+ MAME_DIR .. "src/lib/formats/hxchfe_dsk.h",
+ MAME_DIR .. "src/lib/formats/hxcmfm_dsk.cpp",
+ MAME_DIR .. "src/lib/formats/hxcmfm_dsk.h",
+ MAME_DIR .. "src/lib/formats/mfi_dsk.cpp",
+ MAME_DIR .. "src/lib/formats/mfi_dsk.h",
+ MAME_DIR .. "src/lib/formats/imd_dsk.cpp",
+ MAME_DIR .. "src/lib/formats/imd_dsk.h",
+ MAME_DIR .. "src/lib/formats/ipf_dsk.cpp",
+ MAME_DIR .. "src/lib/formats/ipf_dsk.h",
+ MAME_DIR .. "src/lib/formats/d88_dsk.cpp",
+ MAME_DIR .. "src/lib/formats/d88_dsk.h",
+ MAME_DIR .. "src/lib/formats/dfi_dsk.cpp",
+ MAME_DIR .. "src/lib/formats/dfi_dsk.h",
+ MAME_DIR .. "src/lib/formats/fdi_dsk.cpp",
+ }
+
+--------------------------------------------------
+--
+--@src/lib/formats/2d_dsk.h,FORMATS["2D_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["2D_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/2d_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/2d_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/a26_cas.h,FORMATS["A26_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["A26_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/a26_cas.cpp",
+ MAME_DIR.. "src/lib/formats/a26_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/a5105_dsk.h,FORMATS["A5105_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["A5105_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/a5105_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/a5105_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/abc800_dsk.h,FORMATS["ABC800_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["ABC800_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/abc800_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/abc800_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/abcfd2_dsk.h,FORMATS["ABCFD2_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["ABCFD2_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/abcfd2_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/abcfd2_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/ace_tap.h,FORMATS["ACE_TAP"] = true
+--------------------------------------------------
+
+if (FORMATS["ACE_TAP"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/ace_tap.cpp",
+ MAME_DIR.. "src/lib/formats/ace_tap.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/acorn_dsk.h,FORMATS["ACORN_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["ACORN_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/acorn_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/acorn_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/adam_cas.h,FORMATS["ADAM_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["ADAM_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/adam_cas.cpp",
+ MAME_DIR.. "src/lib/formats/adam_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/adam_dsk.h,FORMATS["ADAM_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["ADAM_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/adam_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/adam_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/afs_dsk.h,FORMATS["AFS_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["AFS_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/afs_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/afs_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/agat840k_hle_dsk.h,FORMATS["AGAT840K_HLE_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["AGAT840K_HLE_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/agat840k_hle_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/agat840k_hle_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/ami_dsk.h,FORMATS["AMI_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["AMI_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/ami_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/ami_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/ap2_dsk.h,FORMATS["AP2_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["AP2_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/ap2_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/ap2_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/apd_dsk.h,FORMATS["APD_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["APD_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/apd_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/apd_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/apf_apt.h,FORMATS["APF_APT"] = true
+--------------------------------------------------
+
+if (FORMATS["APF_APT"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/apf_apt.cpp",
+ MAME_DIR.. "src/lib/formats/apf_apt.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/apollo_dsk.h,FORMATS["APOLLO_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["APOLLO_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/apollo_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/apollo_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/applix_dsk.h,FORMATS["APPLIX_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["APPLIX_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/applix_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/applix_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/apridisk.h,FORMATS["APRIDISK"] = true
+--------------------------------------------------
+
+if (FORMATS["APRIDISK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/apridisk.cpp",
+ MAME_DIR.. "src/lib/formats/apridisk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/ap_dsk35.h,FORMATS["AP_DSK35"] = true
+--------------------------------------------------
+
+if (FORMATS["AP_DSK35"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/ap_dsk35.cpp",
+ MAME_DIR.. "src/lib/formats/ap_dsk35.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/asst128_dsk.h,FORMATS["ASST128_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["ASST128_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/asst128_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/asst128_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/atari_dsk.h,FORMATS["ATARI_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["ATARI_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/atari_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/atari_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/atom_dsk.h,FORMATS["ATOM_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["ATOM_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/atom_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/atom_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/atom_tap.h,FORMATS["ATOM_TAP"] = true
+--------------------------------------------------
+
+if (FORMATS["ATOM_TAP"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/atom_tap.cpp",
+ MAME_DIR.. "src/lib/formats/atom_tap.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/basicdsk.h,FORMATS["BASICDSK"] = true
+--------------------------------------------------
+
+if (FORMATS["BASICDSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/basicdsk.cpp",
+ MAME_DIR.. "src/lib/formats/basicdsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/bw12_dsk.h,FORMATS["BW12_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["BW12_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/bw12_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/bw12_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/bw2_dsk.h,FORMATS["BW2_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["BW2_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/bw2_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/bw2_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/c3040_dsk.h,FORMATS["C3040_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["C3040_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/c3040_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/c3040_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/c4040_dsk.h,FORMATS["C4040_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["C4040_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/c4040_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/c4040_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/c8280_dsk.h,FORMATS["C8280_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["C8280_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/c8280_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/c8280_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/camplynx_cas.h,FORMATS["CAMPLYNX_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["CAMPLYNX_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/camplynx_cas.cpp",
+ MAME_DIR.. "src/lib/formats/camplynx_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/camplynx_dsk.h,FORMATS["CAMPLYNX_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["CAMPLYNX_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/camplynx_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/camplynx_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/cbm_crt.h,FORMATS["CBM_CRT"] = true
+--------------------------------------------------
+
+if (FORMATS["CBM_CRT"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/cbm_crt.cpp",
+ MAME_DIR.. "src/lib/formats/cbm_crt.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/cbm_tap.h,FORMATS["CBM_TAP"] = true
+--------------------------------------------------
+
+if (FORMATS["CBM_TAP"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/cbm_tap.cpp",
+ MAME_DIR.. "src/lib/formats/cbm_tap.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/ccvf_dsk.h,FORMATS["CCVF_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["CCVF_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/ccvf_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/ccvf_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/cd90_640_dsk.h,FORMATS["CD90_640_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["CD90_640_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/cd90_640_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/cd90_640_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/cgenie_dsk.h,FORMATS["CGENIE_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["CGENIE_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/cgenie_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/cgenie_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/cgen_cas.h,FORMATS["CGEN_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["CGEN_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/cgen_cas.cpp",
+ MAME_DIR.. "src/lib/formats/cgen_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/coco_cas.h,FORMATS["COCO_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["COCO_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/coco_cas.cpp",
+ MAME_DIR.. "src/lib/formats/coco_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/comx35_dsk.h,FORMATS["COMX35_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["COMX35_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/comx35_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/comx35_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/concept_dsk.h,FORMATS["CONCEPT_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["CONCEPT_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/concept_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/concept_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/coupedsk.h,FORMATS["COUPEDSK"] = true
+--------------------------------------------------
+
+if (FORMATS["COUPEDSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/coupedsk.cpp",
+ MAME_DIR.. "src/lib/formats/coupedsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/cpis_dsk.h,FORMATS["CPIS_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["CPIS_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/cpis_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/cpis_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/csw_cas.h,FORMATS["CSW_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["CSW_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/csw_cas.cpp",
+ MAME_DIR.. "src/lib/formats/csw_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/d64_dsk.h,FORMATS["D64_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["D64_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/d64_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/d64_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/d71_dsk.h,FORMATS["D71_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["D71_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/d71_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/d71_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/d80_dsk.h,FORMATS["D80_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["D80_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/d80_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/d80_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/d81_dsk.h,FORMATS["D81_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["D81_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/d81_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/d81_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/d82_dsk.h,FORMATS["D82_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["D82_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/d82_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/d82_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/dcp_dsk.h,FORMATS["DCP_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["DCP_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/dcp_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/dcp_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/dim_dsk.h,FORMATS["DIM_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["DIM_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/dim_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/dim_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/dip_dsk.h,FORMATS["DIP_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["DIP_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/dip_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/dip_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/dmk_dsk.h,FORMATS["DMK_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["DMK_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/dmk_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/dmk_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/sdf_dsk.h,FORMATS["SDF_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["SDF_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/sdf_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/sdf_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/ep64_dsk.h,FORMATS["EP64_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["EP64_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/ep64_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/ep64_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/dmv_dsk.h,FORMATS["DMV_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["DMV_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/dmv_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/dmv_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/esq16_dsk.h,FORMATS["ESQ16_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["ESQ16_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/esq16_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/esq16_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/esq8_dsk.h,FORMATS["ESQ8_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["ESQ8_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/esq8_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/esq8_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/excali64_dsk.h,FORMATS["EXCALI64_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["EXCALI64_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/excali64_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/excali64_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/fc100_cas.h,FORMATS["FC100_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["FC100_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/fc100_cas.cpp",
+ MAME_DIR.. "src/lib/formats/fc100_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/fdd_dsk.h,FORMATS["FDD_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["FDD_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/fdd_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/fdd_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/flex_dsk.h,FORMATS["FLEX_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["FLEX_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/flex_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/flex_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/fm7_cas.h,FORMATS["FM7_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["FM7_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/fm7_cas.cpp",
+ MAME_DIR.. "src/lib/formats/fm7_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/fmsx_cas.h,FORMATS["FMSX_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["FMSX_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/fmsx_cas.cpp",
+ MAME_DIR.. "src/lib/formats/fmsx_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/fmtowns_dsk.h,FORMATS["FMTOWNS_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["FMTOWNS_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/fmtowns_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/fmtowns_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/fsd_dsk.h,FORMATS["FSD_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["FSD_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/fsd_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/fsd_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/g64_dsk.h,FORMATS["G64_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["G64_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/g64_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/g64_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/gtp_cas.h,FORMATS["GTP_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["GTP_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/gtp_cas.cpp",
+ MAME_DIR.. "src/lib/formats/gtp_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/guab_dsk.h,FORMATS["GUAB_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["GUAB_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/guab_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/guab_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/hector_minidisc.h,FORMATS["HECTOR_MINIDISC"] = true
+--------------------------------------------------
+
+if (FORMATS["HECTOR_MINIDISC"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/hector_minidisc.cpp",
+ MAME_DIR.. "src/lib/formats/hector_minidisc.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/hect_dsk.h,FORMATS["HECT_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["HECT_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/hect_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/hect_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/hect_tap.h,FORMATS["HECT_TAP"] = true
+--------------------------------------------------
+
+if (FORMATS["HECT_TAP"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/hect_tap.cpp",
+ MAME_DIR.. "src/lib/formats/hect_tap.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/hti_tape.h,FORMATS["HTI_TAP"] = true
+--------------------------------------------------
+
+if (FORMATS["HTI_TAP"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/hti_tape.cpp",
+ MAME_DIR.. "src/lib/formats/hti_tape.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/hpi_dsk.h,FORMATS["HPI_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["HPI_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/hpi_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/hpi_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/hp_ipc_dsk.h,FORMATS["HP_IPC_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["HP_IPC_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/hp_ipc_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/hp_ipc_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/iq151_dsk.h,FORMATS["IQ151_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["IQ151_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/iq151_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/iq151_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/itt3030_dsk.h,FORMATS["ITT3030_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["ITT3030_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/itt3030_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/itt3030_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/jvc_dsk.h,FORMATS["JVC_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["JVC_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/jvc_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/jvc_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/os9_dsk.h,FORMATS["OS9_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["OS9_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/os9_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/os9_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/jfd_dsk.h,FORMATS["JFD_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["JFD_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/jfd_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/jfd_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/kaypro_dsk.h,FORMATS["KAYPRO_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["KAYPRO_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/kaypro_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/kaypro_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/kc85_dsk.h,FORMATS["KC85_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["KC85_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/kc85_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/kc85_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/kc_cas.h,FORMATS["KC_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["KC_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/kc_cas.cpp",
+ MAME_DIR.. "src/lib/formats/kc_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/kim1_cas.h,FORMATS["KIM1_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["KIM1_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/kim1_cas.cpp",
+ MAME_DIR.. "src/lib/formats/kim1_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/lviv_lvt.h,FORMATS["LVIV_LVT"] = true
+--------------------------------------------------
+
+if (FORMATS["LVIV_LVT"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/lviv_lvt.cpp",
+ MAME_DIR.. "src/lib/formats/lviv_lvt.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/m20_dsk.h,FORMATS["M20_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["M20_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/m20_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/m20_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/m5_dsk.h,FORMATS["M5_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["M5_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/m5_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/m5_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/mbee_cas.h,FORMATS["MBEE_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["MBEE_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/mbee_cas.cpp",
+ MAME_DIR.. "src/lib/formats/mbee_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/mfm_hd.h,FORMATS["MFM_HD"] = true
+--------------------------------------------------
+
+if (FORMATS["MFM_HD"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/mfm_hd.cpp",
+ MAME_DIR.. "src/lib/formats/mfm_hd.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/mm_dsk.h,FORMATS["MM_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["MM_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/mm_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/mm_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/ms0515_dsk.h,FORMATS["MS0515_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["MS0515_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/ms0515_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/ms0515_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/msx_dsk.h,FORMATS["MSX_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["MSX_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/msx_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/msx_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/mtx_dsk.h,FORMATS["MTX_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["MTX_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/mtx_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/mtx_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/mz_cas.h,FORMATS["MZ_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["MZ_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/mz_cas.cpp",
+ MAME_DIR.. "src/lib/formats/mz_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/nanos_dsk.h,FORMATS["NANOS_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["NANOS_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/nanos_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/nanos_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/nascom_dsk.h,FORMATS["NASCOM_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["NASCOM_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/nascom_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/nascom_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/naslite_dsk.h,FORMATS["NASLITE_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["NASLITE_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/naslite_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/naslite_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/nes_dsk.h,FORMATS["NES_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["NES_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/nes_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/nes_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/nfd_dsk.h,FORMATS["NFD_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["NFD_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/nfd_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/nfd_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/opd_dsk.h,FORMATS["OPD_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["OPD_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/opd_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/opd_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/orao_cas.h,FORMATS["ORAO_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["ORAO_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/orao_cas.cpp",
+ MAME_DIR.. "src/lib/formats/orao_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/oric_dsk.h,FORMATS["ORIC_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["ORIC_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/oric_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/oric_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/oric_tap.h,FORMATS["ORIC_TAP"] = true
+--------------------------------------------------
+
+if (FORMATS["ORIC_TAP"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/oric_tap.cpp",
+ MAME_DIR.. "src/lib/formats/oric_tap.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/p6001_cas.h,FORMATS["P6001_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["P6001_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/p6001_cas.cpp",
+ MAME_DIR.. "src/lib/formats/p6001_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/pasti_dsk.h,FORMATS["PASTI_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["PASTI_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/pasti_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/pasti_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/pc98fdi_dsk.h,FORMATS["PC98FDI_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["PC98FDI_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/pc98fdi_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/pc98fdi_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/pc98_dsk.h,FORMATS["PC98_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["PC98_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/pc98_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/pc98_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/pc_dsk.h,FORMATS["PC_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["PC_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/pc_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/pc_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/phc25_cas.h,FORMATS["PHC25_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["PHC25_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/phc25_cas.cpp",
+ MAME_DIR.. "src/lib/formats/phc25_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/pk8020_dsk.h,FORMATS["PK8020_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["PK8020_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/pk8020_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/pk8020_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/pmd_cas.h,FORMATS["PMD_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["PMD_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/pmd_cas.cpp",
+ MAME_DIR.. "src/lib/formats/pmd_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/poly_dsk.h,FORMATS["POLY_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["POLY_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/poly_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/poly_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/ppg_dsk.h,FORMATS["PPG_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["PPG_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/ppg_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/ppg_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/primoptp.h,FORMATS["PRIMOPTP"] = true
+--------------------------------------------------
+
+if (FORMATS["PRIMOPTP"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/primoptp.cpp",
+ MAME_DIR.. "src/lib/formats/primoptp.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/pyldin_dsk.h,FORMATS["PYLDIN_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["PYLDIN_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/pyldin_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/pyldin_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/ql_dsk.h,FORMATS["QL_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["QL_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/ql_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/ql_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/rk_cas.h,FORMATS["RK_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["RK_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/rk_cas.cpp",
+ MAME_DIR.. "src/lib/formats/rk_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/rx50_dsk.h,FORMATS["RX50_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["RX50_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/rx50_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/rx50_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/sc3000_bit.h,FORMATS["SC3000_BIT"] = true
+--------------------------------------------------
+
+if (FORMATS["SC3000_BIT"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/sc3000_bit.cpp",
+ MAME_DIR.. "src/lib/formats/sc3000_bit.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/sf7000_dsk.h,FORMATS["SF7000_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["SF7000_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/sf7000_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/sf7000_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/smx_dsk.h,FORMATS["SMX_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["SMX_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/smx_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/smx_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/sol_cas.h,FORMATS["SOL_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["SOL_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/sol_cas.cpp",
+ MAME_DIR.. "src/lib/formats/sol_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/sorc_cas.h,FORMATS["SORC_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["SORC_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/sorc_cas.cpp",
+ MAME_DIR.. "src/lib/formats/sorc_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/sorc_dsk.h,FORMATS["SORC_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["SORC_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/sorc_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/sorc_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/sord_cas.h,FORMATS["SORD_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["SORD_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/sord_cas.cpp",
+ MAME_DIR.. "src/lib/formats/sord_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/spc1000_cas.h,FORMATS["SPC1000_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["SPC1000_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/spc1000_cas.cpp",
+ MAME_DIR.. "src/lib/formats/spc1000_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/st_dsk.h,FORMATS["ST_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["ST_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/st_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/st_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/svi_cas.h,FORMATS["SVI_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["SVI_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/svi_cas.cpp",
+ MAME_DIR.. "src/lib/formats/svi_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/svi_dsk.h,FORMATS["SVI_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["SVI_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/svi_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/svi_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/tandy2k_dsk.h,FORMATS["TANDY2K_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["TANDY2K_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/tandy2k_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/tandy2k_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/thom_cas.h,FORMATS["THOM_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["THOM_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/thom_cas.cpp",
+ MAME_DIR.. "src/lib/formats/thom_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/thom_dsk.h,FORMATS["THOM_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["THOM_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/thom_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/thom_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/ti99_dsk.h,FORMATS["TI99_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["TI99_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/ti99_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/ti99_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/tiki100_dsk.h,FORMATS["TIKI100_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["TIKI100_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/tiki100_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/tiki100_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/trd_dsk.h,FORMATS["TRD_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["TRD_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/trd_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/trd_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/trs80_dsk.h,FORMATS["TRS80_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["TRS80_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/trs80_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/trs80_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/trs_cas.h,FORMATS["TRS_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["TRS_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/trs_cas.cpp",
+ MAME_DIR.. "src/lib/formats/trs_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/tvc_cas.h,FORMATS["TVC_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["TVC_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/tvc_cas.cpp",
+ MAME_DIR.. "src/lib/formats/tvc_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/tvc_dsk.h,FORMATS["TVC_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["TVC_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/tvc_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/tvc_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/tzx_cas.h,FORMATS["TZX_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["TZX_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/tzx_cas.cpp",
+ MAME_DIR.. "src/lib/formats/tzx_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/uef_cas.h,FORMATS["UEF_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["UEF_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/uef_cas.cpp",
+ MAME_DIR.. "src/lib/formats/uef_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/upd765_dsk.h,FORMATS["UPD765_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["UPD765_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/upd765_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/upd765_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/vdk_dsk.h,FORMATS["VDK_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["VDK_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/vdk_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/vdk_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/vector06_dsk.h,FORMATS["VECTOR06_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["VECTOR06_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/vector06_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/vector06_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/vg5k_cas.h,FORMATS["VG5K_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["VG5K_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/vg5k_cas.cpp",
+ MAME_DIR.. "src/lib/formats/vg5k_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/victor9k_dsk.h,FORMATS["VICTOR9K_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["VICTOR9K_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/victor9k_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/victor9k_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/vt_cas.h,FORMATS["VT_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["VT_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/vt_cas.cpp",
+ MAME_DIR.. "src/lib/formats/vt_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/wd177x_dsk.h,FORMATS["WD177X_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["WD177X_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/wd177x_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/wd177x_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/x07_cas.h,FORMATS["X07_CAS"] = true
+--------------------------------------------------
+
+if (FORMATS["X07_CAS"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/x07_cas.cpp",
+ MAME_DIR.. "src/lib/formats/x07_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/x1_tap.h,FORMATS["X1_TAP"] = true
+--------------------------------------------------
+
+if (FORMATS["X1_TAP"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/x1_tap.cpp",
+ MAME_DIR.. "src/lib/formats/x1_tap.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/xdf_dsk.h,FORMATS["XDF_DSK"] = true
+--------------------------------------------------
+
+if (FORMATS["XDF_DSK"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/xdf_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/xdf_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/zx81_p.h,FORMATS["ZX81_P"] = true
+--------------------------------------------------
+
+if (FORMATS["ZX81_P"]~=null or _OPTIONS["with-tools"]) then
+ files {
+ MAME_DIR.. "src/lib/formats/zx81_p.cpp",
+ MAME_DIR.. "src/lib/formats/zx81_p.h",
+ }
+end
+
+end
diff --git a/docs/release/scripts/src/lib.lua b/docs/release/scripts/src/lib.lua
new file mode 100644
index 00000000000..28fb3b7c9a6
--- /dev/null
+++ b/docs/release/scripts/src/lib.lua
@@ -0,0 +1,117 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- lib.lua
+--
+-- Rules for building lib cores
+--
+---------------------------------------------------------------------------
+
+project "utils"
+ uuid "22489ad0-4cb2-4d91-ad81-24b0d80ca30a"
+ kind (LIBTYPE)
+
+ addprojectflags()
+
+ includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "3rdparty",
+ ext_includedir("expat"),
+ ext_includedir("zlib"),
+ ext_includedir("flac"),
+ ext_includedir("utf8proc"),
+ }
+
+ files {
+ MAME_DIR .. "src/lib/util/bitstream.h",
+ MAME_DIR .. "src/lib/util/coretmpl.h",
+ MAME_DIR .. "src/lib/util/avhuff.cpp",
+ MAME_DIR .. "src/lib/util/avhuff.h",
+ MAME_DIR .. "src/lib/util/aviio.cpp",
+ MAME_DIR .. "src/lib/util/aviio.h",
+ MAME_DIR .. "src/lib/util/base64.hpp",
+ MAME_DIR .. "src/lib/util/bitmap.cpp",
+ MAME_DIR .. "src/lib/util/bitmap.h",
+ MAME_DIR .. "src/lib/util/cdrom.cpp",
+ MAME_DIR .. "src/lib/util/cdrom.h",
+ MAME_DIR .. "src/lib/util/chd.cpp",
+ MAME_DIR .. "src/lib/util/chd.h",
+ MAME_DIR .. "src/lib/util/chdcd.cpp",
+ MAME_DIR .. "src/lib/util/chdcd.h",
+ MAME_DIR .. "src/lib/util/chdcodec.cpp",
+ MAME_DIR .. "src/lib/util/chdcodec.h",
+ MAME_DIR .. "src/lib/util/client_http.hpp",
+ MAME_DIR .. "src/lib/util/client_https.hpp",
+ MAME_DIR .. "src/lib/util/client_ws.hpp",
+ MAME_DIR .. "src/lib/util/client_wss.hpp",
+ MAME_DIR .. "src/lib/util/corealloc.h",
+ MAME_DIR .. "src/lib/util/corefile.cpp",
+ MAME_DIR .. "src/lib/util/corefile.h",
+ MAME_DIR .. "src/lib/util/corestr.cpp",
+ MAME_DIR .. "src/lib/util/corestr.h",
+ MAME_DIR .. "src/lib/util/coreutil.cpp",
+ MAME_DIR .. "src/lib/util/coreutil.h",
+ MAME_DIR .. "src/lib/util/crypto.hpp",
+ MAME_DIR .. "src/lib/util/delegate.cpp",
+ MAME_DIR .. "src/lib/util/delegate.h",
+ MAME_DIR .. "src/lib/util/disasmintf.cpp",
+ MAME_DIR .. "src/lib/util/disasmintf.h",
+ MAME_DIR .. "src/lib/util/flac.cpp",
+ MAME_DIR .. "src/lib/util/flac.h",
+ MAME_DIR .. "src/lib/util/harddisk.cpp",
+ MAME_DIR .. "src/lib/util/harddisk.h",
+ MAME_DIR .. "src/lib/util/hash.cpp",
+ MAME_DIR .. "src/lib/util/hash.h",
+ MAME_DIR .. "src/lib/util/hashing.cpp",
+ MAME_DIR .. "src/lib/util/hashing.h",
+ MAME_DIR .. "src/lib/util/huffman.cpp",
+ MAME_DIR .. "src/lib/util/huffman.h",
+ MAME_DIR .. "src/lib/util/jedparse.cpp",
+ MAME_DIR .. "src/lib/util/jedparse.h",
+ MAME_DIR .. "src/lib/util/md5.cpp",
+ MAME_DIR .. "src/lib/util/md5.h",
+ MAME_DIR .. "src/lib/util/nanosvg.cpp",
+ MAME_DIR .. "src/lib/util/opresolv.cpp",
+ MAME_DIR .. "src/lib/util/opresolv.h",
+ MAME_DIR .. "src/lib/util/options.cpp",
+ MAME_DIR .. "src/lib/util/options.h",
+ MAME_DIR .. "src/lib/util/palette.cpp",
+ MAME_DIR .. "src/lib/util/palette.h",
+ MAME_DIR .. "src/lib/util/path_to_regex.cpp",
+ MAME_DIR .. "src/lib/util/path_to_regex.hpp",
+ MAME_DIR .. "src/lib/util/plaparse.cpp",
+ MAME_DIR .. "src/lib/util/plaparse.h",
+ MAME_DIR .. "src/lib/util/png.cpp",
+ MAME_DIR .. "src/lib/util/png.h",
+ MAME_DIR .. "src/lib/util/pool.cpp",
+ MAME_DIR .. "src/lib/util/pool.h",
+ MAME_DIR .. "src/lib/util/server_http.hpp",
+ MAME_DIR .. "src/lib/util/server_https.hpp",
+ MAME_DIR .. "src/lib/util/server_ws.hpp",
+ MAME_DIR .. "src/lib/util/server_wss.hpp",
+ MAME_DIR .. "src/lib/util/sha1.cpp",
+ MAME_DIR .. "src/lib/util/sha1.h",
+ MAME_DIR .. "src/lib/util/sha1.hpp",
+ MAME_DIR .. "src/lib/util/strformat.cpp",
+ MAME_DIR .. "src/lib/util/strformat.h",
+ MAME_DIR .. "src/lib/util/timeconv.cpp",
+ MAME_DIR .. "src/lib/util/timeconv.h",
+ MAME_DIR .. "src/lib/util/unicode.cpp",
+ MAME_DIR .. "src/lib/util/unicode.h",
+ MAME_DIR .. "src/lib/util/unzip.cpp",
+ MAME_DIR .. "src/lib/util/unzip.h",
+ MAME_DIR .. "src/lib/util/un7z.cpp",
+ MAME_DIR .. "src/lib/util/vbiparse.cpp",
+ MAME_DIR .. "src/lib/util/vbiparse.h",
+ MAME_DIR .. "src/lib/util/vecstream.cpp",
+ MAME_DIR .. "src/lib/util/vecstream.h",
+ MAME_DIR .. "src/lib/util/wavwrite.cpp",
+ MAME_DIR .. "src/lib/util/wavwrite.h",
+ MAME_DIR .. "src/lib/util/xmlfile.cpp",
+ MAME_DIR .. "src/lib/util/xmlfile.h",
+ MAME_DIR .. "src/lib/util/zippath.cpp",
+ MAME_DIR .. "src/lib/util/zippath.h",
+ }
diff --git a/docs/release/scripts/src/machine.lua b/docs/release/scripts/src/machine.lua
new file mode 100644
index 00000000000..79f1c545491
--- /dev/null
+++ b/docs/release/scripts/src/machine.lua
@@ -0,0 +1,4067 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- machine.lua
+--
+-- Rules for building machine cores
+--
+----------------------------------------------------------------------------
+
+files {
+ MAME_DIR .. "src/devices/machine/bcreader.cpp",
+ MAME_DIR .. "src/devices/machine/bcreader.h",
+-- MAME_DIR .. "src/devices/machine/buffer.cpp",
+-- MAME_DIR .. "src/devices/machine/buffer.h",
+ MAME_DIR .. "src/devices/machine/clock.cpp",
+ MAME_DIR .. "src/devices/machine/clock.h",
+-- MAME_DIR .. "src/devices/machine/keyboard.cpp",
+-- MAME_DIR .. "src/devices/machine/keyboard.h",
+-- MAME_DIR .. "src/devices/machine/keyboard.ipp",
+ MAME_DIR .. "src/devices/machine/laserdsc.cpp",
+ MAME_DIR .. "src/devices/machine/laserdsc.h",
+ MAME_DIR .. "src/devices/machine/nvram.cpp",
+ MAME_DIR .. "src/devices/machine/nvram.h",
+ MAME_DIR .. "src/devices/machine/ram.cpp",
+ MAME_DIR .. "src/devices/machine/ram.h",
+ MAME_DIR .. "src/devices/machine/legscsi.cpp",
+ MAME_DIR .. "src/devices/machine/legscsi.h",
+-- MAME_DIR .. "src/devices/machine/sdlc.cpp",
+-- MAME_DIR .. "src/devices/machine/sdlc.h",
+-- MAME_DIR .. "src/devices/machine/terminal.cpp",
+-- MAME_DIR .. "src/devices/machine/terminal.h",
+ MAME_DIR .. "src/devices/machine/timer.cpp",
+ MAME_DIR .. "src/devices/machine/timer.h",
+}
+files {
+-- MAME_DIR .. "src/devices/imagedev/bitbngr.cpp",
+-- MAME_DIR .. "src/devices/imagedev/bitbngr.h",
+ MAME_DIR .. "src/devices/imagedev/cassette.cpp",
+ MAME_DIR .. "src/devices/imagedev/cassette.h",
+ MAME_DIR .. "src/devices/imagedev/chd_cd.cpp",
+ MAME_DIR .. "src/devices/imagedev/chd_cd.h",
+-- MAME_DIR .. "src/devices/imagedev/diablo.cpp",
+-- MAME_DIR .. "src/devices/imagedev/diablo.h",
+ MAME_DIR .. "src/devices/imagedev/flopdrv.cpp",
+ MAME_DIR .. "src/devices/imagedev/flopdrv.h",
+ MAME_DIR .. "src/devices/imagedev/floppy.cpp",
+ MAME_DIR .. "src/devices/imagedev/floppy.h",
+ MAME_DIR .. "src/devices/imagedev/harddriv.cpp",
+ MAME_DIR .. "src/devices/imagedev/harddriv.h",
+-- MAME_DIR .. "src/devices/imagedev/mfmhd.cpp",
+-- MAME_DIR .. "src/devices/imagedev/mfmhd.h",
+-- MAME_DIR .. "src/devices/imagedev/midiin.cpp",
+-- MAME_DIR .. "src/devices/imagedev/midiin.h",
+-- MAME_DIR .. "src/devices/imagedev/midiout.cpp",
+-- MAME_DIR .. "src/devices/imagedev/midiout.h",
+-- MAME_DIR .. "src/devices/imagedev/printer.cpp",
+-- MAME_DIR .. "src/devices/imagedev/printer.h",
+-- MAME_DIR .. "src/devices/imagedev/snapquik.cpp",
+-- MAME_DIR .. "src/devices/imagedev/snapquik.h",
+}
+---------------------------------------------------
+--
+--@src/devices/machine/akiko.h,MACHINES["AKIKO"] = true
+---------------------------------------------------
+
+if (MACHINES["AKIKO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/akiko.cpp",
+ MAME_DIR .. "src/devices/machine/akiko.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/machine/autoconfig.h,MACHINES["AUTOCONFIG"] = true
+---------------------------------------------------
+
+if (MACHINES["AUTOCONFIG"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/autoconfig.cpp",
+ MAME_DIR .. "src/devices/machine/autoconfig.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/machine/cr511b.h,MACHINES["CR511B"] = true
+---------------------------------------------------
+
+if (MACHINES["CR511B"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/cr511b.cpp",
+ MAME_DIR .. "src/devices/machine/cr511b.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/machine/dmac.h,MACHINES["DMAC"] = true
+---------------------------------------------------
+
+if (MACHINES["DMAC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/dmac.cpp",
+ MAME_DIR .. "src/devices/machine/dmac.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/machine/gayle.h,MACHINES["GAYLE"] = true
+---------------------------------------------------
+
+if (MACHINES["GAYLE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/gayle.cpp",
+ MAME_DIR .. "src/devices/machine/gayle.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/machine/40105.h,MACHINES["CMOS40105"] = true
+---------------------------------------------------
+
+if (MACHINES["CMOS40105"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/40105.cpp",
+ MAME_DIR .. "src/devices/machine/40105.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/machine/53c7xx.h,MACHINES["NCR53C7XX"] = true
+---------------------------------------------------
+
+if (MACHINES["NCR53C7XX"]~=null) then
+ MACHINES["NSCSI"] = true
+ files {
+ MAME_DIR .. "src/devices/machine/53c7xx.cpp",
+ MAME_DIR .. "src/devices/machine/53c7xx.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ncr5385.h,MACHINES["NCR5385"] = true
+---------------------------------------------------
+
+if (MACHINES["NCR5385"]~=null) then
+ MACHINES["NSCSI"] = true
+ files {
+ MAME_DIR .. "src/devices/machine/ncr5385.cpp",
+ MAME_DIR .. "src/devices/machine/ncr5385.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/53c810.h,MACHINES["LSI53C810"] = true
+---------------------------------------------------
+
+if (MACHINES["LSI53C810"]~=null) then
+ MACHINES["SCSI"] = true
+ files {
+ MAME_DIR .. "src/devices/machine/53c810.cpp",
+ MAME_DIR .. "src/devices/machine/53c810.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/2812fifo.h,MACHINES["2812FIFO"] = true
+---------------------------------------------------
+
+if (MACHINES["2812FIFO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/2812fifo.cpp",
+ MAME_DIR .. "src/devices/machine/2812fifo.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/6522via.h,MACHINES["6522VIA"] = true
+---------------------------------------------------
+
+if (MACHINES["6522VIA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/6522via.cpp",
+ MAME_DIR .. "src/devices/machine/6522via.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/6525tpi.h,MACHINES["TPI6525"] = true
+---------------------------------------------------
+
+if (MACHINES["TPI6525"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/6525tpi.cpp",
+ MAME_DIR .. "src/devices/machine/6525tpi.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/6532riot.h,MACHINES["RIOT6532"] = true
+---------------------------------------------------
+
+if (MACHINES["RIOT6532"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/6532riot.cpp",
+ MAME_DIR .. "src/devices/machine/6532riot.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/6821pia.h,MACHINES["6821PIA"] = true
+---------------------------------------------------
+
+if (MACHINES["6821PIA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/6821pia.cpp",
+ MAME_DIR .. "src/devices/machine/6821pia.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/6840ptm.h,MACHINES["6840PTM"] = true
+---------------------------------------------------
+
+if (MACHINES["6840PTM"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/6840ptm.cpp",
+ MAME_DIR .. "src/devices/machine/6840ptm.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/6850acia.h,MACHINES["ACIA6850"] = true
+---------------------------------------------------
+
+if (MACHINES["ACIA6850"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/6850acia.cpp",
+ MAME_DIR .. "src/devices/machine/6850acia.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/68153bim.h,MACHINES["BIM68153"] = true
+---------------------------------------------------
+
+if (MACHINES["BIM68153"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/68153bim.cpp",
+ MAME_DIR .. "src/devices/machine/68153bim.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/68230pit.h,MACHINES["PIT68230"] = true
+---------------------------------------------------
+
+if (MACHINES["PIT68230"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/68230pit.cpp",
+ MAME_DIR .. "src/devices/machine/68230pit.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/68561mpcc.h,MACHINES["MPCC68561"] = true
+---------------------------------------------------
+
+if (MACHINES["MPCC68561"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/68561mpcc.cpp",
+ MAME_DIR .. "src/devices/machine/68561mpcc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mc68681.h,MACHINES["68681"] = true
+---------------------------------------------------
+
+if (MACHINES["68681"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mc68681.cpp",
+ MAME_DIR .. "src/devices/machine/mc68681.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/7200fifo.h,MACHINES["7200FIFO"] = true
+---------------------------------------------------
+
+if (MACHINES["7200FIFO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/7200fifo.cpp",
+ MAME_DIR .. "src/devices/machine/7200fifo.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/7400.h,MACHINES["TTL7400"] = true
+---------------------------------------------------
+
+if (MACHINES["TTL7400"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/7400.cpp",
+ MAME_DIR .. "src/devices/machine/7400.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/7404.h,MACHINES["TTL7404"] = true
+---------------------------------------------------
+
+if (MACHINES["TTL7404"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/7404.cpp",
+ MAME_DIR .. "src/devices/machine/7404.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/74123.h,MACHINES["TTL74123"] = true
+---------------------------------------------------
+
+if (MACHINES["TTL74123"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/74123.cpp",
+ MAME_DIR .. "src/devices/machine/74123.h",
+ MAME_DIR .. "src/devices/machine/rescap.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/74145.h,MACHINES["TTL74145"] = true
+---------------------------------------------------
+
+if (MACHINES["TTL74145"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/74145.cpp",
+ MAME_DIR .. "src/devices/machine/74145.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/74148.h,MACHINES["TTL74148"] = true
+---------------------------------------------------
+
+if (MACHINES["TTL74148"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/74148.cpp",
+ MAME_DIR .. "src/devices/machine/74148.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/74153.h,MACHINES["TTL74153"] = true
+---------------------------------------------------
+
+if (MACHINES["TTL74153"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/74153.cpp",
+ MAME_DIR .. "src/devices/machine/74153.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/74157.h,MACHINES["TTL74157"] = true
+---------------------------------------------------
+
+if (MACHINES["TTL74157"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/74157.cpp",
+ MAME_DIR .. "src/devices/machine/74157.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/74161.h,MACHINES["TTL74161"] = true
+---------------------------------------------------
+
+if (MACHINES["TTL74161"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/74161.cpp",
+ MAME_DIR .. "src/devices/machine/74161.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/74165.h,MACHINES["TTL74165"] = true
+---------------------------------------------------
+
+if (MACHINES["TTL74165"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/74165.cpp",
+ MAME_DIR .. "src/devices/machine/74165.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/74166.h,MACHINES["TTL74166"] = true
+---------------------------------------------------
+
+if (MACHINES["TTL74166"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/74166.cpp",
+ MAME_DIR .. "src/devices/machine/74166.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/74175.h,MACHINES["TTL74175"] = true
+---------------------------------------------------
+
+if (MACHINES["TTL74175"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/74175.cpp",
+ MAME_DIR .. "src/devices/machine/74175.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/74181.h,MACHINES["TTL74181"] = true
+---------------------------------------------------
+
+if (MACHINES["TTL74181"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/74181.cpp",
+ MAME_DIR .. "src/devices/machine/74181.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/74259.h,MACHINES["TTL74259"] = true
+---------------------------------------------------
+
+if (MACHINES["TTL74259"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/74259.cpp",
+ MAME_DIR .. "src/devices/machine/74259.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/74381.h,MACHINES["TTL74381"] = true
+---------------------------------------------------
+
+if (MACHINES["TTL74381"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/74381.cpp",
+ MAME_DIR .. "src/devices/machine/74381.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/7474.h,MACHINES["TTL7474"] = true
+---------------------------------------------------
+
+if (MACHINES["TTL7474"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/7474.cpp",
+ MAME_DIR .. "src/devices/machine/7474.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/82s129.h,MACHINES["PROM82S129"] = true
+---------------------------------------------------
+
+if (MACHINES["PROM82S129"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/82s129.cpp",
+ MAME_DIR .. "src/devices/machine/82s129.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/8042kbdc.h,MACHINES["KBDC8042"] = true
+---------------------------------------------------
+
+if (MACHINES["KBDC8042"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/8042kbdc.cpp",
+ MAME_DIR .. "src/devices/machine/8042kbdc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/8530scc.h,MACHINES["8530SCC"] = true
+---------------------------------------------------
+
+if (MACHINES["8530SCC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/8530scc.cpp",
+ MAME_DIR .. "src/devices/machine/8530scc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/aakart.h,MACHINES["AAKARTDEV"] = true
+---------------------------------------------------
+
+if (MACHINES["AAKARTDEV"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/aakart.cpp",
+ MAME_DIR .. "src/devices/machine/aakart.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/adc0808.h,MACHINES["ADC0808"] = true
+---------------------------------------------------
+
+if (MACHINES["ADC0808"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/adc0808.cpp",
+ MAME_DIR .. "src/devices/machine/adc0808.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/adc083x.h,MACHINES["ADC083X"] = true
+---------------------------------------------------
+
+if (MACHINES["ADC083X"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/adc083x.cpp",
+ MAME_DIR .. "src/devices/machine/adc083x.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/adc1038.h,MACHINES["ADC1038"] = true
+---------------------------------------------------
+
+if (MACHINES["ADC1038"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/adc1038.cpp",
+ MAME_DIR .. "src/devices/machine/adc1038.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/adc1213x.h,MACHINES["ADC1213X"] = true
+---------------------------------------------------
+
+if (MACHINES["ADC1213X"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/adc1213x.cpp",
+ MAME_DIR .. "src/devices/machine/adc1213x.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/aicartc.h,MACHINES["AICARTC"] = true
+---------------------------------------------------
+
+if (MACHINES["AICARTC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/aicartc.cpp",
+ MAME_DIR .. "src/devices/machine/aicartc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/am25s55x.h,MACHINES["AM25S55X"] = true
+---------------------------------------------------
+
+if (MACHINES["AM25S55X"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/am25s55x.cpp",
+ MAME_DIR .. "src/devices/machine/am25s55x.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/am2847.h,MACHINES["AM2847"] = true
+---------------------------------------------------
+
+if (MACHINES["AM2847"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/am2847.cpp",
+ MAME_DIR .. "src/devices/machine/am2847.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/am2910.h,MACHINES["AM2910"] = true
+---------------------------------------------------
+
+if (MACHINES["AM2910"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/am2910.cpp",
+ MAME_DIR .. "src/devices/machine/am2910.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/am53cf96.h,MACHINES["AM53CF96"] = true
+---------------------------------------------------
+
+if (MACHINES["AM53CF96"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/am53cf96.cpp",
+ MAME_DIR .. "src/devices/machine/am53cf96.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/am79c90.h,MACHINES["AM79C90"] = true
+---------------------------------------------------
+
+if (MACHINES["AM79C90"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/am79c90.cpp",
+ MAME_DIR .. "src/devices/machine/am79c90.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/am9513.h,MACHINES["AM9513"] = true
+---------------------------------------------------
+
+if (MACHINES["AM9513"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/am9513.cpp",
+ MAME_DIR .. "src/devices/machine/am9513.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/am9517a.h,MACHINES["AM9517A"] = true
+---------------------------------------------------
+
+if (MACHINES["AM9517A"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/am9517a.cpp",
+ MAME_DIR .. "src/devices/machine/am9517a.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/am9519.h,MACHINES["AM9519"] = true
+---------------------------------------------------
+
+if (MACHINES["AM9519"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/am9519.cpp",
+ MAME_DIR .. "src/devices/machine/am9519.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/amigafdc.h,MACHINES["AMIGAFDC"] = true
+---------------------------------------------------
+
+if (MACHINES["AMIGAFDC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/amigafdc.cpp",
+ MAME_DIR .. "src/devices/machine/amigafdc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/at28c16.h,MACHINES["AT28C16"] = true
+---------------------------------------------------
+
+if (MACHINES["AT28C16"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/at28c16.cpp",
+ MAME_DIR .. "src/devices/machine/at28c16.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/at29x.h,MACHINES["AT29X"] = true
+---------------------------------------------------
+
+if (MACHINES["AT29X"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/at29x.cpp",
+ MAME_DIR .. "src/devices/machine/at29x.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/at45dbxx.h,MACHINES["AT45DBXX"] = true
+---------------------------------------------------
+
+if (MACHINES["AT45DBXX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/at45dbxx.cpp",
+ MAME_DIR .. "src/devices/machine/at45dbxx.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ataflash.h,MACHINES["ATAFLASH"] = true
+---------------------------------------------------
+
+if (MACHINES["ATAFLASH"]~=null) then
+ MACHINES["IDE"] = true
+ MACHINES["PCCARD"] = true
+ files {
+ MAME_DIR .. "src/devices/machine/ataflash.cpp",
+ MAME_DIR .. "src/devices/machine/ataflash.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/atmel_arm_aic.h,MACHINES["ARM_AIC"] = true
+---------------------------------------------------
+
+if (MACHINES["ARM_AIC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/atmel_arm_aic.cpp",
+ MAME_DIR .. "src/devices/machine/atmel_arm_aic.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ay31015.h,MACHINES["AY31015"] = true
+---------------------------------------------------
+
+if (MACHINES["AY31015"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ay31015.cpp",
+ MAME_DIR .. "src/devices/machine/ay31015.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/bankdev.h,MACHINES["BANKDEV"] = true
+---------------------------------------------------
+
+if (MACHINES["BANKDEV"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/bankdev.cpp",
+ MAME_DIR .. "src/devices/machine/bankdev.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/busmouse.h,MACHINES["BUSMOUSE"] = true
+---------------------------------------------------
+
+if (MACHINES["BUSMOUSE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/busmouse.cpp",
+ MAME_DIR .. "src/devices/machine/busmouse.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/cdp1852.h,MACHINES["CDP1852"] = true
+---------------------------------------------------
+
+if (MACHINES["CDP1852"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/cdp1852.cpp",
+ MAME_DIR .. "src/devices/machine/cdp1852.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/cdp1871.h,MACHINES["CDP1871"] = true
+---------------------------------------------------
+
+if (MACHINES["CDP1871"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/cdp1871.cpp",
+ MAME_DIR .. "src/devices/machine/cdp1871.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/cdp1879.h,MACHINES["CDP1879"] = true
+---------------------------------------------------
+
+if (MACHINES["CDP1879"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/cdp1879.cpp",
+ MAME_DIR .. "src/devices/machine/cdp1879.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/machine/chessmachine.h,MACHINES["CHESSMACHINE"] = true
+---------------------------------------------------
+
+if (MACHINES["CHESSMACHINE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/chessmachine.cpp",
+ MAME_DIR .. "src/devices/machine/chessmachine.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/machine/com8116.h,MACHINES["COM8116"] = true
+---------------------------------------------------
+
+if (MACHINES["COM8116"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/com8116.cpp",
+ MAME_DIR .. "src/devices/machine/com8116.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/cr589.h,MACHINES["CR589"] = true
+---------------------------------------------------
+
+if (MACHINES["CR589"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/cr589.cpp",
+ MAME_DIR .. "src/devices/machine/cr589.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/cs4031.h,MACHINES["CS4031"] = true
+---------------------------------------------------
+
+if (MACHINES["CS4031"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/cs4031.cpp",
+ MAME_DIR .. "src/devices/machine/cs4031.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/cs8221.h,MACHINES["CS8221"] = true
+---------------------------------------------------
+
+if (MACHINES["CS8221"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/cs8221.cpp",
+ MAME_DIR .. "src/devices/machine/cs8221.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/cxd1095.h,MACHINES["CXD1095"] = true
+---------------------------------------------------
+
+if (MACHINES["CXD1095"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/cxd1095.cpp",
+ MAME_DIR .. "src/devices/machine/cxd1095.h",
+ }
+end
+
+--@src/devices/machine/ds1204.h,MACHINES["DS1204"] = true
+---------------------------------------------------
+
+if (MACHINES["DS1204"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ds1204.cpp",
+ MAME_DIR .. "src/devices/machine/ds1204.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ds1205.h,MACHINES["DS1205"] = true
+---------------------------------------------------
+
+if (MACHINES["DS1205"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ds1205.cpp",
+ MAME_DIR .. "src/devices/machine/ds1205.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ds1302.h,MACHINES["DS1302"] = true
+---------------------------------------------------
+
+if (MACHINES["DS1302"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ds1302.cpp",
+ MAME_DIR .. "src/devices/machine/ds1302.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ds1315.h,MACHINES["DS1315"] = true
+---------------------------------------------------
+
+if (MACHINES["DS1315"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ds1315.cpp",
+ MAME_DIR .. "src/devices/machine/ds1315.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ds1386.h,MACHINES["DS1386"] = true
+---------------------------------------------------
+
+if (MACHINES["DS1386"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ds1386.cpp",
+ MAME_DIR .. "src/devices/machine/ds1386.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ds1994.h,MACHINES["DS1994"] = true
+---------------------------------------------------
+
+if (MACHINES["DS1994"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ds1994.cpp",
+ MAME_DIR .. "src/devices/machine/ds1994.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ds2401.h,MACHINES["DS2401"] = true
+---------------------------------------------------
+
+if (MACHINES["DS2401"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ds2401.cpp",
+ MAME_DIR .. "src/devices/machine/ds2401.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ds2404.h,MACHINES["DS2404"] = true
+---------------------------------------------------
+
+if (MACHINES["DS2404"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ds2404.cpp",
+ MAME_DIR .. "src/devices/machine/ds2404.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ds75160a.h,MACHINES["DS75160A"] = true
+---------------------------------------------------
+
+if (MACHINES["DS75160A"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ds75160a.cpp",
+ MAME_DIR .. "src/devices/machine/ds75160a.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ds75161a.h,MACHINES["DS75161A"] = true
+---------------------------------------------------
+
+if (MACHINES["DS75161A"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ds75161a.cpp",
+ MAME_DIR .. "src/devices/machine/ds75161a.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/e0516.h,MACHINES["E0516"] = true
+---------------------------------------------------
+
+if (MACHINES["E0516"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/e0516.cpp",
+ MAME_DIR .. "src/devices/machine/e0516.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/e05a03.h,MACHINES["E05A03"] = true
+---------------------------------------------------
+
+if (MACHINES["E05A03"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/e05a03.cpp",
+ MAME_DIR .. "src/devices/machine/e05a03.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/e05a30.h,MACHINES["E05A30"] = true
+---------------------------------------------------
+
+if (MACHINES["E05A30"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/e05a30.cpp",
+ MAME_DIR .. "src/devices/machine/e05a30.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/eeprom.h,MACHINES["EEPROMDEV"] = true
+--@src/devices/machine/eepromser.h,MACHINES["EEPROMDEV"] = true
+--@src/devices/machine/eeprompar.h,MACHINES["EEPROMDEV"] = true
+---------------------------------------------------
+
+if (MACHINES["EEPROMDEV"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/eeprom.cpp",
+ MAME_DIR .. "src/devices/machine/eeprom.h",
+ MAME_DIR .. "src/devices/machine/eepromser.cpp",
+ MAME_DIR .. "src/devices/machine/eepromser.h",
+ MAME_DIR .. "src/devices/machine/eeprompar.cpp",
+ MAME_DIR .. "src/devices/machine/eeprompar.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/er1400.h,MACHINES["ER1400"] = true
+---------------------------------------------------
+
+if (MACHINES["ER1400"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/er1400.cpp",
+ MAME_DIR .. "src/devices/machine/er1400.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/er2055.h,MACHINES["ER2055"] = true
+---------------------------------------------------
+
+if (MACHINES["ER2055"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/er2055.cpp",
+ MAME_DIR .. "src/devices/machine/er2055.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/f3853.h,MACHINES["F3853"] = true
+---------------------------------------------------
+
+if (MACHINES["F3853"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/f3853.cpp",
+ MAME_DIR .. "src/devices/machine/f3853.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/fga002.h,MACHINES["FGA002"] = true
+---------------------------------------------------
+
+if (MACHINES["FGA002"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/fga002.cpp",
+ MAME_DIR .. "src/devices/machine/fga002.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/hd63450.h,MACHINES["HD63450"] = true
+---------------------------------------------------
+
+if (MACHINES["HD63450"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/hd63450.cpp",
+ MAME_DIR .. "src/devices/machine/hd63450.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/hd64610.h,MACHINES["HD64610"] = true
+---------------------------------------------------
+
+if (MACHINES["HD64610"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/hd64610.cpp",
+ MAME_DIR .. "src/devices/machine/hd64610.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/hp_taco.h,MACHINES["HP_TACO"] = true
+---------------------------------------------------
+
+if (MACHINES["HP_TACO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/hp_taco.cpp",
+ MAME_DIR .. "src/devices/machine/hp_taco.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/1ma6.h,MACHINES["1MA6"] = true
+---------------------------------------------------
+
+if (MACHINES["1MA6"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/1ma6.cpp",
+ MAME_DIR .. "src/devices/machine/1ma6.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/1mb5.h,MACHINES["1MB5"] = true
+---------------------------------------------------
+
+if (MACHINES["1MB5"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/1mb5.cpp",
+ MAME_DIR .. "src/devices/machine/1mb5.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i2cmem.h,MACHINES["I2CMEM"] = true
+---------------------------------------------------
+
+if (MACHINES["I2CMEM"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i2cmem.cpp",
+ MAME_DIR .. "src/devices/machine/i2cmem.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i7220.h,MACHINES["I7220"] = true
+---------------------------------------------------
+
+if (MACHINES["I7220"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i7220.cpp",
+ MAME_DIR .. "src/devices/machine/i7220.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i8087.h,MACHINES["I8087"] = true
+---------------------------------------------------
+
+if (MACHINES["I8087"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i8087.cpp",
+ MAME_DIR .. "src/devices/machine/i8087.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i8155.h,MACHINES["I8155"] = true
+---------------------------------------------------
+
+if (MACHINES["I8155"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i8155.cpp",
+ MAME_DIR .. "src/devices/machine/i8155.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i8212.h,MACHINES["I8212"] = true
+---------------------------------------------------
+
+if (MACHINES["I8212"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i8212.cpp",
+ MAME_DIR .. "src/devices/machine/i8212.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i8214.h,MACHINES["I8214"] = true
+---------------------------------------------------
+
+if (MACHINES["I8214"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i8214.cpp",
+ MAME_DIR .. "src/devices/machine/i8214.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i82355.h,MACHINES["I82355"] = true
+---------------------------------------------------
+
+if (MACHINES["I82355"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i82355.cpp",
+ MAME_DIR .. "src/devices/machine/i82355.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i8243.h,MACHINES["I8243"] = true
+---------------------------------------------------
+
+if (MACHINES["I8243"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i8243.cpp",
+ MAME_DIR .. "src/devices/machine/i8243.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i8251.h,MACHINES["I8251"] = true
+---------------------------------------------------
+
+if (MACHINES["I8251"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i8251.cpp",
+ MAME_DIR .. "src/devices/machine/i8251.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i8257.h,MACHINES["I8257"] = true
+---------------------------------------------------
+
+if (MACHINES["I8257"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i8257.cpp",
+ MAME_DIR .. "src/devices/machine/i8257.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/machine/i8271.h,MACHINES["I8271"] = true
+---------------------------------------------------
+
+if (MACHINES["I8271"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i8271.cpp",
+ MAME_DIR .. "src/devices/machine/i8271.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i8279.h,MACHINES["I8279"] = true
+---------------------------------------------------
+
+if (MACHINES["I8279"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i8279.cpp",
+ MAME_DIR .. "src/devices/machine/i8279.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i8355.h,MACHINES["I8355"] = true
+---------------------------------------------------
+
+if (MACHINES["I8355"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i8355.cpp",
+ MAME_DIR .. "src/devices/machine/i8355.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i80130.h,MACHINES["I80130"] = true
+---------------------------------------------------
+
+if (MACHINES["I80130"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i80130.cpp",
+ MAME_DIR .. "src/devices/machine/i80130.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/atadev.h,MACHINES["IDE"] = true
+--@src/devices/machine/ataintf.h,MACHINES["IDE"] = true
+---------------------------------------------------
+
+if (MACHINES["IDE"]~=null) then
+ MACHINES["T10"] = true
+ files {
+ MAME_DIR .. "src/devices/machine/atadev.cpp",
+ MAME_DIR .. "src/devices/machine/atadev.h",
+ MAME_DIR .. "src/devices/machine/atahle.cpp",
+ MAME_DIR .. "src/devices/machine/atahle.h",
+ MAME_DIR .. "src/devices/machine/ataintf.cpp",
+ MAME_DIR .. "src/devices/machine/ataintf.h",
+ MAME_DIR .. "src/devices/machine/atapicdr.cpp",
+ MAME_DIR .. "src/devices/machine/atapicdr.h",
+ MAME_DIR .. "src/devices/machine/atapihle.cpp",
+ MAME_DIR .. "src/devices/machine/atapihle.h",
+ MAME_DIR .. "src/devices/machine/idectrl.cpp",
+ MAME_DIR .. "src/devices/machine/idectrl.h",
+ MAME_DIR .. "src/devices/machine/idehd.cpp",
+ MAME_DIR .. "src/devices/machine/idehd.h",
+ MAME_DIR .. "src/devices/machine/vt83c461.cpp",
+ MAME_DIR .. "src/devices/machine/vt83c461.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ie15.h,MACHINES["IE15"] = true
+---------------------------------------------------
+
+if (MACHINES["IE15"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ie15.cpp",
+ MAME_DIR .. "src/devices/machine/ie15.h",
+ MAME_DIR .. "src/devices/machine/ie15_kbd.cpp",
+ MAME_DIR .. "src/devices/machine/ie15_kbd.h",
+ }
+
+ dependency {
+ { MAME_DIR .. "src/devices/machine/ie15.cpp", GEN_DIR .. "emu/layout/ie15.lh" },
+ }
+
+ custombuildtask {
+ layoutbuildtask("emu/layout", "ie15"),
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/im6402.h,MACHINES["IM6402"] = true
+---------------------------------------------------
+
+if (MACHINES["IM6402"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/im6402.cpp",
+ MAME_DIR .. "src/devices/machine/im6402.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ins8154.h,MACHINES["INS8154"] = true
+---------------------------------------------------
+
+if (MACHINES["INS8154"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ins8154.cpp",
+ MAME_DIR .. "src/devices/machine/ins8154.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ins8250.h,MACHINES["INS8250"] = true
+---------------------------------------------------
+
+if (MACHINES["INS8250"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ins8250.cpp",
+ MAME_DIR .. "src/devices/machine/ins8250.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/intelfsh.h,MACHINES["INTELFLASH"] = true
+---------------------------------------------------
+
+if (MACHINES["INTELFLASH"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/intelfsh.cpp",
+ MAME_DIR .. "src/devices/machine/intelfsh.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/jvsdev.h,MACHINES["JVS"] = true
+--@src/devices/machine/jvshost.h,MACHINES["JVS"] = true
+---------------------------------------------------
+
+if (MACHINES["JVS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/jvsdev.cpp",
+ MAME_DIR .. "src/devices/machine/jvsdev.h",
+ MAME_DIR .. "src/devices/machine/jvshost.cpp",
+ MAME_DIR .. "src/devices/machine/jvshost.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/k033906.h,MACHINES["K033906"] = true
+---------------------------------------------------
+
+if (MACHINES["K033906"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/k033906.cpp",
+ MAME_DIR .. "src/devices/machine/k033906.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/k053252.h,MACHINES["K053252"] = true
+---------------------------------------------------
+
+if (MACHINES["K053252"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/k053252.cpp",
+ MAME_DIR .. "src/devices/machine/k053252.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/k056230.h,MACHINES["K056230"] = true
+---------------------------------------------------
+
+if (MACHINES["K056230"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/k056230.cpp",
+ MAME_DIR .. "src/devices/machine/k056230.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mm5740.h,MACHINES["MM5740"] = true
+---------------------------------------------------
+
+if (MACHINES["MM5740"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mm5740.cpp",
+ MAME_DIR .. "src/devices/machine/mm5740.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/kb3600.h,MACHINES["KB3600"] = true
+---------------------------------------------------
+
+if (MACHINES["KB3600"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/kb3600.cpp",
+ MAME_DIR .. "src/devices/machine/kb3600.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/kr2376.h,MACHINES["KR2376"] = true
+---------------------------------------------------
+
+if (MACHINES["KR2376"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/kr2376.cpp",
+ MAME_DIR .. "src/devices/machine/kr2376.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/latch8.h,MACHINES["LATCH8"] = true
+---------------------------------------------------
+
+if (MACHINES["LATCH8"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/latch8.cpp",
+ MAME_DIR .. "src/devices/machine/latch8.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/lc89510.h,MACHINES["LC89510"] = true
+---------------------------------------------------
+
+if (MACHINES["LC89510"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/lc89510.cpp",
+ MAME_DIR .. "src/devices/machine/lc89510.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ldpr8210.h,MACHINES["LDPR8210"] = true
+---------------------------------------------------
+
+if (MACHINES["LDPR8210"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ldpr8210.cpp",
+ MAME_DIR .. "src/devices/machine/ldpr8210.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ldstub.h,MACHINES["LDSTUB"] = true
+---------------------------------------------------
+
+if (MACHINES["LDSTUB"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ldstub.cpp",
+ MAME_DIR .. "src/devices/machine/ldstub.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ldv1000.h,MACHINES["LDV1000"] = true
+---------------------------------------------------
+
+if (MACHINES["LDV1000"]~=null) then
+ MACHINES["Z80CTC"] = true
+ MACHINES["I8255"] = true
+ files {
+ MAME_DIR .. "src/devices/machine/ldv1000.cpp",
+ MAME_DIR .. "src/devices/machine/ldv1000.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ldp1000.h,MACHINES["LDP1000"] = true
+---------------------------------------------------
+
+if (MACHINES["LDP1000"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ldp1000.cpp",
+ MAME_DIR .. "src/devices/machine/ldp1000.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ldp1450.h,MACHINES["LDP1450"] = true
+---------------------------------------------------
+
+if (MACHINES["LDP1450"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ldp1450.cpp",
+ MAME_DIR .. "src/devices/machine/ldp1450.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ldvp931.h,MACHINES["LDVP931"] = true
+---------------------------------------------------
+
+if (MACHINES["LDVP931"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ldvp931.cpp",
+ MAME_DIR .. "src/devices/machine/ldvp931.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/lh5810.h,MACHINES["LH5810"] = true
+---------------------------------------------------
+
+if (MACHINES["LH5810"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/lh5810.cpp",
+ MAME_DIR .. "src/devices/machine/lh5810.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/linflash.h,MACHINES["LINFLASH"] = true
+---------------------------------------------------
+
+if (MACHINES["LINFLASH"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/linflash.cpp",
+ MAME_DIR .. "src/devices/machine/linflash.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/m6m80011ap.h,MACHINES["M6M80011AP"] = true
+---------------------------------------------------
+
+if (MACHINES["M6M80011AP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/m6m80011ap.cpp",
+ MAME_DIR .. "src/devices/machine/m6m80011ap.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mb14241.h,MACHINES["MB14241"] = true
+---------------------------------------------------
+
+if (MACHINES["MB14241"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mb14241.cpp",
+ MAME_DIR .. "src/devices/machine/mb14241.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mb3773.h,MACHINES["MB3773"] = true
+---------------------------------------------------
+
+if (MACHINES["MB3773"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mb3773.cpp",
+ MAME_DIR .. "src/devices/machine/mb3773.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mb8421.h,MACHINES["MB8421"] = true
+---------------------------------------------------
+
+if (MACHINES["MB8421"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mb8421.cpp",
+ MAME_DIR .. "src/devices/machine/mb8421.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mb87030.h,MACHINES["MB87030"] = true
+---------------------------------------------------
+
+if (MACHINES["MB87030"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mb87030.cpp",
+ MAME_DIR .. "src/devices/machine/mb87030.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mb87078.h,MACHINES["MB87078"] = true
+---------------------------------------------------
+
+if (MACHINES["MB87078"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mb87078.cpp",
+ MAME_DIR .. "src/devices/machine/mb87078.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mb8795.h,MACHINES["MB8795"] = true
+---------------------------------------------------
+
+if (MACHINES["MB8795"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mb8795.cpp",
+ MAME_DIR .. "src/devices/machine/mb8795.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mb89352.h,MACHINES["MB89352"] = true
+---------------------------------------------------
+
+if (MACHINES["MB89352"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mb89352.cpp",
+ MAME_DIR .. "src/devices/machine/mb89352.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mb89371.h,MACHINES["MB89371"] = true
+---------------------------------------------------
+
+if (MACHINES["MB89371"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mb89371.cpp",
+ MAME_DIR .. "src/devices/machine/mb89371.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mb89374.h,MACHINES["MB89374"] = true
+---------------------------------------------------
+
+if (MACHINES["MB89374"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mb89374.cpp",
+ MAME_DIR .. "src/devices/machine/mb89374.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mc146818.h,MACHINES["MC146818"] = true
+---------------------------------------------------
+
+if (MACHINES["MC146818"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mc146818.cpp",
+ MAME_DIR .. "src/devices/machine/mc146818.h",
+ MAME_DIR .. "src/devices/machine/ds128x.cpp",
+ MAME_DIR .. "src/devices/machine/ds128x.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mc14411.h,MACHINES["MC14411"] = true
+---------------------------------------------------
+
+if (MACHINES["MC14411"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mc14411.cpp",
+ MAME_DIR .. "src/devices/machine/mc14411.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mc2661.h,MACHINES["MC2661"] = true
+---------------------------------------------------
+
+if (MACHINES["MC2661"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mc2661.cpp",
+ MAME_DIR .. "src/devices/machine/mc2661.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mc6843.h,MACHINES["MC6843"] = true
+---------------------------------------------------
+
+if (MACHINES["MC6843"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mc6843.cpp",
+ MAME_DIR .. "src/devices/machine/mc6843.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mc6846.h,MACHINES["MC6846"] = true
+---------------------------------------------------
+
+if (MACHINES["MC6846"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mc6846.cpp",
+ MAME_DIR .. "src/devices/machine/mc6846.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mc6852.h,MACHINES["MC6852"] = true
+---------------------------------------------------
+
+if (MACHINES["MC6852"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mc6852.cpp",
+ MAME_DIR .. "src/devices/machine/mc6852.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mc6854.h,MACHINES["MC6854"] = true
+---------------------------------------------------
+
+if (MACHINES["MC6854"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mc6854.cpp",
+ MAME_DIR .. "src/devices/machine/mc6854.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mc68328.h,MACHINES["MC68328"] = true
+---------------------------------------------------
+
+if (MACHINES["MC68328"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mc68328.cpp",
+ MAME_DIR .. "src/devices/machine/mc68328.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mc68901.h,MACHINES["MC68901"] = true
+---------------------------------------------------
+
+if (MACHINES["MC68901"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mc68901.cpp",
+ MAME_DIR .. "src/devices/machine/mc68901.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mccs1850.h,MACHINES["MCCS1850"] = true
+---------------------------------------------------
+
+if (MACHINES["MCCS1850"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mccs1850.cpp",
+ MAME_DIR .. "src/devices/machine/mccs1850.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/68307.h,MACHINES["M68307"] = true
+---------------------------------------------------
+
+if (MACHINES["M68307"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/68307.cpp",
+ MAME_DIR .. "src/devices/machine/68307.h",
+ MAME_DIR .. "src/devices/machine/68307sim.cpp",
+ MAME_DIR .. "src/devices/machine/68307sim.h",
+ MAME_DIR .. "src/devices/machine/68307bus.cpp",
+ MAME_DIR .. "src/devices/machine/68307bus.h",
+ MAME_DIR .. "src/devices/machine/68307tmu.cpp",
+ MAME_DIR .. "src/devices/machine/68307tmu.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/68340.h,MACHINES["M68340"] = true
+---------------------------------------------------
+
+if (MACHINES["M68340"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/68340.cpp",
+ MAME_DIR .. "src/devices/machine/68340.h",
+ MAME_DIR .. "src/devices/machine/68340sim.cpp",
+ MAME_DIR .. "src/devices/machine/68340sim.h",
+ MAME_DIR .. "src/devices/machine/68340dma.cpp",
+ MAME_DIR .. "src/devices/machine/68340dma.h",
+ MAME_DIR .. "src/devices/machine/68340ser.cpp",
+ MAME_DIR .. "src/devices/machine/68340ser.h",
+ MAME_DIR .. "src/devices/machine/68340tmu.cpp",
+ MAME_DIR .. "src/devices/machine/68340tmu.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mcf5206e.h,MACHINES["MCF5206E"] = true
+---------------------------------------------------
+
+if (MACHINES["MCF5206E"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mcf5206e.cpp",
+ MAME_DIR .. "src/devices/machine/mcf5206e.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/meters.h,MACHINES["METERS"] = true
+---------------------------------------------------
+
+if (MACHINES["METERS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/meters.cpp",
+ MAME_DIR .. "src/devices/machine/meters.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/microtch.h,MACHINES["MICROTOUCH"] = true
+---------------------------------------------------
+
+if (MACHINES["MICROTOUCH"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/microtch.cpp",
+ MAME_DIR .. "src/devices/machine/microtch.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mm5307.h,MACHINES["MM5307"] = true
+---------------------------------------------------
+
+if (MACHINES["MM5307"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mm5307.cpp",
+ MAME_DIR .. "src/devices/machine/mm5307.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mm58274c.h,MACHINES["MM58274C"] = true
+---------------------------------------------------
+
+if (MACHINES["MM58274C"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mm58274c.cpp",
+ MAME_DIR .. "src/devices/machine/mm58274c.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mm74c922.h,MACHINES["MM74C922"] = true
+---------------------------------------------------
+
+if (MACHINES["MM74C922"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mm74c922.cpp",
+ MAME_DIR .. "src/devices/machine/mm74c922.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mos6526.h,MACHINES["MOS6526"] = true
+---------------------------------------------------
+
+if (MACHINES["MOS6526"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mos6526.cpp",
+ MAME_DIR .. "src/devices/machine/mos6526.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mos6529.h,MACHINES["MOS6529"] = true
+---------------------------------------------------
+
+if (MACHINES["MOS6529"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mos6529.cpp",
+ MAME_DIR .. "src/devices/machine/mos6529.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mos6702.h,MACHINES["MOS6702"] = true
+---------------------------------------------------
+
+if (MACHINES["MOS6702"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mos6702.cpp",
+ MAME_DIR .. "src/devices/machine/mos6702.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mos8706.h,MACHINES["MOS8706"] = true
+---------------------------------------------------
+
+if (MACHINES["MOS8706"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mos8706.cpp",
+ MAME_DIR .. "src/devices/machine/mos8706.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mos8722.h,MACHINES["MOS8722"] = true
+---------------------------------------------------
+
+if (MACHINES["MOS8722"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mos8722.cpp",
+ MAME_DIR .. "src/devices/machine/mos8722.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mos8726.h,MACHINES["MOS8726"] = true
+---------------------------------------------------
+
+if (MACHINES["MOS8726"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mos8726.cpp",
+ MAME_DIR .. "src/devices/machine/mos8726.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mos6530.h,MACHINES["MIOT6530"] = true
+--@src/devices/machine/mos6530n.h,MACHINES["MIOT6530"] = true
+---------------------------------------------------
+
+if (MACHINES["MIOT6530"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mos6530.cpp",
+ MAME_DIR .. "src/devices/machine/mos6530.h",
+ MAME_DIR .. "src/devices/machine/mos6530n.cpp",
+ MAME_DIR .. "src/devices/machine/mos6530n.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mos6551.h,MACHINES["MOS6551"] = true
+---------------------------------------------------
+
+if (MACHINES["MOS6551"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mos6551.cpp",
+ MAME_DIR .. "src/devices/machine/mos6551.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/msm5832.h,MACHINES["MSM5832"] = true
+---------------------------------------------------
+
+if (MACHINES["MSM5832"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/msm5832.cpp",
+ MAME_DIR .. "src/devices/machine/msm5832.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/msm58321.h,MACHINES["MSM58321"] = true
+---------------------------------------------------
+
+if (MACHINES["MSM58321"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/msm58321.cpp",
+ MAME_DIR .. "src/devices/machine/msm58321.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/msm6242.h,MACHINES["MSM6242"] = true
+---------------------------------------------------
+
+if (MACHINES["MSM6242"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/msm6242.cpp",
+ MAME_DIR .. "src/devices/machine/msm6242.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/msm6253.h,MACHINES["MSM6253"] = true
+---------------------------------------------------
+
+if (MACHINES["MSM6253"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/msm6253.cpp",
+ MAME_DIR .. "src/devices/machine/msm6253.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/myb3k_kbd.h,MACHINES["MYB3K_KEYBOARD"] = true
+---------------------------------------------------
+
+if (MACHINES["MYB3K_KEYBOARD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/myb3k_kbd.cpp",
+ MAME_DIR .. "src/devices/machine/myb3k_kbd.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ncr539x.h,MACHINES["NCR539x"] = true
+---------------------------------------------------
+
+if (MACHINES["NCR539x"]~=null) then
+ MACHINES["SCSI"] = true
+ files {
+ MAME_DIR .. "src/devices/machine/ncr539x.cpp",
+ MAME_DIR .. "src/devices/machine/ncr539x.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/nmc9306.h,MACHINES["NMC9306"] = true
+---------------------------------------------------
+
+if (MACHINES["NMC9306"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/nmc9306.cpp",
+ MAME_DIR .. "src/devices/machine/nmc9306.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/nscsi_bus.h,MACHINES["NSCSI"] = true
+--@src/devices/machine/nscsi_cb.h,MACHINES["NSCSI"] = true
+--@src/devices/machine/nscsi_cd.h,MACHINES["NSCSI"] = true
+--@src/devices/machine/nscsi_hd.h,MACHINES["NSCSI"] = true
+--@src/devices/machine/nscsi_s1410.h,MACHINES["NSCSI"] = true
+---------------------------------------------------
+
+if (MACHINES["NSCSI"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/nscsi_bus.cpp",
+ MAME_DIR .. "src/devices/machine/nscsi_bus.h",
+ MAME_DIR .. "src/devices/machine/nscsi_cb.cpp",
+ MAME_DIR .. "src/devices/machine/nscsi_cb.h",
+ MAME_DIR .. "src/devices/machine/nscsi_cd.cpp",
+ MAME_DIR .. "src/devices/machine/nscsi_cd.h",
+ MAME_DIR .. "src/devices/machine/nscsi_hd.cpp",
+ MAME_DIR .. "src/devices/machine/nscsi_hd.h",
+ MAME_DIR .. "src/devices/machine/nscsi_s1410.cpp",
+ MAME_DIR .. "src/devices/machine/nscsi_s1410.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/pcf8583.h,MACHINES["PCF8583"] = true
+---------------------------------------------------
+
+if (MACHINES["PCF8583"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/pcf8583.cpp",
+ MAME_DIR .. "src/devices/machine/pcf8583.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/pcf8593.h,MACHINES["PCF8593"] = true
+---------------------------------------------------
+
+if (MACHINES["PCF8593"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/pcf8593.cpp",
+ MAME_DIR .. "src/devices/machine/pcf8593.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/lpci.h,MACHINES["LPCI"] = true
+---------------------------------------------------
+
+if (MACHINES["LPCI"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/lpci.cpp",
+ MAME_DIR .. "src/devices/machine/lpci.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/pci.h,MACHINES["PCI"] = true
+---------------------------------------------------
+
+if (MACHINES["PCI"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/pci.cpp",
+ MAME_DIR .. "src/devices/machine/pci.h",
+ MAME_DIR .. "src/devices/machine/pci-usb.cpp",
+ MAME_DIR .. "src/devices/machine/pci-usb.h",
+ MAME_DIR .. "src/devices/machine/pci-sata.cpp",
+ MAME_DIR .. "src/devices/machine/pci-sata.h",
+ MAME_DIR .. "src/devices/machine/pci-ide.cpp",
+ MAME_DIR .. "src/devices/machine/pci-ide.h",
+ MAME_DIR .. "src/devices/machine/pci-apic.cpp",
+ MAME_DIR .. "src/devices/machine/pci-apic.h",
+ MAME_DIR .. "src/devices/machine/pci-smbus.cpp",
+ MAME_DIR .. "src/devices/machine/pci-smbus.h",
+ MAME_DIR .. "src/devices/machine/i82541.cpp",
+ MAME_DIR .. "src/devices/machine/i82541.h",
+ MAME_DIR .. "src/devices/machine/i82875p.cpp",
+ MAME_DIR .. "src/devices/machine/i82875p.h",
+ MAME_DIR .. "src/devices/machine/i6300esb.cpp",
+ MAME_DIR .. "src/devices/machine/i6300esb.h",
+ MAME_DIR .. "src/devices/machine/i82439hx.cpp",
+ MAME_DIR .. "src/devices/machine/i82439hx.h",
+ MAME_DIR .. "src/devices/machine/i82439tx.cpp",
+ MAME_DIR .. "src/devices/machine/i82439tx.h",
+ MAME_DIR .. "src/devices/machine/i82371sb.cpp",
+ MAME_DIR .. "src/devices/machine/i82371sb.h",
+ MAME_DIR .. "src/devices/machine/lpc.h",
+ MAME_DIR .. "src/devices/machine/lpc-acpi.cpp",
+ MAME_DIR .. "src/devices/machine/lpc-acpi.h",
+ MAME_DIR .. "src/devices/machine/lpc-rtc.cpp",
+ MAME_DIR .. "src/devices/machine/lpc-rtc.h",
+ MAME_DIR .. "src/devices/machine/lpc-pit.cpp",
+ MAME_DIR .. "src/devices/machine/lpc-pit.h",
+ MAME_DIR .. "src/devices/machine/vrc4373.cpp",
+ MAME_DIR .. "src/devices/machine/vrc4373.h",
+ MAME_DIR .. "src/devices/machine/vrc5074.cpp",
+ MAME_DIR .. "src/devices/machine/vrc5074.h",
+ MAME_DIR .. "src/devices/machine/gt64xxx.cpp",
+ MAME_DIR .. "src/devices/machine/gt64xxx.h",
+ MAME_DIR .. "src/devices/machine/sis85c496.cpp",
+ MAME_DIR .. "src/devices/machine/sis85c496.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/pckeybrd.h,MACHINES["PCKEYBRD"] = true
+---------------------------------------------------
+
+if (MACHINES["PCKEYBRD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/pckeybrd.cpp",
+ MAME_DIR .. "src/devices/machine/pckeybrd.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/phi.h,MACHINES["PHI"] = true
+---------------------------------------------------
+
+if (MACHINES["PHI"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/phi.cpp",
+ MAME_DIR .. "src/devices/machine/phi.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/pic8259.h,MACHINES["PIC8259"] = true
+---------------------------------------------------
+
+if (MACHINES["PIC8259"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/pic8259.cpp",
+ MAME_DIR .. "src/devices/machine/pic8259.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/pit8253.h,MACHINES["PIT8253"] = true
+---------------------------------------------------
+
+if (MACHINES["PIT8253"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/pit8253.cpp",
+ MAME_DIR .. "src/devices/machine/pit8253.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/pla.h,MACHINES["PLA"] = true
+---------------------------------------------------
+
+if (MACHINES["PLA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/pla.cpp",
+ MAME_DIR .. "src/devices/machine/pla.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/pxa255.h,MACHINES["PXA255"] = true
+---------------------------------------------------
+
+if (MACHINES["PXA255"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/pxa255.cpp",
+ MAME_DIR .. "src/devices/machine/pxa255.h",
+ MAME_DIR .. "src/devices/machine/pxa255defs.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/r10696.h,MACHINES["R10696"] = true
+---------------------------------------------------
+
+if (MACHINES["R10696"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/r10696.cpp",
+ MAME_DIR .. "src/devices/machine/r10696.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/r10788.h,MACHINES["R10788"] = true
+---------------------------------------------------
+
+if (MACHINES["R10788"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/r10788.cpp",
+ MAME_DIR .. "src/devices/machine/r10788.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ra17xx.h,MACHINES["RA17XX"] = true
+---------------------------------------------------
+
+if (MACHINES["RA17XX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ra17xx.cpp",
+ MAME_DIR .. "src/devices/machine/ra17xx.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/rf5c296.h,MACHINES["RF5C296"] = true
+---------------------------------------------------
+
+if (MACHINES["RF5C296"]~=null) then
+ MACHINES["PCCARD"] = true
+ files {
+ MAME_DIR .. "src/devices/machine/rf5c296.cpp",
+ MAME_DIR .. "src/devices/machine/rf5c296.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ripple_counter.h,MACHINES["RIPPLE_COUNTER"] = true
+---------------------------------------------------
+
+if (MACHINES["RIPPLE_COUNTER"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ripple_counter.cpp",
+ MAME_DIR .. "src/devices/machine/ripple_counter.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/roc10937.h,MACHINES["ROC10937"] = true
+---------------------------------------------------
+
+if (MACHINES["ROC10937"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/roc10937.cpp",
+ MAME_DIR .. "src/devices/machine/roc10937.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/rp5c01.h,MACHINES["RP5C01"] = true
+---------------------------------------------------
+
+if (MACHINES["RP5C01"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/rp5c01.cpp",
+ MAME_DIR .. "src/devices/machine/rp5c01.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/rp5c15.h,MACHINES["RP5C15"] = true
+---------------------------------------------------
+
+if (MACHINES["RP5C15"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/rp5c15.cpp",
+ MAME_DIR .. "src/devices/machine/rp5c15.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/rp5h01.h,MACHINES["RP5H01"] = true
+---------------------------------------------------
+
+if (MACHINES["RP5H01"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/rp5h01.cpp",
+ MAME_DIR .. "src/devices/machine/rp5h01.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/64h156.h,MACHINES["R64H156"] = true
+---------------------------------------------------
+
+if (MACHINES["R64H156"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/64h156.cpp",
+ MAME_DIR .. "src/devices/machine/64h156.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/rstbuf.h,MACHINES["RSTBUF"] = true
+---------------------------------------------------
+
+if (MACHINES["RSTBUF"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/rstbuf.cpp",
+ MAME_DIR .. "src/devices/machine/rstbuf.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/rtc4543.h,MACHINES["RTC4543"] = true
+---------------------------------------------------
+
+if (MACHINES["RTC4543"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/rtc4543.cpp",
+ MAME_DIR .. "src/devices/machine/rtc4543.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/rtc65271.h,MACHINES["RTC65271"] = true
+---------------------------------------------------
+
+if (MACHINES["RTC65271"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/rtc65271.cpp",
+ MAME_DIR .. "src/devices/machine/rtc65271.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/rtc9701.h,MACHINES["RTC9701"] = true
+---------------------------------------------------
+
+if (MACHINES["RTC9701"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/rtc9701.cpp",
+ MAME_DIR .. "src/devices/machine/rtc9701.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/s2636.h,MACHINES["S2636"] = true
+---------------------------------------------------
+
+if (MACHINES["S2636"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/s2636.cpp",
+ MAME_DIR .. "src/devices/machine/s2636.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/s3520cf.h,MACHINES["S3520CF"] = true
+---------------------------------------------------
+
+if (MACHINES["S3520CF"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/s3520cf.cpp",
+ MAME_DIR .. "src/devices/machine/s3520cf.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/s3c2400.h,MACHINES["S3C24XX"] = true
+--@src/devices/machine/s3c2410.h,MACHINES["S3C24XX"] = true
+--@src/devices/machine/s3c2440.h,MACHINES["S3C24XX"] = true
+---------------------------------------------------
+
+if (MACHINES["S3C24XX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/s3c2400.cpp",
+ MAME_DIR .. "src/devices/machine/s3c2400.h",
+ MAME_DIR .. "src/devices/machine/s3c2410.cpp",
+ MAME_DIR .. "src/devices/machine/s3c2410.h",
+ MAME_DIR .. "src/devices/machine/s3c2440.cpp",
+ MAME_DIR .. "src/devices/machine/s3c2440.h",
+ MAME_DIR .. "src/devices/machine/s3c24xx.cpp",
+ MAME_DIR .. "src/devices/machine/s3c24xx.h",
+ MAME_DIR .. "src/devices/machine/s3c24xx.hxx",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/s3c44b0.h,MACHINES["S3C44B0"] = true
+---------------------------------------------------
+
+if (MACHINES["S3C44B0"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/s3c44b0.cpp",
+ MAME_DIR .. "src/devices/machine/s3c44b0.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/saa1043.h,MACHINES["SAA1043"] = true
+---------------------------------------------------
+
+if (MACHINES["SAA1043"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/saa1043.cpp",
+ MAME_DIR .. "src/devices/machine/saa1043.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/scc68070.h,MACHINES["SCC68070"] = true
+---------------------------------------------------
+if (MACHINES["SCC68070"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/scc68070.cpp",
+ MAME_DIR .. "src/devices/machine/scc68070.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/scnxx562.h,MACHINES["DUSCC"] = true
+---------------------------------------------------
+
+if (MACHINES["DUSCC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/scnxx562.cpp",
+ MAME_DIR .. "src/devices/machine/scnxx562.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/serflash.h,MACHINES["SERFLASH"] = true
+---------------------------------------------------
+
+if (MACHINES["SERFLASH"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/serflash.cpp",
+ MAME_DIR .. "src/devices/machine/serflash.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/sda2006.h,MACHINES["SDA2006"] = true
+---------------------------------------------------
+
+if (MACHINES["SDA2006"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/sda2006.cpp",
+ MAME_DIR .. "src/devices/machine/sda2006.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/smc91c9x.h,MACHINES["SMC91C9X"] = true
+---------------------------------------------------
+
+if (MACHINES["SMC91C9X"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/smc91c9x.cpp",
+ MAME_DIR .. "src/devices/machine/smc91c9x.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/smpc.h,MACHINES["SMPC"] = true
+---------------------------------------------------
+
+if (MACHINES["SMPC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/smpc.cpp",
+ MAME_DIR .. "src/devices/machine/smpc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/sega_scu.h,MACHINES["SEGA_SCU"] = true
+---------------------------------------------------
+
+if (MACHINES["SEGA_SCU"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/sega_scu.cpp",
+ MAME_DIR .. "src/devices/machine/sega_scu.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/spg2xx.h,MACHINES["SPG2XX"] = true
+--@src/devices/machine/spg110.h,MACHINES["SPG2XX"] = true
+--@src/devices/machine/sunplus_gcm394.h,MACHINES["SPG2XX"] = true
+---------------------------------------------------
+
+if (MACHINES["SPG2XX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/spg2xx.cpp",
+ MAME_DIR .. "src/devices/machine/spg2xx.h",
+ MAME_DIR .. "src/devices/machine/spg2xx_audio.cpp",
+ MAME_DIR .. "src/devices/machine/spg2xx_audio.h",
+ MAME_DIR .. "src/devices/machine/spg2xx_io.cpp",
+ MAME_DIR .. "src/devices/machine/spg2xx_io.h",
+ MAME_DIR .. "src/devices/machine/spg2xx_sysdma.cpp",
+ MAME_DIR .. "src/devices/machine/spg2xx_sysdma.h",
+ MAME_DIR .. "src/devices/machine/spg2xx_video.cpp",
+ MAME_DIR .. "src/devices/machine/spg2xx_video.h",
+ MAME_DIR .. "src/devices/machine/spg110.cpp",
+ MAME_DIR .. "src/devices/machine/spg110.h",
+ MAME_DIR .. "src/devices/machine/spg110_video.cpp",
+ MAME_DIR .. "src/devices/machine/spg110_video.h",
+ MAME_DIR .. "src/devices/machine/sunplus_gcm394.cpp",
+ MAME_DIR .. "src/devices/machine/sunplus_gcm394.h",
+ MAME_DIR .. "src/devices/machine/sunplus_gcm394_video.cpp",
+ MAME_DIR .. "src/devices/machine/sunplus_gcm394_video.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/stvcd.h,MACHINES["STVCD"] = true
+---------------------------------------------------
+
+if (MACHINES["STVCD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/stvcd.cpp",
+ MAME_DIR .. "src/devices/machine/stvcd.h",
+ }
+end
+
+---------------------------------------------------
+--
+--
+---------------------------------------------------
+
+if (BUSES["SCSI"]~=null) then
+ MACHINES["T10"] = true
+end
+
+if (MACHINES["T10"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/t10mmc.cpp",
+ MAME_DIR .. "src/devices/machine/t10mmc.h",
+ MAME_DIR .. "src/devices/machine/t10sbc.cpp",
+ MAME_DIR .. "src/devices/machine/t10sbc.h",
+ MAME_DIR .. "src/devices/machine/t10spc.cpp",
+ MAME_DIR .. "src/devices/machine/t10spc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/tc009xlvc.h,MACHINES["TC0091LVC"] = true
+---------------------------------------------------
+
+if (MACHINES["TC0091LVC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/tc009xlvc.cpp",
+ MAME_DIR .. "src/devices/machine/tc009xlvc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/tdc1008.h,MACHINES["TDC1008"] = true
+---------------------------------------------------
+
+if (MACHINES["TDC1008"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/tdc1008.cpp",
+ MAME_DIR .. "src/devices/machine/tdc1008.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/te7750.h,MACHINES["TE7750"] = true
+---------------------------------------------------
+
+if (MACHINES["TE7750"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/te7750.cpp",
+ MAME_DIR .. "src/devices/machine/te7750.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ticket.h,MACHINES["TICKET"] = true
+---------------------------------------------------
+
+if (MACHINES["TICKET"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ticket.cpp",
+ MAME_DIR .. "src/devices/machine/ticket.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/timekpr.h,MACHINES["TIMEKPR"] = true
+---------------------------------------------------
+
+if (MACHINES["TIMEKPR"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/timekpr.cpp",
+ MAME_DIR .. "src/devices/machine/timekpr.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/tmc0430.h,MACHINES["TMC0430"] = true
+---------------------------------------------------
+
+if (MACHINES["TMC0430"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/tmc0430.cpp",
+ MAME_DIR .. "src/devices/machine/tmc0430.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/tmc208k.h,MACHINES["TMC208K"] = true
+---------------------------------------------------
+
+if (MACHINES["TMC208K"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/tmc208k.cpp",
+ MAME_DIR .. "src/devices/machine/tmc208k.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/tmp68301.h,MACHINES["TMP68301"] = true
+---------------------------------------------------
+
+if (MACHINES["TMP68301"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/tmp68301.cpp",
+ MAME_DIR .. "src/devices/machine/tmp68301.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/tms1024.h,MACHINES["TMS1024"] = true
+---------------------------------------------------
+
+if (MACHINES["TMS1024"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/tms1024.cpp",
+ MAME_DIR .. "src/devices/machine/tms1024.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/tms5501.h,MACHINES["TMS5501"] = true
+---------------------------------------------------
+
+if (MACHINES["TMS5501"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/tms5501.cpp",
+ MAME_DIR .. "src/devices/machine/tms5501.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/tms6100.h,MACHINES["TMS6100"] = true
+---------------------------------------------------
+
+if (MACHINES["TMS6100"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/tms6100.cpp",
+ MAME_DIR .. "src/devices/machine/tms6100.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/tms9901.h,MACHINES["TMS9901"] = true
+---------------------------------------------------
+
+if (MACHINES["TMS9901"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/tms9901.cpp",
+ MAME_DIR .. "src/devices/machine/tms9901.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/tms9902.h,MACHINES["TMS9902"] = true
+---------------------------------------------------
+
+if (MACHINES["TMS9902"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/tms9902.cpp",
+ MAME_DIR .. "src/devices/machine/tms9902.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/tms9914.h,MACHINES["TMS9914"] = true
+---------------------------------------------------
+
+if (MACHINES["TMS9914"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/tms9914.cpp",
+ MAME_DIR .. "src/devices/machine/tms9914.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/tube.h,MACHINES["TUBE"] = true
+---------------------------------------------------
+
+if (MACHINES["TUBE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/tube.cpp",
+ MAME_DIR .. "src/devices/machine/tube.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/upd1990a.h,MACHINES["UPD1990A"] = true
+---------------------------------------------------
+
+if (MACHINES["UPD1990A"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/upd1990a.cpp",
+ MAME_DIR .. "src/devices/machine/upd1990a.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/upd4992.h,MACHINES["UPD4992"] = true
+---------------------------------------------------
+
+if (MACHINES["UPD4992"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/upd4992.cpp",
+ MAME_DIR .. "src/devices/machine/upd4992.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/machine/upd4701.h,MACHINES["UPD4701"] = true
+---------------------------------------------------
+
+if (MACHINES["UPD4701"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/upd4701.cpp",
+ MAME_DIR .. "src/devices/machine/upd4701.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/upd7002.h,MACHINES["UPD7002"] = true
+---------------------------------------------------
+
+if (MACHINES["UPD7002"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/upd7002.cpp",
+ MAME_DIR .. "src/devices/machine/upd7002.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/upd7004.h,MACHINES["UPD7004"] = true
+---------------------------------------------------
+
+if (MACHINES["UPD7004"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/upd7004.cpp",
+ MAME_DIR .. "src/devices/machine/upd7004.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/upd71071.h,MACHINES["UPD71071"] = true
+---------------------------------------------------
+
+if (MACHINES["UPD71071"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/upd71071.cpp",
+ MAME_DIR .. "src/devices/machine/upd71071.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/upd765.h,MACHINES["UPD765"] = true
+---------------------------------------------------
+
+if (MACHINES["UPD765"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/upd765.cpp",
+ MAME_DIR .. "src/devices/machine/upd765.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/v3021.h,MACHINES["V3021"] = true
+---------------------------------------------------
+
+if (MACHINES["V3021"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/v3021.cpp",
+ MAME_DIR .. "src/devices/machine/v3021.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/wd_fdc.h,MACHINES["WD_FDC"] = true
+---------------------------------------------------
+
+if (MACHINES["WD_FDC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/wd_fdc.cpp",
+ MAME_DIR .. "src/devices/machine/wd_fdc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/wd1010.h,MACHINES["WD1010"] = true
+---------------------------------------------------
+
+if (MACHINES["WD1010"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/wd1010.cpp",
+ MAME_DIR .. "src/devices/machine/wd1010.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/wd11c00_17.h,MACHINES["WD11C00_17"] = true
+---------------------------------------------------
+
+if (MACHINES["WD11C00_17"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/wd11c00_17.cpp",
+ MAME_DIR .. "src/devices/machine/wd11c00_17.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/wd2010.h,MACHINES["WD2010"] = true
+---------------------------------------------------
+
+if (MACHINES["WD2010"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/wd2010.cpp",
+ MAME_DIR .. "src/devices/machine/wd2010.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/wd33c9x.h,MACHINES["WD33C9X"] = true
+---------------------------------------------------
+
+if (MACHINES["WD33C9X"]~=null) then
+ MACHINES["SCSI"] = true
+ files {
+ MAME_DIR .. "src/devices/machine/wd33c9x.cpp",
+ MAME_DIR .. "src/devices/machine/wd33c9x.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/wd7600.h,MACHINES["WD7600"] = true
+---------------------------------------------------
+
+if (MACHINES["WD7600"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/wd7600.cpp",
+ MAME_DIR .. "src/devices/machine/wd7600.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/x2201.h,MACHINES["X2201"] = true
+---------------------------------------------------
+
+if (MACHINES["X2201"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/x2201.cpp",
+ MAME_DIR .. "src/devices/machine/x2201.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/x2212.h,MACHINES["X2212"] = true
+---------------------------------------------------
+
+if (MACHINES["X2212"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/x2212.cpp",
+ MAME_DIR .. "src/devices/machine/x2212.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/x76f041.h,MACHINES["X76F041"] = true
+---------------------------------------------------
+
+if (MACHINES["X76F041"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/x76f041.cpp",
+ MAME_DIR .. "src/devices/machine/x76f041.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/x76f100.h,MACHINES["X76F100"] = true
+---------------------------------------------------
+
+if (MACHINES["X76F100"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/x76f100.cpp",
+ MAME_DIR .. "src/devices/machine/x76f100.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ym2148.h,MACHINES["YM2148"] = true
+---------------------------------------------------
+
+if (MACHINES["YM2148"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ym2148.cpp",
+ MAME_DIR .. "src/devices/machine/ym2148.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ym3802.h,MACHINES["YM3802"] = true
+---------------------------------------------------
+
+if (MACHINES["YM3802"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ym3802.cpp",
+ MAME_DIR .. "src/devices/machine/ym3802.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/z80ctc.h,MACHINES["Z80CTC"] = true
+---------------------------------------------------
+
+if (MACHINES["Z80CTC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/z80ctc.cpp",
+ MAME_DIR .. "src/devices/machine/z80ctc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/z80dart.h,MACHINES["Z80DART"] = true
+---------------------------------------------------
+
+if (MACHINES["Z80DART"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/z80dart.cpp",
+ MAME_DIR .. "src/devices/machine/z80dart.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/z80sio.h,MACHINES["Z80SIO"] = true
+---------------------------------------------------
+
+if (MACHINES["Z80SIO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/z80sio.cpp",
+ MAME_DIR .. "src/devices/machine/z80sio.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/z80scc.h,MACHINES["Z80SCC"] = true
+---------------------------------------------------
+
+if (MACHINES["Z80SCC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/z80scc.cpp",
+ MAME_DIR .. "src/devices/machine/z80scc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/z80dma.h,MACHINES["Z80DMA"] = true
+---------------------------------------------------
+
+if (MACHINES["Z80DMA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/z80dma.cpp",
+ MAME_DIR .. "src/devices/machine/z80dma.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/z80pio.h,MACHINES["Z80PIO"] = true
+---------------------------------------------------
+
+if (MACHINES["Z80PIO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/z80pio.cpp",
+ MAME_DIR .. "src/devices/machine/z80pio.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/z80sti.h,MACHINES["Z80STI"] = true
+---------------------------------------------------
+
+if (MACHINES["Z80STI"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/z80sti.cpp",
+ MAME_DIR .. "src/devices/machine/z80sti.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/z8536.h,MACHINES["Z8536"] = true
+---------------------------------------------------
+
+if (MACHINES["Z8536"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/z8536.cpp",
+ MAME_DIR .. "src/devices/machine/z8536.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/pccard.h,MACHINES["PCCARD"] = true
+---------------------------------------------------
+
+if (MACHINES["PCCARD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/pccard.cpp",
+ MAME_DIR .. "src/devices/machine/pccard.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i8255.h,MACHINES["I8255"] = true
+---------------------------------------------------
+
+if (MACHINES["I8255"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i8255.cpp",
+ MAME_DIR .. "src/devices/machine/i8255.h",
+ MAME_DIR .. "src/devices/machine/mb89363b.cpp",
+ MAME_DIR .. "src/devices/machine/mb89363b.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ncr5380.h,MACHINES["NCR5380"] = true
+---------------------------------------------------
+
+if (MACHINES["NCR5380"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ncr5380.cpp",
+ MAME_DIR .. "src/devices/machine/ncr5380.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ncr5380n.h,MACHINES["NCR5380N"] = true
+---------------------------------------------------
+
+if (MACHINES["NCR5380N"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ncr5380n.cpp",
+ MAME_DIR .. "src/devices/machine/ncr5380n.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ncr5390.h,MACHINES["NCR5390"] = true
+---------------------------------------------------
+
+if (MACHINES["NCR5390"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ncr5390.cpp",
+ MAME_DIR .. "src/devices/machine/ncr5390.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mm58167.h,MACHINES["MM58167"] = true
+---------------------------------------------------
+
+if (MACHINES["MM58167"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mm58167.cpp",
+ MAME_DIR .. "src/devices/machine/mm58167.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/machine/dp8390.h,MACHINES["DP8390"] = true
+---------------------------------------------------
+
+if (MACHINES["DP8390"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/dp8390.cpp",
+ MAME_DIR .. "src/devices/machine/dp8390.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/dp83932c.h,MACHINES["DP83932C"] = true
+---------------------------------------------------
+
+if (MACHINES["DP83932C"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/dp83932c.cpp",
+ MAME_DIR .. "src/devices/machine/dp83932c.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/dp8573.h,MACHINES["DP8573"] = true
+---------------------------------------------------
+
+if (MACHINES["DP8573"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/dp8573.cpp",
+ MAME_DIR .. "src/devices/machine/dp8573.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/pc_lpt.h,MACHINES["PC_LPT"] = true
+---------------------------------------------------
+
+if (MACHINES["PC_LPT"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/pc_lpt.cpp",
+ MAME_DIR .. "src/devices/machine/pc_lpt.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/pc_fdc.h,MACHINES["PC_FDC"] = true
+---------------------------------------------------
+
+if (MACHINES["PC_FDC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/pc_fdc.cpp",
+ MAME_DIR .. "src/devices/machine/pc_fdc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/mpu401.h,MACHINES["MPU401"] = true
+---------------------------------------------------
+
+if (MACHINES["MPU401"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/mpu401.cpp",
+ MAME_DIR .. "src/devices/machine/mpu401.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/at_keybc.h,MACHINES["AT_KEYBC"] = true
+---------------------------------------------------
+
+if (MACHINES["AT_KEYBC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/at_keybc.cpp",
+ MAME_DIR .. "src/devices/machine/at_keybc.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/machine/hdc92x4.h,MACHINES["HDC9234"] = true
+---------------------------------------------------
+
+if (MACHINES["HDC9234"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/hdc92x4.cpp",
+ MAME_DIR .. "src/devices/machine/hdc92x4.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/strata.h,MACHINES["STRATA"] = true
+---------------------------------------------------
+
+if (MACHINES["STRATA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/strata.cpp",
+ MAME_DIR .. "src/devices/machine/strata.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/steppers.h,MACHINES["STEPPERS"] = true
+---------------------------------------------------
+
+if (MACHINES["STEPPERS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/steppers.cpp",
+ MAME_DIR .. "src/devices/machine/steppers.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/corvushd.h,MACHINES["CORVUSHD"] = true
+---------------------------------------------------
+if (MACHINES["CORVUSHD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/corvushd.cpp",
+ MAME_DIR .. "src/devices/machine/corvushd.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/wozfdc.h,MACHINES["WOZFDC"] = true
+---------------------------------------------------
+if (MACHINES["WOZFDC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/wozfdc.cpp",
+ MAME_DIR .. "src/devices/machine/wozfdc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/diablo_hd.h,MACHINES["DIABLO_HD"] = true
+---------------------------------------------------
+if (MACHINES["DIABLO_HD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/diablo_hd.cpp",
+ MAME_DIR .. "src/devices/machine/diablo_hd.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/fdc37c665gt.h,MACHINES["FDC37C665GT"] = true
+---------------------------------------------------
+
+if (MACHINES["FDC37C665GT"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/fdc37c665gt.cpp",
+ MAME_DIR .. "src/devices/machine/fdc37c665gt.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/pci9050.h,MACHINES["PCI9050"] = true
+---------------------------------------------------
+
+if (MACHINES["PCI9050"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/pci9050.cpp",
+ MAME_DIR .. "src/devices/machine/pci9050.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/netlist.h,MACHINES["NETLIST"] = true
+---------------------------------------------------
+
+if (MACHINES["NETLIST"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/netlist.cpp",
+ MAME_DIR .. "src/devices/machine/netlist.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/nsc810.h,MACHINES["NSC810"] = true
+---------------------------------------------------
+
+if (MACHINES["NSC810"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/nsc810.cpp",
+ MAME_DIR .. "src/devices/machine/nsc810.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/vt82c496.h,MACHINES["VT82C496"] = true
+---------------------------------------------------
+
+if (MACHINES["VT82C496"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/vt82c496.cpp",
+ MAME_DIR .. "src/devices/machine/vt82c496.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/fdc37c93x.h,MACHINES["FDC37C93X"] = true
+---------------------------------------------------
+
+if (MACHINES["FDC37C93X"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/fdc37c93x.cpp",
+ MAME_DIR .. "src/devices/machine/fdc37c93x.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/pdc.h,MACHINES["PDC"] = true
+---------------------------------------------------
+
+if (MACHINES["PDC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/pdc.cpp",
+ MAME_DIR .. "src/devices/machine/pdc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/genpc.h,MACHINES["GENPC"] = true
+---------------------------------------------------
+
+if (MACHINES["GENPC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/genpc.cpp",
+ MAME_DIR .. "src/devices/machine/genpc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/gen_latch.h,MACHINES["GEN_LATCH"] = true
+---------------------------------------------------
+
+if (MACHINES["GEN_LATCH"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/gen_latch.cpp",
+ MAME_DIR .. "src/devices/machine/gen_latch.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/fdc_pll.h,MACHINES["FDC_PLL"] = true
+---------------------------------------------------
+
+if (MACHINES["FDC_PLL"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/fdc_pll.cpp",
+ MAME_DIR .. "src/devices/machine/fdc_pll.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/watchdog.h,MACHINES["WATCHDOG"] = true
+---------------------------------------------------
+
+if (MACHINES["WATCHDOG"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/watchdog.cpp",
+ MAME_DIR .. "src/devices/machine/watchdog.h",
+ }
+end
+
+
+---------------------------------------------------
+--
+--@src/devices/machine/smartmed.h,MACHINES["SMARTMEDIA"] = true
+---------------------------------------------------
+if (MACHINES["SMARTMEDIA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/smartmed.cpp",
+ MAME_DIR .. "src/devices/machine/smartmed.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/appldriv.h,MACHINES["APPLE_DRIVE"] = true
+---------------------------------------------------
+if (MACHINES["APPLE_DRIVE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/appldriv.cpp",
+ MAME_DIR .. "src/devices/machine/appldriv.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/applefdc.h,MACHINES["APPLE_FDC"] = true
+---------------------------------------------------
+if (MACHINES["APPLE_FDC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/applefdc.cpp",
+ MAME_DIR .. "src/devices/machine/applefdc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/sonydriv.h,MACHINES["SONY_DRIVE"] = true
+---------------------------------------------------
+if (MACHINES["SONY_DRIVE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/sonydriv.cpp",
+ MAME_DIR .. "src/devices/machine/sonydriv.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/scnxx562.h,MACHINES["SCNXX562"] = true
+---------------------------------------------------
+if (MACHINES["SCNXX562"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/scnxx562.cpp",
+ MAME_DIR .. "src/devices/machine/scnxx562.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/input_merger.h,MACHINES["INPUT_MERGER"] = true
+---------------------------------------------------
+if (MACHINES["INPUT_MERGER"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/input_merger.cpp",
+ MAME_DIR .. "src/devices/machine/input_merger.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/k054321.h,MACHINES["K054321"] = true
+---------------------------------------------------
+if (MACHINES["K054321"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/k054321.cpp",
+ MAME_DIR .. "src/devices/machine/k054321.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/smioc.h,MACHINES["SMIOC"] = true
+---------------------------------------------------
+
+if (MACHINES["SMIOC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/smioc.cpp",
+ MAME_DIR .. "src/devices/machine/smioc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i82586.h,MACHINES["I82586"] = true
+---------------------------------------------------
+
+if (MACHINES["I82586"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i82586.cpp",
+ MAME_DIR .. "src/devices/machine/i82586.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/adc0844.h,MACHINES["ADC0844"] = true
+---------------------------------------------------
+
+if (MACHINES["ADC0844"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/adc0844.cpp",
+ MAME_DIR .. "src/devices/machine/adc0844.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/28fxxx.h,MACHINES["28FXXX"] = true
+---------------------------------------------------
+
+if (MACHINES["28FXXX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/28fxxx.cpp",
+ MAME_DIR .. "src/devices/machine/28fxxx.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/gen_fifo.h,MACHINES["GEN_FIFO"] = true
+---------------------------------------------------
+
+if (MACHINES["GEN_FIFO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/gen_fifo.cpp",
+ MAME_DIR .. "src/devices/machine/gen_fifo.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/output_latch.h,MACHINES["OUTPUT_LATCH"] = true
+---------------------------------------------------
+
+if (MACHINES["OUTPUT_LATCH"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/output_latch.cpp",
+ MAME_DIR .. "src/devices/machine/output_latch.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/z80daisy.h,MACHINES["Z80DAISY"] = true
+---------------------------------------------------
+
+if (MACHINES["Z80DAISY"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/z80daisy.cpp",
+ MAME_DIR .. "src/devices/machine/z80daisy.h",
+ MAME_DIR .. "src/devices/machine/z80daisy_generic.cpp",
+ MAME_DIR .. "src/devices/machine/z80daisy_generic.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i8291a.h,MACHINES["I8291A"] = true
+---------------------------------------------------
+
+if (MACHINES["I8291A"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i8291a.cpp",
+ MAME_DIR .. "src/devices/machine/i8291a.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ps2dma.h,MACHINES["PS2DMAC"] = true
+---------------------------------------------------
+
+if (MACHINES["PS2DMAC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ps2dma.cpp",
+ MAME_DIR .. "src/devices/machine/ps2dma.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ps2intc.h,MACHINES["PS2INTC"] = true
+---------------------------------------------------
+
+if (MACHINES["PS2INTC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ps2intc.cpp",
+ MAME_DIR .. "src/devices/machine/ps2intc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ps2mc.h,MACHINES["PS2MC"] = true
+---------------------------------------------------
+
+if (MACHINES["PS2MC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ps2mc.cpp",
+ MAME_DIR .. "src/devices/machine/ps2mc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ps2pad.h,MACHINES["PS2PAD"] = true
+---------------------------------------------------
+
+if (MACHINES["PS2PAD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ps2pad.cpp",
+ MAME_DIR .. "src/devices/machine/ps2pad.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ps2sif.h,MACHINES["PS2SIF"] = true
+---------------------------------------------------
+
+if (MACHINES["PS2SIF"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ps2sif.cpp",
+ MAME_DIR .. "src/devices/machine/ps2sif.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ps2timer.h,MACHINES["PS2TIMER"] = true
+---------------------------------------------------
+
+if (MACHINES["PS2TIMER"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ps2timer.cpp",
+ MAME_DIR .. "src/devices/machine/ps2timer.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/iopcdvd.h,MACHINES["IOPCDVD"] = true
+---------------------------------------------------
+
+if (MACHINES["IOPCDVD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/iopcdvd.cpp",
+ MAME_DIR .. "src/devices/machine/iopcdvd.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/iopdma.h,MACHINES["IOPDMA"] = true
+---------------------------------------------------
+
+if (MACHINES["IOPDMA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/iopdma.cpp",
+ MAME_DIR .. "src/devices/machine/iopdma.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/iopintc.h,MACHINES["IOPINTC"] = true
+---------------------------------------------------
+
+if (MACHINES["IOPINTC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/iopintc.cpp",
+ MAME_DIR .. "src/devices/machine/iopintc.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/iopsio2.h,MACHINES["IOPSIO2"] = true
+---------------------------------------------------
+
+if (MACHINES["IOPSIO2"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/iopsio2.cpp",
+ MAME_DIR .. "src/devices/machine/iopsio2.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/ioptimer.h,MACHINES["IOPTIMER"] = true
+---------------------------------------------------
+
+if (MACHINES["IOPTIMER"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/ioptimer.cpp",
+ MAME_DIR .. "src/devices/machine/ioptimer.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/sun4c_mmu.h,MACHINES["SUN4C_MMU"] = true
+---------------------------------------------------
+
+if (MACHINES["SUN4C_MMU"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/sun4c_mmu.cpp",
+ MAME_DIR .. "src/devices/machine/sun4c_mmu.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/z8038.h,MACHINES["Z8038"] = true
+---------------------------------------------------
+
+if (MACHINES["Z8038"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/z8038.cpp",
+ MAME_DIR .. "src/devices/machine/z8038.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/scc2698b.h,MACHINES["SCC2698B"] = true
+---------------------------------------------------
+
+if (MACHINES["SCC2698B"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/scc2698b.cpp",
+ MAME_DIR .. "src/devices/machine/scc2698b.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/aic565.h,MACHINES["AIC565"] = true
+---------------------------------------------------
+
+if (MACHINES["AIC565"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/aic565.cpp",
+ MAME_DIR .. "src/devices/machine/aic565.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/aic6250.h,MACHINES["AIC6250"] = true
+---------------------------------------------------
+
+if (MACHINES["AIC6250"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/aic6250.cpp",
+ MAME_DIR .. "src/devices/machine/aic6250.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/dc7085.h,MACHINES["DC7085"] = true
+---------------------------------------------------
+
+if (MACHINES["DC7085"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/dc7085.cpp",
+ MAME_DIR .. "src/devices/machine/dc7085.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/i82357.h,MACHINES["I82357"] = true
+---------------------------------------------------
+
+if (MACHINES["I82357"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i82357.cpp",
+ MAME_DIR .. "src/devices/machine/i82357.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/xc1700e.h,MACHINES["XC1700E"] = true
+---------------------------------------------------
+
+if (MACHINES["XC1700E"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/xc1700e.cpp",
+ MAME_DIR .. "src/devices/machine/xc1700e.h",
+ }
+end
diff --git a/docs/release/scripts/src/main.lua b/docs/release/scripts/src/main.lua
new file mode 100644
index 00000000000..d02ea56a068
--- /dev/null
+++ b/docs/release/scripts/src/main.lua
@@ -0,0 +1,446 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- main.lua
+--
+-- Rules for building main binary
+--
+---------------------------------------------------------------------------
+
+function mainProject(_target, _subtarget)
+if (_OPTIONS["SOURCES"] == nil) then
+ if (_target == _subtarget) then
+ project (_target)
+ else
+ if (_subtarget=="mess") then
+ project (_subtarget)
+ else
+ project (_target .. _subtarget)
+ end
+ end
+else
+ project (_subtarget)
+end
+ uuid (os.uuid(_target .."_" .. _subtarget))
+ kind "ConsoleApp"
+
+ configuration { "android*" }
+ targetprefix "lib"
+ targetname "main"
+ targetextension ".so"
+ linkoptions {
+ "-shared",
+ "-Wl,-soname,libmain.so"
+ }
+ links {
+ "EGL",
+ "GLESv1_CM",
+ "GLESv2",
+ "SDL2",
+ }
+ configuration { "pnacl" }
+ kind "ConsoleApp"
+ targetextension ".pexe"
+ links {
+ "ppapi",
+ "ppapi_gles2",
+ "pthread",
+ }
+
+ configuration { "winstore*" }
+ kind "WindowedApp"
+
+ configuration { }
+
+ addprojectflags()
+ flags {
+ "NoManifest",
+ "Symbols", -- always include minimum symbols for executables
+ }
+
+ if _OPTIONS["SYMBOLS"] then
+ configuration { "mingw*" }
+ postbuildcommands {
+ "$(SILENT) echo Dumping symbols.",
+ "$(SILENT) objdump --section=.text --line-numbers --syms --demangle $(TARGET) >$(subst .exe,.sym,$(TARGET))"
+ }
+ end
+
+ configuration { "winstore*" }
+ -- Windows Required Files
+ files {
+ -- Manifest file
+ MAME_DIR .. "scripts/resources/uwp/Package.appxmanifest",
+ }
+
+ configuration { "winstore*" }
+ files {
+ MAME_DIR .. "scripts/resources/uwp/assets/*.png"
+ }
+ configuration "**/scripts/resources/uwp/assets/*.png"
+ flags { "DeploymentContent" }
+
+ -- Effects and Shaders
+ configuration { "winstore*" }
+ files {
+ MAME_DIR .. "artwork/*",
+ MAME_DIR .. "artwork/**/*",
+ MAME_DIR .. "bgfx/*",
+ MAME_DIR .. "bgfx/**/*",
+ MAME_DIR .. "hash/*",
+ MAME_DIR .. "language/*",
+ MAME_DIR .. "language/**/*",
+ MAME_DIR .. "plugins/*",
+ MAME_DIR .. "plugins/**/*",
+ }
+ configuration "**/*"
+ flags { "DeploymentContent" }
+
+ configuration { "x64", "Release" }
+ targetsuffix "64"
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "64p"
+ end
+
+ configuration { "x64", "Debug" }
+ targetsuffix "64d"
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "64dp"
+ end
+
+ configuration { "x32", "Release" }
+ targetsuffix ""
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "p"
+ end
+
+ configuration { "x32", "Debug" }
+ targetsuffix "d"
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "dp"
+ end
+
+ configuration { "Native", "Release" }
+ targetsuffix ""
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "p"
+ end
+
+ configuration { "Native", "Debug" }
+ targetsuffix "d"
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "dp"
+ end
+
+ configuration { "mingw*" or "vs20*" }
+ targetextension ".exe"
+
+ configuration { "rpi" }
+ targetextension ""
+
+ configuration { "asmjs" }
+ targetextension ".bc"
+ if os.getenv("EMSCRIPTEN") then
+ local emccopts = ""
+ .. " -O" .. _OPTIONS["OPTIMIZE"]
+ .. " -s USE_SDL=2"
+ .. " -s USE_SDL_TTF=2"
+ .. " --memory-init-file 0"
+ .. " -s ALLOW_MEMORY_GROWTH=0"
+ .. " -s TOTAL_MEMORY=268435456"
+ .. " -s DISABLE_EXCEPTION_CATCHING=2"
+ .. " -s EXCEPTION_CATCHING_WHITELIST=\"['__ZN15running_machine17start_all_devicesEv','__ZN12cli_frontend7executeEiPPc','__ZN8chd_file11open_commonEb','__ZN8chd_file13read_metadataEjjRNSt3__212basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE','__ZN8chd_file13read_metadataEjjRNSt3__26vectorIhNS0_9allocatorIhEEEE']\""
+ .. " -s EXPORTED_FUNCTIONS=\"['_main', '_malloc', '__ZN15running_machine30emscripten_get_running_machineEv', '__ZN15running_machine17emscripten_get_uiEv', '__ZN15running_machine20emscripten_get_soundEv', '__ZN15mame_ui_manager12set_show_fpsEb', '__ZNK15mame_ui_manager8show_fpsEv', '__ZN13sound_manager4muteEbh', '_SDL_PauseAudio', '_SDL_SendKeyboardKey', '__ZN15running_machine15emscripten_saveEPKc', '__ZN15running_machine15emscripten_loadEPKc', '__ZN15running_machine21emscripten_hard_resetEv', '__ZN15running_machine21emscripten_soft_resetEv', '__ZN15running_machine15emscripten_exitEv']\""
+ .. " -s EXTRA_EXPORTED_RUNTIME_METHODS=\"['cwrap']\""
+ .. " -s ERROR_ON_UNDEFINED_SYMBOLS=0"
+ .. " --pre-js " .. _MAKE.esc(MAME_DIR) .. "src/osd/modules/sound/js_sound.js"
+ .. " --post-js " .. _MAKE.esc(MAME_DIR) .. "scripts/resources/emscripten/emscripten_post.js"
+ .. " --embed-file " .. _MAKE.esc(MAME_DIR) .. "bgfx/chains@bgfx/chains"
+ .. " --embed-file " .. _MAKE.esc(MAME_DIR) .. "bgfx/effects@bgfx/effects"
+ .. " --embed-file " .. _MAKE.esc(MAME_DIR) .. "bgfx/shaders/essl@bgfx/shaders/essl"
+ .. " --embed-file " .. _MAKE.esc(MAME_DIR) .. "artwork/slot-mask.png@artwork/slot-mask.png"
+
+ if _OPTIONS["SYMBOLS"]~=nil and _OPTIONS["SYMBOLS"]~="0" then
+ emccopts = emccopts
+ .. " -g" .. _OPTIONS["SYMLEVEL"]
+ .. " -s DEMANGLE_SUPPORT=1"
+ end
+
+ if _OPTIONS["WEBASSEMBLY"] then
+ emccopts = emccopts
+ .. " -s WASM=" .. _OPTIONS["WEBASSEMBLY"]
+ end
+
+ if _OPTIONS["ARCHOPTS"] then
+ emccopts = emccopts .. " " .. _OPTIONS["ARCHOPTS"]
+ end
+
+ postbuildcommands {
+ os.getenv("EMSCRIPTEN") .. "/emcc " .. emccopts .. " $(TARGET) -o " .. _MAKE.esc(MAME_DIR) .. _OPTIONS["target"] .. _OPTIONS["subtarget"] .. ".js",
+ }
+ end
+
+ configuration { }
+
+ if _OPTIONS["targetos"]=="android" then
+ includedirs {
+ MAME_DIR .. "3rdparty/SDL2/include",
+ }
+
+ files {
+ MAME_DIR .. "3rdparty/SDL2/src/main/android/SDL_android_main.c",
+ }
+ targetsuffix ""
+ if _OPTIONS["SEPARATE_BIN"]~="1" then
+ if _OPTIONS["PLATFORM"]=="arm" then
+ targetdir(MAME_DIR .. "android-project/app/src/main/libs/armeabi-v7a")
+ end
+ if _OPTIONS["PLATFORM"]=="arm64" then
+ targetdir(MAME_DIR .. "android-project/app/src/main/libs/arm64-v8a")
+ end
+ if _OPTIONS["PLATFORM"]=="mips" then
+ targetdir(MAME_DIR .. "android-project/app/src/main/libs/mips")
+ end
+ if _OPTIONS["PLATFORM"]=="mips64" then
+ targetdir(MAME_DIR .. "android-project/app/src/main/libs/mips64")
+ end
+ if _OPTIONS["PLATFORM"]=="x86" then
+ targetdir(MAME_DIR .. "android-project/app/src/main/libs/x86")
+ end
+ if _OPTIONS["PLATFORM"]=="x64" then
+ targetdir(MAME_DIR .. "android-project/app/src/main/libs/x86_64")
+ end
+ end
+ else
+ if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+ end
+ end
+
+if (STANDALONE~=true) then
+ findfunction("linkProjects_" .. _OPTIONS["target"] .. "_" .. _OPTIONS["subtarget"])(_OPTIONS["target"], _OPTIONS["subtarget"])
+end
+ links {
+ "osd_" .. _OPTIONS["osd"],
+ }
+ links {
+ "qtdbg_" .. _OPTIONS["osd"],
+ }
+if (STANDALONE~=true) then
+ links {
+ "frontend",
+ }
+end
+if (MACHINES["NETLIST"]~=null) then
+ links {
+ "netlist",
+ }
+end
+ links {
+ "optional",
+ "emu",
+ }
+--if (STANDALONE~=true) then
+ links {
+ "formats",
+ }
+--end
+if #disasm_files > 0 then
+ links {
+ "dasm",
+ }
+end
+ links {
+ "utils",
+ ext_lib("expat"),
+ "softfloat",
+ "softfloat3",
+ ext_lib("jpeg"),
+ "7z",
+ }
+if (STANDALONE~=true) then
+ links {
+ ext_lib("lua"),
+ "lualibs",
+ }
+if (_OPTIONS["osd"] ~= "uwp") then
+ links {
+ "linenoise",
+ }
+end
+end
+ links {
+ ext_lib("zlib"),
+ ext_lib("flac"),
+ ext_lib("utf8proc"),
+ }
+if (STANDALONE~=true) then
+ links {
+ ext_lib("sqlite3"),
+ }
+end
+
+ if _OPTIONS["NO_USE_PORTAUDIO"]~="1" then
+ links {
+ ext_lib("portaudio"),
+ }
+ if _OPTIONS["targetos"]=="windows" then
+ links {
+ "setupapi",
+ }
+ end
+ end
+ if _OPTIONS["NO_USE_MIDI"]~="1" then
+ links {
+ ext_lib("portmidi"),
+ }
+ end
+ links {
+ "bgfx",
+ "bimg",
+ "bx",
+ "ocore_" .. _OPTIONS["osd"],
+ }
+
+ override_resources = false;
+
+ maintargetosdoptions(_target,_subtarget)
+
+ includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/devices",
+ MAME_DIR .. "src/" .. _target,
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "3rdparty",
+ GEN_DIR .. _target .. "/layout",
+ GEN_DIR .. "resource",
+ ext_includedir("zlib"),
+ ext_includedir("flac"),
+ }
+
+
+if (STANDALONE==true) then
+ standalone();
+end
+
+if (STANDALONE~=true) then
+ if _OPTIONS["targetos"]=="macosx" and (not override_resources) then
+ linkoptions {
+ "-sectcreate __TEXT __info_plist " .. _MAKE.esc(GEN_DIR) .. "resource/" .. _subtarget .. "-Info.plist"
+ }
+ custombuildtask {
+ { GEN_DIR .. "version.cpp" , GEN_DIR .. "resource/" .. _subtarget .. "-Info.plist", { MAME_DIR .. "scripts/build/verinfo.py" }, {"@echo Emitting " .. _subtarget .. "-Info.plist" .. "...", PYTHON .. " $(1) -p -b " .. _subtarget .. " $(<) > $(@)" }},
+ }
+ dependency {
+ { "$(TARGET)" , GEN_DIR .. "resource/" .. _subtarget .. "-Info.plist", true },
+ }
+
+ end
+ local rctarget = _subtarget
+
+ if _OPTIONS["targetos"]=="windows" and (not override_resources) then
+ rcfile = MAME_DIR .. "scripts/resources/windows/" .. _subtarget .. "/" .. rctarget ..".rc"
+ if os.isfile(rcfile) then
+ files {
+ rcfile,
+ }
+ dependency {
+ { "$(OBJDIR)/".._subtarget ..".res" , GEN_DIR .. "resource/" .. rctarget .. "vers.rc", true },
+ }
+ else
+ rctarget = "mame"
+ files {
+ MAME_DIR .. "scripts/resources/windows/mame/mame.rc",
+ }
+ dependency {
+ { "$(OBJDIR)/mame.res" , GEN_DIR .. "resource/" .. rctarget .. "vers.rc", true },
+ }
+ end
+ end
+
+ local mainfile = MAME_DIR .. "src/".._target .."/" .. _subtarget ..".cpp"
+ if not os.isfile(mainfile) then
+ mainfile = MAME_DIR .. "src/".._target .."/" .. _target ..".cpp"
+ end
+ files {
+ mainfile,
+ MAME_DIR .. "src/version.cpp",
+ GEN_DIR .. _target .. "/" .. _subtarget .."/drivlist.cpp",
+ }
+
+ if (_OPTIONS["SOURCES"] == nil) then
+
+ if os.isfile(MAME_DIR .. "src/".._target .."/" .. _subtarget ..".flt") then
+ dependency {
+ {
+ GEN_DIR .. _target .. "/" .. _subtarget .."/drivlist.cpp", MAME_DIR .. "src/".._target .."/" .. _target ..".lst", true },
+ }
+ custombuildtask {
+ { MAME_DIR .. "src/".._target .."/" .. _subtarget ..".flt" , GEN_DIR .. _target .. "/" .. _subtarget .."/drivlist.cpp", { MAME_DIR .. "scripts/build/makelist.py", MAME_DIR .. "src/".._target .."/" .. _target ..".lst" }, {"@echo Building driver list...", PYTHON .. " $(1) $(2) $(<) > $(@)" }},
+ }
+ else
+ if os.isfile(MAME_DIR .. "src/".._target .."/" .. _subtarget ..".lst") then
+ custombuildtask {
+ { MAME_DIR .. "src/".._target .."/" .. _subtarget ..".lst" , GEN_DIR .. _target .. "/" .. _subtarget .."/drivlist.cpp", { MAME_DIR .. "scripts/build/makelist.py" }, {"@echo Building driver list...", PYTHON .. " $(1) $(<) > $(@)" }},
+ }
+ else
+ dependency {
+ {
+ GEN_DIR .. _target .. "/" .. _target .."/drivlist.cpp", MAME_DIR .. "src/".._target .."/" .. _target ..".lst", true },
+ }
+ custombuildtask {
+ { MAME_DIR .. "src/".._target .."/" .. _target ..".lst" , GEN_DIR .. _target .. "/" .. _target .."/drivlist.cpp", { MAME_DIR .. "scripts/build/makelist.py" }, {"@echo Building driver list...", PYTHON .. " $(1) $(<) > $(@)" }},
+ }
+ end
+ end
+ end
+
+ if (_OPTIONS["SOURCES"] ~= nil) then
+ dependency {
+ {
+ GEN_DIR .. _target .. "/" .. _subtarget .."/drivlist.cpp", MAME_DIR .. "src/".._target .."/" .. _target ..".lst", true },
+ }
+ custombuildtask {
+ { GEN_DIR .. _target .."/" .. _subtarget ..".flt" , GEN_DIR .. _target .. "/" .. _subtarget .."/drivlist.cpp", { MAME_DIR .. "scripts/build/makelist.py", MAME_DIR .. "src/".._target .."/" .. _target ..".lst" }, {"@echo Building driver list...", PYTHON .. " $(1) $(2) $(<) > $(@)" }},
+ }
+ end
+
+ configuration { "mingw*" }
+ custombuildtask {
+-- { GEN_DIR .. "version.cpp" , GEN_DIR .. "resource/" .. rctarget .. "vers.rc", { MAME_DIR .. "scripts/build/verinfo.py" }, {"@echo Emitting " .. rctarget .. "vers.rc" .. "...", PYTHON .. " $(1) -r -b " .. rctarget .. " $(<) > $(@)" }},
+ { MAME_DIR .. "src/version.cpp" , GEN_DIR .. "resource/" .. rctarget .. "vers.rc", { MAME_DIR .. "scripts/build/verinfo.py" }, {"@echo Emitting " .. rctarget .. "vers.rc" .. "...", PYTHON .. " $(1) -r -b " .. rctarget .. " $(<) > $(@)" }},
+ }
+
+ configuration { "vs20*" }
+ prebuildcommands {
+ "mkdir \"" .. path.translate(GEN_DIR .. "resource/","\\") .. "\" 2>NUL",
+ "@echo Emitting ".. rctarget .. "vers.rc...",
+ PYTHON .. " \"" .. path.translate(MAME_DIR .. "scripts/build/verinfo.py","\\") .. "\" -r -b " .. rctarget .. " \"" .. path.translate(GEN_DIR .. "version.cpp","\\") .. "\" > \"" .. path.translate(GEN_DIR .. "resource/" .. rctarget .. "vers.rc", "\\") .. "\"" ,
+ }
+
+ configuration { "vsllvm" }
+ prebuildcommands {
+ "mkdir \"" .. path.translate(GEN_DIR .. "resource/","\\") .. "\" 2>NUL",
+ "@echo Emitting ".. rctarget .. "vers.rc...",
+ PYTHON .. " \"" .. path.translate(MAME_DIR .. "scripts/build/verinfo.py","\\") .. "\" -r -b " .. rctarget .. " \"" .. path.translate(GEN_DIR .. "version.cpp","\\") .. "\" > \"" .. path.translate(GEN_DIR .. "resource/" .. rctarget .. "vers.rc", "\\") .. "\"" ,
+ }
+end
+
+ configuration { }
+
+ if _OPTIONS["DEBUG_DIR"]~=nil then
+ debugdir(_OPTIONS["DEBUG_DIR"])
+ else
+ debugdir (MAME_DIR)
+ end
+ if _OPTIONS["DEBUG_ARGS"]~=nil then
+ debugargs (_OPTIONS["DEBUG_ARGS"])
+ else
+ debugargs ("-window")
+ end
+
+end
diff --git a/docs/release/scripts/src/mame/frontend.lua b/docs/release/scripts/src/mame/frontend.lua
new file mode 100644
index 00000000000..c8f21daa4a6
--- /dev/null
+++ b/docs/release/scripts/src/mame/frontend.lua
@@ -0,0 +1,168 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- frontend.lua
+--
+-- Rules for building frontend
+--
+---------------------------------------------------------------------------
+
+project ("frontend")
+uuid ("e98e14c4-82a4-4988-ba29-01c90c817ab8")
+kind (LIBTYPE)
+
+addprojectflags()
+precompiledheaders()
+
+if (_OPTIONS["targetos"] ~= "asmjs") then
+ options {
+ "ArchiveSplit",
+ }
+end
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/frontend/mame",
+ MAME_DIR .. "src/devices", -- till deps are fixed
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "3rdparty",
+ GEN_DIR .. "emu",
+ GEN_DIR .. "emu/layout",
+}
+
+includedirs {
+ ext_includedir("asio"),
+ ext_includedir("expat"),
+ ext_includedir("lua"),
+ ext_includedir("zlib"),
+ ext_includedir("flac"),
+ ext_includedir("rapidjson")
+}
+
+configuration { }
+if (_OPTIONS["targetos"] == "windows") then
+ defines {
+ "UI_WINDOWS",
+ }
+end
+
+if (_OPTIONS["osd"] == "sdl") then
+ defines {
+ "UI_SDL",
+ }
+end
+
+files {
+ MAME_DIR .. "src/frontend/mame/audit.cpp",
+ MAME_DIR .. "src/frontend/mame/audit.h",
+ MAME_DIR .. "src/frontend/mame/cheat.cpp",
+ MAME_DIR .. "src/frontend/mame/cheat.h",
+ MAME_DIR .. "src/frontend/mame/clifront.cpp",
+ MAME_DIR .. "src/frontend/mame/clifront.h",
+ MAME_DIR .. "src/frontend/mame/info.cpp",
+ MAME_DIR .. "src/frontend/mame/info.h",
+ MAME_DIR .. "src/frontend/mame/language.cpp",
+ MAME_DIR .. "src/frontend/mame/language.h",
+ MAME_DIR .. "src/frontend/mame/luaengine.cpp",
+ MAME_DIR .. "src/frontend/mame/luaengine.h",
+ MAME_DIR .. "src/frontend/mame/mame.cpp",
+ MAME_DIR .. "src/frontend/mame/mame.h",
+ MAME_DIR .. "src/frontend/mame/mameopts.cpp",
+ MAME_DIR .. "src/frontend/mame/mameopts.h",
+ MAME_DIR .. "src/frontend/mame/media_ident.cpp",
+ MAME_DIR .. "src/frontend/mame/media_ident.h",
+ MAME_DIR .. "src/frontend/mame/pluginopts.cpp",
+ MAME_DIR .. "src/frontend/mame/pluginopts.h",
+ MAME_DIR .. "src/frontend/mame/ui/ui.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/ui.h",
+ MAME_DIR .. "src/frontend/mame/ui/text.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/text.h",
+ MAME_DIR .. "src/frontend/mame/ui/devctrl.h",
+ MAME_DIR .. "src/frontend/mame/ui/menu.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/menu.h",
+ MAME_DIR .. "src/frontend/mame/ui/submenu.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/submenu.h",
+ MAME_DIR .. "src/frontend/mame/ui/mainmenu.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/mainmenu.h",
+ MAME_DIR .. "src/frontend/mame/ui/miscmenu.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/miscmenu.h",
+ MAME_DIR .. "src/frontend/mame/ui/barcode.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/barcode.h",
+ MAME_DIR .. "src/frontend/mame/ui/cheatopt.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/cheatopt.h",
+ MAME_DIR .. "src/frontend/mame/ui/pluginopt.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/pluginopt.h",
+ MAME_DIR .. "src/frontend/mame/ui/devopt.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/devopt.h",
+ MAME_DIR .. "src/frontend/mame/ui/filemngr.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/filemngr.h",
+ MAME_DIR .. "src/frontend/mame/ui/filesel.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/filesel.h",
+ MAME_DIR .. "src/frontend/mame/ui/filecreate.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/filecreate.h",
+ MAME_DIR .. "src/frontend/mame/ui/floppycntrl.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/floppycntrl.h",
+ MAME_DIR .. "src/frontend/mame/ui/imgcntrl.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/imgcntrl.h",
+ MAME_DIR .. "src/frontend/mame/ui/info.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/info.h",
+ MAME_DIR .. "src/frontend/mame/ui/info_pty.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/info_pty.h",
+ MAME_DIR .. "src/frontend/mame/ui/inputmap.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/inputmap.h",
+ MAME_DIR .. "src/frontend/mame/ui/selmenu.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/selmenu.h",
+ MAME_DIR .. "src/frontend/mame/ui/sliders.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/sliders.h",
+ MAME_DIR .. "src/frontend/mame/ui/slotopt.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/slotopt.h",
+ MAME_DIR .. "src/frontend/mame/ui/swlist.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/swlist.h",
+ MAME_DIR .. "src/frontend/mame/ui/tapectrl.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/tapectrl.h",
+ MAME_DIR .. "src/frontend/mame/ui/videoopt.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/videoopt.h",
+ MAME_DIR .. "src/frontend/mame/ui/viewgfx.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/viewgfx.h",
+ MAME_DIR .. "src/frontend/mame/ui/auditmenu.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/auditmenu.h",
+ MAME_DIR .. "src/frontend/mame/ui/custui.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/custui.h",
+ MAME_DIR .. "src/frontend/mame/ui/datmenu.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/datmenu.h",
+ MAME_DIR .. "src/frontend/mame/ui/defimg.ipp",
+ MAME_DIR .. "src/frontend/mame/ui/dirmenu.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/dirmenu.h",
+ MAME_DIR .. "src/frontend/mame/ui/icorender.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/icorender.h",
+ MAME_DIR .. "src/frontend/mame/ui/inifile.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/inifile.h",
+ MAME_DIR .. "src/frontend/mame/ui/miscmenu.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/miscmenu.h",
+ MAME_DIR .. "src/frontend/mame/ui/moptions.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/moptions.h",
+ MAME_DIR .. "src/frontend/mame/ui/optsmenu.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/optsmenu.h",
+ MAME_DIR .. "src/frontend/mame/ui/selector.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/selector.h",
+ MAME_DIR .. "src/frontend/mame/ui/selgame.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/selgame.h",
+ MAME_DIR .. "src/frontend/mame/ui/simpleselgame.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/simpleselgame.h",
+ MAME_DIR .. "src/frontend/mame/ui/selsoft.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/selsoft.h",
+ MAME_DIR .. "src/frontend/mame/ui/sndmenu.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/sndmenu.h",
+ MAME_DIR .. "src/frontend/mame/ui/starimg.ipp",
+ MAME_DIR .. "src/frontend/mame/ui/state.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/state.h",
+ MAME_DIR .. "src/frontend/mame/ui/toolbar.ipp",
+ MAME_DIR .. "src/frontend/mame/ui/utils.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/utils.h",
+ MAME_DIR .. "src/frontend/mame/ui/widgets.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/widgets.h",
+}
diff --git a/docs/release/scripts/src/netlist.lua b/docs/release/scripts/src/netlist.lua
new file mode 100644
index 00000000000..973e9fb2ffc
--- /dev/null
+++ b/docs/release/scripts/src/netlist.lua
@@ -0,0 +1,230 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- netlist.lua
+--
+-- Rules for building netlist cores
+--
+---------------------------------------------------------------------------
+
+project "netlist"
+ uuid "665ef8ac-2a4c-4c3e-a05f-fd1e5db11de9"
+ kind (LIBTYPE)
+
+ if _OPTIONS["targetos"]=="windows" then
+ configuration { "mingw* or vs*" }
+ defines {
+ "UNICODE",
+ "_UNICODE",
+ "_WIN32_WINNT=0x0501",
+ "WIN32_LEAN_AND_MEAN",
+ "NOMINMAX",
+ }
+ end
+
+ addprojectflags()
+
+ defines {
+ "__STDC_CONSTANT_MACROS",
+ }
+
+ includedirs {
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/netlist",
+ }
+
+ files {
+ MAME_DIR .. "src/lib/netlist/nl_base.cpp",
+ MAME_DIR .. "src/lib/netlist/nl_base.h",
+ MAME_DIR .. "src/lib/netlist/nl_config.h",
+ MAME_DIR .. "src/lib/netlist/nl_errstr.h",
+ MAME_DIR .. "src/lib/netlist/nl_dice_compat.h",
+ MAME_DIR .. "src/lib/netlist/nl_factory.cpp",
+ MAME_DIR .. "src/lib/netlist/nl_factory.h",
+ MAME_DIR .. "src/lib/netlist/nl_lists.h",
+ MAME_DIR .. "src/lib/netlist/nl_parser.cpp",
+ MAME_DIR .. "src/lib/netlist/nl_parser.h",
+ MAME_DIR .. "src/lib/netlist/nl_setup.cpp",
+ MAME_DIR .. "src/lib/netlist/nl_setup.h",
+ MAME_DIR .. "src/lib/netlist/nl_types.h",
+ MAME_DIR .. "src/lib/netlist/plib/pconfig.h",
+ MAME_DIR .. "src/lib/netlist/plib/palloc.h",
+ MAME_DIR .. "src/lib/netlist/plib/pchrono.cpp",
+ MAME_DIR .. "src/lib/netlist/plib/pchrono.h",
+ MAME_DIR .. "src/lib/netlist/plib/pexception.cpp",
+ MAME_DIR .. "src/lib/netlist/plib/pexception.h",
+ MAME_DIR .. "src/lib/netlist/plib/pfunction.cpp",
+ MAME_DIR .. "src/lib/netlist/plib/pfunction.h",
+ MAME_DIR .. "src/lib/netlist/plib/pfmtlog.cpp",
+ MAME_DIR .. "src/lib/netlist/plib/pfmtlog.h",
+ MAME_DIR .. "src/lib/netlist/plib/plists.h",
+ MAME_DIR .. "src/lib/netlist/plib/pdynlib.cpp",
+ MAME_DIR .. "src/lib/netlist/plib/pdynlib.h",
+ MAME_DIR .. "src/lib/netlist/plib/pmain.cpp",
+ MAME_DIR .. "src/lib/netlist/plib/pmain.h",
+ MAME_DIR .. "src/lib/netlist/plib/pmempool.h",
+ MAME_DIR .. "src/lib/netlist/plib/pomp.h",
+ MAME_DIR .. "src/lib/netlist/plib/poptions.cpp",
+ MAME_DIR .. "src/lib/netlist/plib/poptions.h",
+ MAME_DIR .. "src/lib/netlist/plib/pparser.cpp",
+ MAME_DIR .. "src/lib/netlist/plib/pparser.h",
+ MAME_DIR .. "src/lib/netlist/plib/ppmf.h",
+ MAME_DIR .. "src/lib/netlist/plib/pstate.cpp",
+ MAME_DIR .. "src/lib/netlist/plib/pstate.h",
+ MAME_DIR .. "src/lib/netlist/plib/pstring.cpp",
+ MAME_DIR .. "src/lib/netlist/plib/pstring.h",
+ MAME_DIR .. "src/lib/netlist/plib/pstream.cpp",
+ MAME_DIR .. "src/lib/netlist/plib/pstream.h",
+ MAME_DIR .. "src/lib/netlist/plib/ptime.h",
+ MAME_DIR .. "src/lib/netlist/plib/ptypes.h",
+ MAME_DIR .. "src/lib/netlist/plib/putil.cpp",
+ MAME_DIR .. "src/lib/netlist/plib/putil.h",
+ MAME_DIR .. "src/lib/netlist/tools/nl_convert.cpp",
+ MAME_DIR .. "src/lib/netlist/tools/nl_convert.h",
+ MAME_DIR .. "src/lib/netlist/analog/nld_bjt.cpp",
+ MAME_DIR .. "src/lib/netlist/analog/nld_bjt.h",
+ MAME_DIR .. "src/lib/netlist/analog/nld_generic_models.h",
+ MAME_DIR .. "src/lib/netlist/analog/nld_mosfet.cpp",
+ MAME_DIR .. "src/lib/netlist/analog/nld_mosfet.h",
+ MAME_DIR .. "src/lib/netlist/analog/nlid_fourterm.cpp",
+ MAME_DIR .. "src/lib/netlist/analog/nlid_fourterm.h",
+ MAME_DIR .. "src/lib/netlist/analog/nld_fourterm.h",
+ MAME_DIR .. "src/lib/netlist/analog/nld_switches.cpp",
+ MAME_DIR .. "src/lib/netlist/analog/nld_switches.h",
+ MAME_DIR .. "src/lib/netlist/analog/nlid_twoterm.cpp",
+ MAME_DIR .. "src/lib/netlist/analog/nlid_twoterm.h",
+ MAME_DIR .. "src/lib/netlist/analog/nld_twoterm.h",
+ MAME_DIR .. "src/lib/netlist/analog/nld_opamps.cpp",
+ MAME_DIR .. "src/lib/netlist/analog/nld_opamps.h",
+ MAME_DIR .. "src/lib/netlist/solver/nld_solver.cpp",
+ MAME_DIR .. "src/lib/netlist/solver/nld_solver.h",
+ MAME_DIR .. "src/lib/netlist/solver/nld_matrix_solver.cpp",
+ MAME_DIR .. "src/lib/netlist/solver/nld_matrix_solver.h",
+ MAME_DIR .. "src/lib/netlist/solver/nld_ms_direct.h",
+ MAME_DIR .. "src/lib/netlist/solver/nld_ms_direct1.h",
+ MAME_DIR .. "src/lib/netlist/solver/nld_ms_direct2.h",
+ MAME_DIR .. "src/lib/netlist/solver/nld_ms_sor.h",
+ MAME_DIR .. "src/lib/netlist/solver/nld_ms_sor_mat.h",
+ MAME_DIR .. "src/lib/netlist/solver/nld_ms_gmres.h",
+ MAME_DIR .. "src/lib/netlist/solver/mat_cr.h",
+ MAME_DIR .. "src/lib/netlist/solver/nld_ms_sm.h",
+ MAME_DIR .. "src/lib/netlist/solver/nld_ms_w.h",
+ MAME_DIR .. "src/lib/netlist/solver/nld_ms_direct_lu.h",
+ MAME_DIR .. "src/lib/netlist/solver/vector_base.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_2102A.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_2102A.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_2716.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_2716.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_tms4800.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_tms4800.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_4020.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_4020.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_4066.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_4066.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_4316.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_4316.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7448.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7448.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7450.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7450.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7473.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7473.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7474.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7474.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7475.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7475.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7483.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7483.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7485.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7485.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7490.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7490.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7493.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7493.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7497.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_7497.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74107.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74107.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74123.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74123.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74153.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74153.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74161.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74161.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74164.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74164.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74165.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74165.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74166.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74166.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74174.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74174.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74175.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74175.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74192.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74192.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74193.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74193.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74194.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74194.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74365.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74365.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74ls629.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_74ls629.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_82S16.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_82S16.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_82S115.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_82S115.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_82S123.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_82S123.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_82S126.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_82S126.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_9310.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_9310.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_9316.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_9316.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_9322.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_9322.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_am2847.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_am2847.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_dm9314.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_dm9314.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_dm9334.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_dm9334.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_ne555.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_ne555.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_mm5837.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_mm5837.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_r2r_dac.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_r2r_dac.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_tristate.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_tristate.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_schmitt.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_schmitt.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_legacy.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_legacy.h",
+ MAME_DIR .. "src/lib/netlist/devices/net_lib.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/net_lib.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_log.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_log.h",
+ MAME_DIR .. "src/lib/netlist/devices/nld_system.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nld_system.h",
+ MAME_DIR .. "src/lib/netlist/devices/nlid_truthtable.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nlid_truthtable.h",
+ MAME_DIR .. "src/lib/netlist/devices/nlid_cmos.h",
+ MAME_DIR .. "src/lib/netlist/devices/nlid_system.h",
+ MAME_DIR .. "src/lib/netlist/devices/nlid_proxy.cpp",
+ MAME_DIR .. "src/lib/netlist/devices/nlid_proxy.h",
+ MAME_DIR .. "src/lib/netlist/macro/nlm_base.cpp",
+ MAME_DIR .. "src/lib/netlist/macro/nlm_base.h",
+ MAME_DIR .. "src/lib/netlist/macro/nlm_ttl74xx.cpp",
+ MAME_DIR .. "src/lib/netlist/macro/nlm_ttl74xx.h",
+ MAME_DIR .. "src/lib/netlist/macro/nlm_cd4xxx.cpp",
+ MAME_DIR .. "src/lib/netlist/macro/nlm_cd4xxx.h",
+ MAME_DIR .. "src/lib/netlist/macro/nlm_opamp.cpp",
+ MAME_DIR .. "src/lib/netlist/macro/nlm_opamp.h",
+ MAME_DIR .. "src/lib/netlist/macro/nlm_other.cpp",
+ MAME_DIR .. "src/lib/netlist/macro/nlm_other.h",
+}
diff --git a/docs/release/scripts/src/osd/modules.lua b/docs/release/scripts/src/osd/modules.lua
new file mode 100644
index 00000000000..1376be2b1d5
--- /dev/null
+++ b/docs/release/scripts/src/osd/modules.lua
@@ -0,0 +1,556 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- modules.lua
+--
+-- Rules for the building of modules
+--
+---------------------------------------------------------------------------
+
+function string.starts(String,Start)
+ return string.sub(String,1,string.len(Start))==Start
+end
+
+function addlibfromstring(str)
+ if (str==nil) then return end
+ for w in str:gmatch("%S+") do
+ if string.starts(w,"-l")==true then
+ links {
+ string.sub(w,3)
+ }
+ end
+ end
+end
+
+function addoptionsfromstring(str)
+ if (str==nil) then return end
+ for w in str:gmatch("%S+") do
+ if string.starts(w,"-l")==false then
+ linkoptions {
+ w
+ }
+ end
+ end
+end
+
+function pkgconfigcmd()
+ local pkgconfig = os.getenv("PKG_CONFIG")
+ if pkgconfig == nil then
+ return "pkg-config"
+ end
+ return pkgconfig
+end
+
+function osdmodulesbuild()
+
+ removeflags {
+ "SingleOutputDir",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/osdnet.cpp",
+ MAME_DIR .. "src/osd/osdnet.h",
+ MAME_DIR .. "src/osd/watchdog.cpp",
+ MAME_DIR .. "src/osd/watchdog.h",
+ MAME_DIR .. "src/osd/modules/debugger/debug_module.h",
+ MAME_DIR .. "src/osd/modules/font/font_module.h",
+ MAME_DIR .. "src/osd/modules/midi/midi_module.h",
+ MAME_DIR .. "src/osd/modules/netdev/netdev_module.h",
+ MAME_DIR .. "src/osd/modules/sound/sound_module.h",
+ MAME_DIR .. "src/osd/modules/diagnostics/diagnostics_module.h",
+ MAME_DIR .. "src/osd/modules/monitor/monitor_module.h",
+ MAME_DIR .. "src/osd/modules/lib/osdobj_common.cpp",
+ MAME_DIR .. "src/osd/modules/lib/osdobj_common.h",
+ MAME_DIR .. "src/osd/modules/diagnostics/none.cpp",
+ MAME_DIR .. "src/osd/modules/diagnostics/diagnostics_win32.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/none.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/debugwin.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/debugimgui.cpp",
+ MAME_DIR .. "src/osd/modules/font/font_sdl.cpp",
+ MAME_DIR .. "src/osd/modules/font/font_windows.cpp",
+ MAME_DIR .. "src/osd/modules/font/font_dwrite.cpp",
+ MAME_DIR .. "src/osd/modules/font/font_osx.cpp",
+ MAME_DIR .. "src/osd/modules/font/font_none.cpp",
+ MAME_DIR .. "src/osd/modules/netdev/taptun.cpp",
+ MAME_DIR .. "src/osd/modules/netdev/pcap.cpp",
+ MAME_DIR .. "src/osd/modules/netdev/none.cpp",
+ MAME_DIR .. "src/osd/modules/midi/portmidi.cpp",
+ MAME_DIR .. "src/osd/modules/midi/none.cpp",
+ MAME_DIR .. "src/osd/modules/sound/js_sound.cpp",
+ MAME_DIR .. "src/osd/modules/sound/direct_sound.cpp",
+ MAME_DIR .. "src/osd/modules/sound/pa_sound.cpp",
+ MAME_DIR .. "src/osd/modules/sound/coreaudio_sound.cpp",
+ MAME_DIR .. "src/osd/modules/sound/sdl_sound.cpp",
+ MAME_DIR .. "src/osd/modules/sound/xaudio2_sound.cpp",
+ MAME_DIR .. "src/osd/modules/sound/none.cpp",
+ MAME_DIR .. "src/osd/modules/input/input_module.h",
+ MAME_DIR .. "src/osd/modules/input/input_common.cpp",
+ MAME_DIR .. "src/osd/modules/input/input_common.h",
+ MAME_DIR .. "src/osd/modules/input/input_dinput.cpp",
+ MAME_DIR .. "src/osd/modules/input/input_dinput.h",
+ MAME_DIR .. "src/osd/modules/input/input_none.cpp",
+ MAME_DIR .. "src/osd/modules/input/input_rawinput.cpp",
+ MAME_DIR .. "src/osd/modules/input/input_win32.cpp",
+ MAME_DIR .. "src/osd/modules/input/input_sdl.cpp",
+ MAME_DIR .. "src/osd/modules/input/input_sdlcommon.cpp",
+ MAME_DIR .. "src/osd/modules/input/input_sdlcommon.h",
+ MAME_DIR .. "src/osd/modules/input/input_x11.cpp",
+ MAME_DIR .. "src/osd/modules/input/input_windows.cpp",
+ MAME_DIR .. "src/osd/modules/input/input_windows.h",
+ MAME_DIR .. "src/osd/modules/input/input_xinput.cpp",
+ MAME_DIR .. "src/osd/modules/input/input_xinput.h",
+ MAME_DIR .. "src/osd/modules/input/input_winhybrid.cpp",
+ MAME_DIR .. "src/osd/modules/input/input_uwp.cpp",
+ MAME_DIR .. "src/osd/modules/output/output_module.h",
+ MAME_DIR .. "src/osd/modules/output/none.cpp",
+ MAME_DIR .. "src/osd/modules/output/console.cpp",
+ MAME_DIR .. "src/osd/modules/output/network.cpp",
+ MAME_DIR .. "src/osd/modules/output/win32_output.cpp",
+ MAME_DIR .. "src/osd/modules/output/win32_output.h",
+ MAME_DIR .. "src/osd/modules/monitor/monitor_common.h",
+ MAME_DIR .. "src/osd/modules/monitor/monitor_common.cpp",
+ MAME_DIR .. "src/osd/modules/monitor/monitor_win32.cpp",
+ MAME_DIR .. "src/osd/modules/monitor/monitor_dxgi.cpp",
+ MAME_DIR .. "src/osd/modules/monitor/monitor_sdl.cpp",
+ }
+ includedirs {
+ ext_includedir("asio"),
+ }
+
+ if _OPTIONS["targetos"]=="windows" then
+ includedirs {
+ MAME_DIR .. "3rdparty/winpcap/Include",
+ MAME_DIR .. "3rdparty/compat/mingw",
+ MAME_DIR .. "3rdparty/portaudio/include",
+ }
+
+ includedirs {
+ MAME_DIR .. "3rdparty/compat/winsdk-override",
+ }
+ end
+
+ if _OPTIONS["NO_OPENGL"]=="1" then
+ defines {
+ "USE_OPENGL=0",
+ }
+ else
+ files {
+ MAME_DIR .. "src/osd/modules/render/drawogl.cpp",
+ MAME_DIR .. "src/osd/modules/opengl/gl_shader_tool.cpp",
+ MAME_DIR .. "src/osd/modules/opengl/gl_shader_mgr.cpp",
+ MAME_DIR .. "src/osd/modules/opengl/gl_shader_mgr.h",
+ MAME_DIR .. "src/osd/modules/opengl/gl_shader_tool.h",
+ MAME_DIR .. "src/osd/modules/opengl/osd_opengl.h",
+ }
+ defines {
+ "USE_OPENGL=1",
+ }
+ if _OPTIONS["USE_DISPATCH_GL"]=="1" then
+ defines {
+ "USE_DISPATCH_GL=1",
+ }
+ end
+ end
+
+ defines {
+ "__STDC_LIMIT_MACROS",
+ "__STDC_FORMAT_MACROS",
+ "__STDC_CONSTANT_MACROS",
+ "IMGUI_DISABLE_OBSOLETE_FUNCTIONS",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/modules/render/drawbgfx.cpp",
+ MAME_DIR .. "src/osd/modules/render/aviwrite.cpp",
+ MAME_DIR .. "src/osd/modules/render/aviwrite.h",
+ MAME_DIR .. "src/osd/modules/render/bgfxutil.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfxutil.h",
+ MAME_DIR .. "src/osd/modules/render/binpacker.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/blendreader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/chain.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/chainentry.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/chainentryreader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/chainmanager.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/chainreader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/clear.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/clear.h",
+ MAME_DIR .. "src/osd/modules/render/bgfx/clearreader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/clearreader.h",
+ MAME_DIR .. "src/osd/modules/render/bgfx/cullreader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/depthreader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/effect.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/effectmanager.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/effectreader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/entryuniformreader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/inputpair.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/frameparameter.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/timeparameter.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/paramreader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/paramuniform.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/paramuniformreader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/shadermanager.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/slider.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/sliderreader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/slideruniform.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/slideruniformreader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/statereader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/suppressor.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/suppressorreader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/target.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/targetreader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/targetmanager.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/texture.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/texturemanager.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/uniform.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/uniformreader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/valueuniform.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/valueuniformreader.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/view.cpp",
+ MAME_DIR .. "src/osd/modules/render/bgfx/writereader.cpp",
+ }
+ includedirs {
+ MAME_DIR .. "3rdparty/bgfx/examples/common",
+ MAME_DIR .. "3rdparty/bgfx/include",
+ MAME_DIR .. "3rdparty/bgfx/3rdparty",
+ MAME_DIR .. "3rdparty/bx/include",
+ ext_includedir("rapidjson")
+ }
+
+ if _OPTIONS["NO_USE_PORTAUDIO"]=="1" then
+ defines {
+ "NO_USE_PORTAUDIO",
+ }
+ else
+ includedirs {
+ ext_includedir("portaudio"),
+ }
+ end
+
+ if _OPTIONS["NO_USE_MIDI"]=="1" then
+ defines {
+ "NO_USE_MIDI",
+ }
+ else
+ includedirs {
+ ext_includedir("portmidi"),
+ }
+ end
+
+ if _OPTIONS["USE_QTDEBUG"]=="1" then
+ defines {
+ "USE_QTDEBUG=1",
+ }
+ else
+ defines {
+ "USE_QTDEBUG=0",
+ }
+ end
+
+end
+
+
+function qtdebuggerbuild()
+
+ removeflags {
+ "SingleOutputDir",
+ }
+ local version = str_to_version(_OPTIONS["gcc_version"])
+ if _OPTIONS["gcc"]~=nil and (string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs")) then
+ configuration { "gmake or ninja" }
+ if (version >= 30600) then
+ buildoptions {
+ "-Wno-inconsistent-missing-override",
+ }
+ end
+ configuration { }
+ end
+
+ files {
+ MAME_DIR .. "src/osd/modules/debugger/debugqt.cpp",
+ }
+
+ if _OPTIONS["USE_QTDEBUG"]=="1" then
+ files {
+ MAME_DIR .. "src/osd/modules/debugger/qt/debuggerview.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/qt/debuggerview.h",
+ MAME_DIR .. "src/osd/modules/debugger/qt/windowqt.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/qt/windowqt.h",
+ MAME_DIR .. "src/osd/modules/debugger/qt/logwindow.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/qt/logwindow.h",
+ MAME_DIR .. "src/osd/modules/debugger/qt/dasmwindow.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/qt/dasmwindow.h",
+ MAME_DIR .. "src/osd/modules/debugger/qt/mainwindow.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/qt/mainwindow.h",
+ MAME_DIR .. "src/osd/modules/debugger/qt/memorywindow.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/qt/memorywindow.h",
+ MAME_DIR .. "src/osd/modules/debugger/qt/breakpointswindow.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/qt/breakpointswindow.h",
+ MAME_DIR .. "src/osd/modules/debugger/qt/deviceswindow.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/qt/deviceinformationwindow.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/qt/deviceinformationwindow.h",
+ MAME_DIR .. "src/osd/modules/debugger/qt/deviceswindow.h",
+ GEN_DIR .. "osd/modules/debugger/qt/debuggerview.moc.cpp",
+ GEN_DIR .. "osd/modules/debugger/qt/windowqt.moc.cpp",
+ GEN_DIR .. "osd/modules/debugger/qt/logwindow.moc.cpp",
+ GEN_DIR .. "osd/modules/debugger/qt/dasmwindow.moc.cpp",
+ GEN_DIR .. "osd/modules/debugger/qt/mainwindow.moc.cpp",
+ GEN_DIR .. "osd/modules/debugger/qt/memorywindow.moc.cpp",
+ GEN_DIR .. "osd/modules/debugger/qt/breakpointswindow.moc.cpp",
+ GEN_DIR .. "osd/modules/debugger/qt/deviceswindow.moc.cpp",
+ GEN_DIR .. "osd/modules/debugger/qt/deviceinformationwindow.moc.cpp",
+ }
+ defines {
+ "USE_QTDEBUG=1",
+ }
+
+ local MOC = ""
+ if (os.is("windows")) then
+ MOC = "moc"
+ else
+ if _OPTIONS["QT_HOME"]~=nil then
+ QMAKETST = backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake --version 2>/dev/null")
+ if (QMAKETST=='') then
+ print("Qt's Meta Object Compiler (moc) wasn't found!")
+ os.exit(1)
+ end
+ MOC = _OPTIONS["QT_HOME"] .. "/bin/moc"
+ else
+ MOCTST = backtick("which moc-qt5 2>/dev/null")
+ if (MOCTST=='') then
+ MOCTST = backtick("which moc 2>/dev/null")
+ end
+ if (MOCTST=='') then
+ print("Qt's Meta Object Compiler (moc) wasn't found!")
+ os.exit(1)
+ end
+ MOC = MOCTST
+ end
+ end
+
+
+ custombuildtask {
+ { MAME_DIR .. "src/osd/modules/debugger/qt/debuggerview.h", GEN_DIR .. "osd/modules/debugger/qt/debuggerview.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }},
+ { MAME_DIR .. "src/osd/modules/debugger/qt/windowqt.h", GEN_DIR .. "osd/modules/debugger/qt/windowqt.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }},
+ { MAME_DIR .. "src/osd/modules/debugger/qt/logwindow.h", GEN_DIR .. "osd/modules/debugger/qt/logwindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }},
+ { MAME_DIR .. "src/osd/modules/debugger/qt/dasmwindow.h", GEN_DIR .. "osd/modules/debugger/qt/dasmwindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }},
+ { MAME_DIR .. "src/osd/modules/debugger/qt/mainwindow.h", GEN_DIR .. "osd/modules/debugger/qt/mainwindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }},
+ { MAME_DIR .. "src/osd/modules/debugger/qt/memorywindow.h", GEN_DIR .. "osd/modules/debugger/qt/memorywindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }},
+ { MAME_DIR .. "src/osd/modules/debugger/qt/breakpointswindow.h", GEN_DIR .. "osd/modules/debugger/qt/breakpointswindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }},
+ { MAME_DIR .. "src/osd/modules/debugger/qt/deviceswindow.h", GEN_DIR .. "osd/modules/debugger/qt/deviceswindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }},
+ { MAME_DIR .. "src/osd/modules/debugger/qt/deviceinformationwindow.h", GEN_DIR .. "osd/modules/debugger/qt/deviceinformationwindow.moc.cpp", { },{ MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }},
+
+ }
+
+ if _OPTIONS["targetos"]=="windows" then
+ configuration { "mingw*" }
+ buildoptions {
+ "-I$(shell qmake -query QT_INSTALL_HEADERS)",
+ }
+ configuration { }
+ elseif _OPTIONS["targetos"]=="macosx" then
+ buildoptions {
+ "-F" .. backtick("qmake -query QT_INSTALL_LIBS"),
+ }
+ else
+ if _OPTIONS["QT_HOME"]~=nil then
+ buildoptions {
+ "-I" .. backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_INSTALL_HEADERS"),
+ }
+ else
+ buildoptions {
+ backtick(pkgconfigcmd() .. " --cflags Qt5Widgets"),
+ }
+ end
+ end
+ else
+ defines {
+ "USE_QTDEBUG=0",
+ }
+ end
+
+end
+
+
+function osdmodulestargetconf()
+
+ if _OPTIONS["NO_OPENGL"]~="1" then
+ if _OPTIONS["targetos"]=="macosx" then
+ links {
+ "OpenGL.framework",
+ }
+ elseif _OPTIONS["USE_DISPATCH_GL"]~="1" then
+ if _OPTIONS["targetos"]=="windows" then
+ links {
+ "opengl32",
+ }
+ else
+ links {
+ "GL",
+ }
+ end
+ end
+ end
+
+ if _OPTIONS["NO_USE_MIDI"]~="1" then
+ if _OPTIONS["targetos"]=="linux" then
+ local str = backtick(pkgconfigcmd() .. " --libs alsa")
+ addlibfromstring(str)
+ addoptionsfromstring(str)
+ elseif _OPTIONS["targetos"]=="macosx" then
+ links {
+ "CoreMIDI.framework",
+ }
+ end
+ end
+
+ if _OPTIONS["USE_QTDEBUG"]=="1" then
+ if _OPTIONS["targetos"]=="windows" then
+ linkoptions {
+ "-L$(shell qmake -query QT_INSTALL_LIBS)",
+ }
+ links {
+ "Qt5Core.dll",
+ "Qt5Gui.dll",
+ "Qt5Widgets.dll",
+ }
+ elseif _OPTIONS["targetos"]=="macosx" then
+ linkoptions {
+ "-F" .. backtick("qmake -query QT_INSTALL_LIBS"),
+ }
+ links {
+ "Qt5Core.framework",
+ "Qt5Gui.framework",
+ "Qt5Widgets.framework",
+ }
+ else
+ if _OPTIONS["QT_HOME"]~=nil then
+ linkoptions {
+ "-L" .. backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_INSTALL_LIBS"),
+ }
+ links {
+ "Qt5Core",
+ "Qt5Gui",
+ "Qt5Widgets",
+ }
+ else
+ local str = backtick(pkgconfigcmd() .. " --libs Qt5Widgets")
+ addlibfromstring(str)
+ addoptionsfromstring(str)
+ end
+ end
+ end
+
+ if _OPTIONS["targetos"]=="windows" then
+ links {
+ "gdi32",
+ "dsound",
+ "dxguid",
+ "oleaut32",
+ "winmm",
+ }
+ elseif _OPTIONS["targetos"]=="macosx" then
+ links {
+ "AudioUnit.framework",
+ "AudioToolbox.framework",
+ "CoreAudio.framework",
+ "CoreServices.framework",
+ }
+ end
+
+end
+
+
+newoption {
+ trigger = "DONT_USE_NETWORK",
+ description = "Disable network access",
+}
+
+newoption {
+ trigger = "NO_OPENGL",
+ description = "Disable use of OpenGL",
+ allowed = {
+ { "0", "Enable OpenGL" },
+ { "1", "Disable OpenGL" },
+ },
+}
+
+newoption {
+ trigger = "USE_DISPATCH_GL",
+ description = "Use GL-dispatching",
+ allowed = {
+ { "0", "Link to OpenGL library" },
+ { "1", "Use GL-dispatching" },
+ },
+}
+
+if not _OPTIONS["USE_DISPATCH_GL"] then
+ _OPTIONS["USE_DISPATCH_GL"] = "0"
+end
+
+newoption {
+ trigger = "NO_USE_MIDI",
+ description = "Disable MIDI I/O",
+ allowed = {
+ { "0", "Enable MIDI" },
+ { "1", "Disable MIDI" },
+ },
+}
+
+if not _OPTIONS["NO_USE_MIDI"] then
+ if _OPTIONS["targetos"]=="freebsd" or _OPTIONS["targetos"]=="openbsd" or _OPTIONS["targetos"]=="netbsd" or _OPTIONS["targetos"]=="solaris" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"] == "asmjs" then
+ _OPTIONS["NO_USE_MIDI"] = "1"
+ else
+ _OPTIONS["NO_USE_MIDI"] = "0"
+ end
+end
+
+newoption {
+ trigger = "NO_USE_PORTAUDIO",
+ description = "Disable PortAudio interface",
+ allowed = {
+ { "0", "Enable PortAudio" },
+ { "1", "Disable PortAudio" },
+ },
+}
+
+if not _OPTIONS["NO_USE_PORTAUDIO"] then
+ if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="macosx" then
+ _OPTIONS["NO_USE_PORTAUDIO"] = "0"
+ else
+ _OPTIONS["NO_USE_PORTAUDIO"] = "1"
+ end
+end
+
+newoption {
+ trigger = "MODERN_WIN_API",
+ description = "Use Modern Windows APIs",
+ allowed = {
+ { "0", "Use classic Windows APIs - allows support for XP and later" },
+ { "1", "Use Modern Windows APIs - support for Windows 8.1 and later" },
+ },
+}
+
+newoption {
+ trigger = "USE_QTDEBUG",
+ description = "Use QT debugger",
+ allowed = {
+ { "0", "Don't use Qt debugger" },
+ { "1", "Use Qt debugger" },
+ },
+}
+
+newoption {
+ trigger = "QT_HOME",
+ description = "QT lib location",
+}
+
+
+if not _OPTIONS["USE_QTDEBUG"] then
+ if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="solaris" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"] == "asmjs" then
+ _OPTIONS["USE_QTDEBUG"] = "0"
+ else
+ _OPTIONS["USE_QTDEBUG"] = "1"
+ end
+end
diff --git a/docs/release/scripts/src/osd/newui.lua b/docs/release/scripts/src/osd/newui.lua
new file mode 100644
index 00000000000..425eb50ba12
--- /dev/null
+++ b/docs/release/scripts/src/osd/newui.lua
@@ -0,0 +1,273 @@
+-- license:BSD-3-Clause
+-- copyright-holders:Robbbert
+
+---------------------------------------------------------------------------
+--
+-- newui.lua
+--
+-- Rules for the building for Windows
+--
+---------------------------------------------------------------------------
+
+dofile("modules.lua")
+
+premake.make.linkoptions_after = false;
+
+function maintargetosdoptions(_target,_subtarget)
+ osdmodulestargetconf()
+
+ configuration { "mingw*" }
+ links {
+ "mingw32",
+ }
+
+ configuration { }
+
+ if _OPTIONS["DIRECTINPUT"] == "8" then
+ links {
+ "dinput8",
+ }
+ else
+ links {
+ "dinput",
+ }
+ end
+
+ links {
+ "comctl32",
+ "comdlg32",
+ "psapi",
+ "ole32",
+ }
+
+-- needs same resources as messui, because dropdown menus are in mameui.rc
+ override_resources = true;
+ rctarget = _subtarget;
+ local rcfile = MAME_DIR .. "src/osd/winui/" .. _subtarget .. ".rc"
+ local uifile = MAME_DIR .. "src/osd/winui/mameui.rc"
+
+ if not os.isfile(rcfile) then
+ print(string.format("***** %s not found *****",rcfile))
+ os.exit();
+ end
+
+ if not os.isfile(uifile) then
+ print(string.format("***** %s not found *****",uifile))
+ os.exit();
+ end
+
+ files {
+ rcfile,
+ }
+ dependency {
+ { "$(OBJDIR)/".._subtarget..".res" , GEN_DIR .. "/resource/".._subtarget.."vers.rc", true },
+ }
+end
+
+
+newoption {
+ trigger = "DIRECTINPUT",
+ description = "Minimum DirectInput version to support",
+ allowed = {
+ { "7", "Support DirectInput 7 or later" },
+ { "8", "Support DirectInput 8 or later" },
+ },
+}
+
+if not _OPTIONS["DIRECTINPUT"] then
+ _OPTIONS["DIRECTINPUT"] = "8"
+end
+
+
+project ("qtdbg_" .. _OPTIONS["osd"])
+ uuid (os.uuid("qtdbg_" .. _OPTIONS["osd"]))
+ kind (LIBTYPE)
+
+ dofile("windows_cfg.lua")
+ includedirs {
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/devices", -- accessing imagedev from debugger
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "src/osd/modules/render",
+ MAME_DIR .. "3rdparty",
+ }
+ qtdebuggerbuild()
+
+project ("osd_" .. _OPTIONS["osd"])
+ uuid (os.uuid("osd_" .. _OPTIONS["osd"]))
+ kind "StaticLib"
+
+ dofile("winui_cfg.lua")
+ osdmodulesbuild()
+
+ defines {
+ "DIRECT3D_VERSION=0x0900",
+ }
+
+ if _OPTIONS["DIRECTINPUT"] == "8" then
+ defines {
+ "DIRECTINPUT_VERSION=0x0800",
+ }
+ else
+ defines {
+ "DIRECTINPUT_VERSION=0x0700",
+ }
+ end
+
+ includedirs {
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/devices",
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "src/osd/modules/file",
+ MAME_DIR .. "src/osd/modules/render",
+ MAME_DIR .. "3rdparty",
+ MAME_DIR .. "src/frontend/mame",
+ MAME_DIR .. "src/osd/windows",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/modules/render/d3d/d3dintf.h",
+ MAME_DIR .. "src/osd/modules/render/d3d/d3dhlsl.cpp",
+ MAME_DIR .. "src/osd/modules/render/d3d/d3dcomm.h",
+ MAME_DIR .. "src/osd/modules/render/d3d/d3dhlsl.h",
+ MAME_DIR .. "src/osd/modules/render/drawd3d.cpp",
+ MAME_DIR .. "src/osd/modules/render/drawd3d.h",
+ MAME_DIR .. "src/osd/modules/render/drawgdi.cpp",
+ MAME_DIR .. "src/osd/modules/render/drawgdi.h",
+ MAME_DIR .. "src/osd/modules/render/drawnone.cpp",
+ MAME_DIR .. "src/osd/modules/render/drawnone.h",
+ MAME_DIR .. "src/osd/windows/video.cpp",
+ MAME_DIR .. "src/osd/windows/video.h",
+ MAME_DIR .. "src/osd/windows/window.cpp",
+ MAME_DIR .. "src/osd/windows/window.h",
+ MAME_DIR .. "src/osd/modules/osdwindow.cpp",
+ MAME_DIR .. "src/osd/modules/osdwindow.h",
+ MAME_DIR .. "src/osd/windows/winmain.cpp",
+ MAME_DIR .. "src/osd/windows/winmain.h",
+ MAME_DIR .. "src/osd/osdepend.h",
+ MAME_DIR .. "src/osd/winui/newui.cpp",
+ MAME_DIR .. "src/osd/windows/winmain.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/consolewininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/consolewininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugbaseinfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugbaseinfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugviewinfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugviewinfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugwininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugwininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmbasewininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmbasewininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmviewinfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmviewinfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmwininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmwininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/editwininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/editwininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/logviewinfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/logviewinfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/logwininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/logwininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/memoryviewinfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/memoryviewinfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/memorywininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/memorywininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/pointswininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/pointswininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/uimetrics.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/uimetrics.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugwin.h",
+ }
+
+
+project ("ocore_" .. _OPTIONS["osd"])
+ uuid (os.uuid("ocore_" .. _OPTIONS["osd"]))
+ kind "StaticLib"
+
+ options {
+ "ForceCPP",
+ }
+ removeflags {
+ "SingleOutputDir",
+ }
+
+ dofile("windows_cfg.lua")
+
+ includedirs {
+ MAME_DIR .. "3rdparty",
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/osd/modules/file",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ }
+
+ BASE_TARGETOS = "win32"
+ SDLOS_TARGETOS = "win32"
+ SYNC_IMPLEMENTATION = "windows"
+
+ includedirs {
+ MAME_DIR .. "src/osd/windows",
+ MAME_DIR .. "src/lib/winpcap",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/eigccppc.h",
+ MAME_DIR .. "src/osd/eigccx86.h",
+ MAME_DIR .. "src/osd/eivc.h",
+ MAME_DIR .. "src/osd/eivcx86.h",
+ MAME_DIR .. "src/osd/eminline.h",
+ MAME_DIR .. "src/osd/osdcomm.h",
+ MAME_DIR .. "src/osd/osdcore.cpp",
+ MAME_DIR .. "src/osd/osdcore.h",
+ MAME_DIR .. "src/osd/strconv.cpp",
+ MAME_DIR .. "src/osd/strconv.h",
+ MAME_DIR .. "src/osd/windows/main.cpp",
+ MAME_DIR .. "src/osd/osdsync.cpp",
+ MAME_DIR .. "src/osd/osdsync.h",
+ MAME_DIR .. "src/osd/windows/winutf8.cpp",
+ MAME_DIR .. "src/osd/windows/winutf8.h",
+ MAME_DIR .. "src/osd/windows/winutil.cpp",
+ MAME_DIR .. "src/osd/windows/winutil.h",
+ MAME_DIR .. "src/osd/modules/osdmodule.cpp",
+ MAME_DIR .. "src/osd/modules/osdmodule.h",
+ MAME_DIR .. "src/osd/modules/file/windir.cpp",
+ MAME_DIR .. "src/osd/modules/file/winfile.cpp",
+ MAME_DIR .. "src/osd/modules/file/winfile.h",
+ MAME_DIR .. "src/osd/modules/file/winptty.cpp",
+ MAME_DIR .. "src/osd/modules/file/winsocket.cpp",
+ MAME_DIR .. "src/osd/modules/lib/osdlib_win32.cpp",
+ }
+
+
+
+--------------------------------------------------
+-- ledutil
+--------------------------------------------------
+
+if _OPTIONS["with-tools"] then
+ project("ledutil")
+ uuid ("061293ca-7290-44ac-b2b5-5913ae8dc9c0")
+ kind "ConsoleApp"
+
+ options {
+ "ForceCPP",
+ }
+
+ targetdir(MAME_DIR)
+
+ links {
+ "ocore_" .. _OPTIONS["osd"],
+ }
+
+ includedirs {
+ MAME_DIR .. "src/osd",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/windows/ledutil.cpp",
+ }
+end
diff --git a/docs/release/scripts/src/osd/osdmini.lua b/docs/release/scripts/src/osd/osdmini.lua
new file mode 100644
index 00000000000..b05839e7873
--- /dev/null
+++ b/docs/release/scripts/src/osd/osdmini.lua
@@ -0,0 +1,130 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- osdmini.lua
+--
+-- Rules for the building of osdmini
+--
+---------------------------------------------------------------------------
+
+function maintargetosdoptions(_target,_subtarget)
+end
+
+project ("qtdbg_" .. _OPTIONS["osd"])
+ uuid (os.uuid("qtdbg_" .. _OPTIONS["osd"]))
+ kind (LIBTYPE)
+
+ dofile("osdmini_cfg.lua")
+ includedirs {
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/devices", -- accessing imagedev from debugger
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "src/osd/modules/render",
+ MAME_DIR .. "3rdparty",
+ }
+ removeflags {
+ "SingleOutputDir",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/modules/debugger/debugqt.cpp",
+ }
+
+project ("osd_" .. _OPTIONS["osd"])
+ uuid (os.uuid("osd_" .. _OPTIONS["osd"]))
+ kind (LIBTYPE)
+
+ removeflags {
+ "SingleOutputDir",
+ }
+
+ dofile("osdmini_cfg.lua")
+
+ includedirs {
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "src/osd/sdl",
+ MAME_DIR .. "src/osd/modules/render",
+ MAME_DIR .. "3rdparty",
+ MAME_DIR .. "3rdparty/winpcap/Include",
+ MAME_DIR .. "3rdparty/bgfx/include",
+ MAME_DIR .. "3rdparty/bx/include",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/osdnet.cpp",
+ MAME_DIR .. "src/osd/osdnet.h",
+ MAME_DIR .. "src/osd/osdmini/minimain.cpp",
+ MAME_DIR .. "src/osd/osdmini/osdmini.h",
+ MAME_DIR .. "src/osd/osdepend.h",
+ MAME_DIR .. "src/osd/modules/lib/osdobj_common.cpp",
+ MAME_DIR .. "src/osd/modules/lib/osdobj_common.h",
+ MAME_DIR .. "src/osd/modules/font/font_sdl.cpp",
+ MAME_DIR .. "src/osd/modules/font/font_windows.cpp",
+ MAME_DIR .. "src/osd/modules/font/font_osx.cpp",
+ MAME_DIR .. "src/osd/modules/font/font_none.cpp",
+ MAME_DIR .. "src/osd/modules/netdev/taptun.cpp",
+ MAME_DIR .. "src/osd/modules/netdev/pcap.cpp",
+ MAME_DIR .. "src/osd/modules/netdev/none.cpp",
+ MAME_DIR .. "src/osd/modules/midi/portmidi.cpp",
+ MAME_DIR .. "src/osd/modules/midi/none.cpp",
+ MAME_DIR .. "src/osd/modules/sound/js_sound.cpp",
+ MAME_DIR .. "src/osd/modules/sound/direct_sound.cpp",
+ MAME_DIR .. "src/osd/modules/sound/coreaudio_sound.cpp",
+ MAME_DIR .. "src/osd/modules/sound/sdl_sound.cpp",
+ MAME_DIR .. "src/osd/modules/sound/none.cpp",
+ MAME_DIR .. "src/osd/modules/sound/xaudio2_sound.cpp",
+ }
+
+project ("ocore_" .. _OPTIONS["osd"])
+ uuid (os.uuid("ocore_" .. _OPTIONS["osd"]))
+ kind (LIBTYPE)
+
+ removeflags {
+ "SingleOutputDir",
+ }
+
+ dofile("osdmini_cfg.lua")
+
+ includedirs {
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ }
+
+ if _OPTIONS["targetos"]=="linux" then
+ BASE_TARGETOS = "unix"
+ SDLOS_TARGETOS = "unix"
+ SYNC_IMPLEMENTATION = "tc"
+ end
+
+ if _OPTIONS["targetos"]=="windows" then
+ BASE_TARGETOS = "win32"
+ SDLOS_TARGETOS = "win32"
+ SYNC_IMPLEMENTATION = "windows"
+ end
+
+ if _OPTIONS["targetos"]=="macosx" then
+ BASE_TARGETOS = "unix"
+ SDLOS_TARGETOS = "macosx"
+ SYNC_IMPLEMENTATION = "ntc"
+ end
+
+ files {
+ MAME_DIR .. "src/osd/osdcore.cpp",
+ MAME_DIR .. "src/osd/osdcore.h",
+ MAME_DIR .. "src/osd/modules/osdmodule.cpp",
+ MAME_DIR .. "src/osd/modules/osdmodule.h",
+ MAME_DIR .. "src/osd/osdmini/minidir.cpp",
+ MAME_DIR .. "src/osd/osdmini/minifile.cpp",
+ MAME_DIR .. "src/osd/osdmini/minimisc.cpp",
+ MAME_DIR .. "src/osd/osdmini/minitime.cpp",
+ MAME_DIR .. "src/osd/modules/sync/work_mini.cpp",
+ }
diff --git a/docs/release/scripts/src/osd/osdmini_cfg.lua b/docs/release/scripts/src/osd/osdmini_cfg.lua
new file mode 100644
index 00000000000..586075d3cac
--- /dev/null
+++ b/docs/release/scripts/src/osd/osdmini_cfg.lua
@@ -0,0 +1,12 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+defines {
+ "OSD_MINI",
+ "USE_QTDEBUG=0",
+ "USE_SDL",
+ "SDLMAME_NOASM=1",
+ "USE_OPENGL=0",
+ "NO_USE_MIDI=1",
+ "USE_XAUDIO2=0",
+}
diff --git a/docs/release/scripts/src/osd/sdl.lua b/docs/release/scripts/src/osd/sdl.lua
new file mode 100644
index 00000000000..9485fcc553c
--- /dev/null
+++ b/docs/release/scripts/src/osd/sdl.lua
@@ -0,0 +1,506 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- sdl.lua
+--
+-- Rules for the building with SDL
+--
+---------------------------------------------------------------------------
+
+dofile("modules.lua")
+
+
+function maintargetosdoptions(_target,_subtarget)
+ osdmodulestargetconf()
+
+ if _OPTIONS["USE_DISPATCH_GL"]~="1" and _OPTIONS["MESA_INSTALL_ROOT"] then
+ libdirs {
+ path.join(_OPTIONS["MESA_INSTALL_ROOT"],"lib"),
+ }
+ linkoptions {
+ "-Wl,-rpath=" .. path.join(_OPTIONS["MESA_INSTALL_ROOT"],"lib"),
+ }
+ end
+
+ if _OPTIONS["NO_X11"]~="1" then
+ links {
+ "X11",
+ "Xinerama",
+ }
+ end
+
+ if _OPTIONS["NO_USE_XINPUT"]~="1" then
+ links {
+ "Xext",
+ "Xi",
+ }
+ end
+
+ if BASE_TARGETOS=="unix" and _OPTIONS["targetos"]~="macosx" and _OPTIONS["targetos"]~="android" then
+ links {
+ "SDL2_ttf",
+ }
+ local str = backtick(pkgconfigcmd() .. " --libs fontconfig")
+ addlibfromstring(str)
+ addoptionsfromstring(str)
+ end
+
+ if _OPTIONS["targetos"]=="windows" then
+ if _OPTIONS["with-bundled-sdl2"]~=nil then
+ configuration { "mingw*"}
+ links {
+ "SDL2",
+ "imm32",
+ "version",
+ "ole32",
+ "oleaut32",
+ }
+ configuration { "vs*" }
+ links {
+ "SDL2",
+ "imm32",
+ "version",
+ }
+ configuration { }
+ else
+ if _OPTIONS["USE_LIBSDL"]~="1" then
+ configuration { "mingw*"}
+ links {
+ "SDL2main",
+ "SDL2",
+ }
+ configuration { "vs*" }
+ links {
+ "SDL2",
+ "imm32",
+ "version",
+ }
+ configuration { }
+ else
+ local str = backtick(sdlconfigcmd() .. " --libs | sed 's/ -lSDLmain//'")
+ addlibfromstring(str)
+ addoptionsfromstring(str)
+ end
+ configuration { "x32", "vs*" }
+ libdirs {
+ path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x86")
+ }
+ configuration { "x64", "vs*" }
+ libdirs {
+ path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x64")
+ }
+ configuration { }
+ end
+ links {
+ "psapi",
+ }
+ elseif _OPTIONS["targetos"]=="haiku" then
+ links {
+ "network",
+ "bsd",
+ }
+ end
+
+ configuration { "mingw*" or "vs*" }
+ targetprefix "sdl"
+ links {
+ "psapi",
+ "ole32",
+ }
+ configuration { }
+
+ if _OPTIONS["targetos"]=="macosx" then
+ if _OPTIONS["with-bundled-sdl2"]~=nil then
+ links {
+ "SDL2",
+ }
+ end
+ end
+
+end
+
+
+function sdlconfigcmd()
+ if _OPTIONS["targetos"]=="asmjs" then
+ return "sdl2-config"
+ elseif not _OPTIONS["SDL_INSTALL_ROOT"] then
+ return pkgconfigcmd() .. " sdl2"
+ else
+ return path.join(_OPTIONS["SDL_INSTALL_ROOT"],"bin","sdl2") .. "-config"
+ end
+end
+
+
+newoption {
+ trigger = "MESA_INSTALL_ROOT",
+ description = "link against specific GL-Library - also adds rpath to executable (overridden by USE_DISPATCH_GL)",
+}
+
+newoption {
+ trigger = "SDL_INI_PATH",
+ description = "Default search path for .ini files",
+}
+
+newoption {
+ trigger = "NO_X11",
+ description = "Disable use of X11",
+ allowed = {
+ { "0", "Enable X11" },
+ { "1", "Disable X11" },
+ },
+}
+
+if not _OPTIONS["NO_X11"] then
+ if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"]=="asmjs" then
+ _OPTIONS["NO_X11"] = "1"
+ else
+ _OPTIONS["NO_X11"] = "0"
+ end
+end
+
+newoption {
+ trigger = "NO_USE_XINPUT",
+ description = "Disable use of Xinput",
+ allowed = {
+ { "0", "Enable Xinput" },
+ { "1", "Disable Xinput" },
+ },
+}
+
+if not _OPTIONS["NO_USE_XINPUT"] then
+ if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"]=="asmjs" then
+ _OPTIONS["NO_USE_XINPUT"] = "1"
+ else
+ _OPTIONS["NO_USE_XINPUT"] = "0"
+ end
+end
+
+newoption {
+ trigger = "NO_USE_XINPUT_WII_LIGHTGUN_HACK",
+ description = "Disable use of Xinput Wii Lightgun Hack",
+ allowed = {
+ { "0", "Enable Xinput Wii Lightgun Hack" },
+ { "1", "Disable Xinput Wii Lightgun Hack" },
+ },
+}
+
+if not _OPTIONS["NO_USE_XINPUT_WII_LIGHTGUN_HACK"] then
+ _OPTIONS["NO_USE_XINPUT_WII_LIGHTGUN_HACK"] = "1"
+end
+
+newoption {
+ trigger = "SDL2_MULTIAPI",
+ description = "Use couriersud's multi-keyboard patch for SDL 2.1? (this API was removed prior to the 2.0 release)",
+ allowed = {
+ { "0", "Use single-keyboard API" },
+ { "1", "Use multi-keyboard API" },
+ },
+}
+
+if not _OPTIONS["SDL2_MULTIAPI"] then
+ _OPTIONS["SDL2_MULTIAPI"] = "0"
+end
+
+newoption {
+ trigger = "SDL_INSTALL_ROOT",
+ description = "Equivalent to the ./configure --prefix=<path>",
+}
+
+newoption {
+ trigger = "SDL_FRAMEWORK_PATH",
+ description = "Location of SDL framework for custom OS X installations",
+}
+
+if not _OPTIONS["SDL_FRAMEWORK_PATH"] then
+ _OPTIONS["SDL_FRAMEWORK_PATH"] = "/Library/Frameworks/"
+end
+
+newoption {
+ trigger = "USE_LIBSDL",
+ description = "Use SDL library on OS (rather than framework/dll)",
+ allowed = {
+ { "0", "Use framework/dll" },
+ { "1", "Use library" },
+ },
+}
+
+if not _OPTIONS["USE_LIBSDL"] then
+ _OPTIONS["USE_LIBSDL"] = "0"
+end
+
+
+BASE_TARGETOS = "unix"
+SDLOS_TARGETOS = "unix"
+SDL_NETWORK = ""
+if _OPTIONS["targetos"]=="linux" then
+ SDL_NETWORK = "taptun"
+elseif _OPTIONS["targetos"]=="openbsd" then
+elseif _OPTIONS["targetos"]=="netbsd" then
+ SDL_NETWORK = "pcap"
+elseif _OPTIONS["targetos"]=="haiku" then
+elseif _OPTIONS["targetos"]=="asmjs" then
+elseif _OPTIONS["targetos"]=="windows" then
+ BASE_TARGETOS = "win32"
+ SDLOS_TARGETOS = "win32"
+ SDL_NETWORK = "pcap"
+elseif _OPTIONS["targetos"]=="macosx" then
+ SDLOS_TARGETOS = "macosx"
+ SDL_NETWORK = "pcap"
+end
+
+if _OPTIONS["with-bundled-sdl2"]~=nil then
+ includedirs {
+ GEN_DIR .. "includes",
+ }
+end
+if BASE_TARGETOS=="unix" then
+ if _OPTIONS["targetos"]=="macosx" then
+ local os_version = str_to_version(backtick("sw_vers -productVersion"))
+
+ links {
+ "Cocoa.framework",
+ }
+ linkoptions {
+ "-framework QuartzCore",
+ "-framework OpenGL",
+ }
+
+
+ if os_version>=101100 then
+ linkoptions {
+ "-weak_framework Metal",
+ }
+ end
+ if _OPTIONS["with-bundled-sdl2"]~=nil then
+ linkoptions {
+ "-framework AudioUnit",
+ "-framework CoreAudio",
+ "-framework Carbon",
+ "-framework ForceFeedback",
+ "-framework IOKit",
+ "-framework CoreVideo",
+ }
+ else
+ if _OPTIONS["USE_LIBSDL"]~="1" then
+ linkoptions {
+ "-F" .. _OPTIONS["SDL_FRAMEWORK_PATH"],
+ }
+ links {
+ "SDL2.framework",
+ }
+ else
+ local str = backtick(sdlconfigcmd() .. " --libs --static | sed 's/-lSDLmain//'")
+ addlibfromstring(str)
+ addoptionsfromstring(str)
+ end
+ end
+ else
+ if _OPTIONS["NO_X11"]=="1" then
+ _OPTIONS["USE_QTDEBUG"] = "0"
+ else
+ libdirs {
+ "/usr/X11/lib",
+ "/usr/X11R6/lib",
+ "/usr/openwin/lib",
+ }
+ end
+ if _OPTIONS["with-bundled-sdl2"]~=nil then
+ if _OPTIONS["targetos"]~="android" then
+ links {
+ "SDL2",
+ }
+ end
+ else
+ local str = backtick(sdlconfigcmd() .. " --libs")
+ addlibfromstring(str)
+ addoptionsfromstring(str)
+ end
+
+ if _OPTIONS["targetos"]~="haiku" and _OPTIONS["targetos"]~="android" then
+ links {
+ "m",
+ "pthread",
+ }
+ if _OPTIONS["targetos"]=="solaris" then
+ links {
+ "socket",
+ "nsl",
+ }
+ else
+ links {
+ "util",
+ }
+ end
+ end
+ end
+end
+
+project ("qtdbg_" .. _OPTIONS["osd"])
+ uuid (os.uuid("qtdbg_" .. _OPTIONS["osd"]))
+ kind (LIBTYPE)
+
+ dofile("sdl_cfg.lua")
+ includedirs {
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/devices", -- accessing imagedev from debugger
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "src/osd/modules/render",
+ MAME_DIR .. "3rdparty",
+ }
+ configuration { "linux-* or freebsd" }
+ buildoptions {
+ "-fPIC",
+ }
+ configuration { }
+
+ qtdebuggerbuild()
+
+project ("osd_" .. _OPTIONS["osd"])
+ targetsubdir(_OPTIONS["target"] .."_" .._OPTIONS["subtarget"])
+ uuid (os.uuid("osd_" .. _OPTIONS["osd"]))
+ kind (LIBTYPE)
+
+ dofile("sdl_cfg.lua")
+ osdmodulesbuild()
+
+ includedirs {
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/devices", -- accessing imagedev from debugger
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "src/osd/modules/file",
+ MAME_DIR .. "src/osd/modules/render",
+ MAME_DIR .. "3rdparty",
+ MAME_DIR .. "src/osd/sdl",
+ }
+
+ if _OPTIONS["targetos"]=="windows" then
+ files {
+ MAME_DIR .. "src/osd/windows/main.cpp",
+ }
+ end
+
+ if _OPTIONS["targetos"]=="macosx" then
+ files {
+ MAME_DIR .. "src/osd/modules/debugger/debugosx.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/breakpointsview.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/breakpointsview.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/consoleview.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/consoleview.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/debugcommandhistory.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/debugcommandhistory.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/debugconsole.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/debugconsole.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/debugview.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/debugview.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/debugwindowhandler.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/debugwindowhandler.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/deviceinfoviewer.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/deviceinfoviewer.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/devicesviewer.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/devicesviewer.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/disassemblyview.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/disassemblyviewer.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/disassemblyviewer.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/errorlogview.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/errorlogview.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/disassemblyview.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/errorlogviewer.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/errorlogviewer.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/memoryview.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/memoryview.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/memoryviewer.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/memoryviewer.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/pointsviewer.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/pointsviewer.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/registersview.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/registersview.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/watchpointsview.mm",
+ MAME_DIR .. "src/osd/modules/debugger/osx/watchpointsview.h",
+ MAME_DIR .. "src/osd/modules/debugger/osx/debugosx.h",
+ }
+ end
+
+ files {
+ MAME_DIR .. "src/osd/sdl/osdsdl.h",
+ MAME_DIR .. "src/osd/sdl/sdlprefix.h",
+ MAME_DIR .. "src/osd/sdl/sdlmain.cpp",
+ MAME_DIR .. "src/osd/osdepend.h",
+ MAME_DIR .. "src/osd/sdl/video.cpp",
+ MAME_DIR .. "src/osd/sdl/window.cpp",
+ MAME_DIR .. "src/osd/sdl/window.h",
+ MAME_DIR .. "src/osd/modules/osdwindow.cpp",
+ MAME_DIR .. "src/osd/modules/osdwindow.h",
+ MAME_DIR .. "src/osd/modules/render/drawsdl.cpp",
+ }
+ files {
+ MAME_DIR .. "src/osd/modules/render/draw13.cpp",
+ MAME_DIR .. "src/osd/modules/render/blit13.h",
+ }
+
+
+project ("ocore_" .. _OPTIONS["osd"])
+ targetsubdir(_OPTIONS["target"] .."_" .. _OPTIONS["subtarget"])
+ uuid (os.uuid("ocore_" .. _OPTIONS["osd"]))
+ kind (LIBTYPE)
+
+ removeflags {
+ "SingleOutputDir",
+ }
+
+ dofile("sdl_cfg.lua")
+
+ includedirs {
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "src/osd/sdl",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/osdcore.cpp",
+ MAME_DIR .. "src/osd/osdcore.h",
+ MAME_DIR .. "src/osd/strconv.cpp",
+ MAME_DIR .. "src/osd/strconv.h",
+ MAME_DIR .. "src/osd/osdsync.cpp",
+ MAME_DIR .. "src/osd/osdsync.h",
+ MAME_DIR .. "src/osd/modules/osdmodule.cpp",
+ MAME_DIR .. "src/osd/modules/osdmodule.h",
+ MAME_DIR .. "src/osd/modules/lib/osdlib_" .. SDLOS_TARGETOS .. ".cpp",
+ MAME_DIR .. "src/osd/modules/lib/osdlib.h",
+ }
+
+ if BASE_TARGETOS=="unix" then
+ files {
+ MAME_DIR .. "src/osd/modules/file/posixdir.cpp",
+ MAME_DIR .. "src/osd/modules/file/posixdomain.cpp",
+ MAME_DIR .. "src/osd/modules/file/posixfile.cpp",
+ MAME_DIR .. "src/osd/modules/file/posixfile.h",
+ MAME_DIR .. "src/osd/modules/file/posixptty.cpp",
+ MAME_DIR .. "src/osd/modules/file/posixsocket.cpp",
+ }
+ elseif BASE_TARGETOS=="win32" then
+ includedirs {
+ MAME_DIR .. "src/osd/windows",
+ }
+ files {
+ MAME_DIR .. "src/osd/modules/file/windir.cpp",
+ MAME_DIR .. "src/osd/modules/file/winfile.cpp",
+ MAME_DIR .. "src/osd/modules/file/winfile.h",
+ MAME_DIR .. "src/osd/modules/file/winptty.cpp",
+ MAME_DIR .. "src/osd/modules/file/winsocket.cpp",
+ MAME_DIR .. "src/osd/windows/winutil.cpp", -- FIXME put the necessary functions somewhere more appropriate
+ }
+ else
+ files {
+ MAME_DIR .. "src/osd/modules/file/stdfile.cpp",
+ }
+ end
+
+
diff --git a/docs/release/scripts/src/osd/sdl_cfg.lua b/docs/release/scripts/src/osd/sdl_cfg.lua
new file mode 100644
index 00000000000..ad3750184fd
--- /dev/null
+++ b/docs/release/scripts/src/osd/sdl_cfg.lua
@@ -0,0 +1,165 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+dofile('modules.lua')
+
+forcedincludes {
+ MAME_DIR .. "src/osd/sdl/sdlprefix.h"
+}
+
+if SDL_NETWORK~="" and not _OPTIONS["DONT_USE_NETWORK"] then
+ defines {
+ "USE_NETWORK",
+ "OSD_NET_USE_" .. string.upper(SDL_NETWORK),
+ }
+end
+
+if _OPTIONS["NO_OPENGL"]~="1" and _OPTIONS["USE_DISPATCH_GL"]~="1" and _OPTIONS["MESA_INSTALL_ROOT"] then
+ includedirs {
+ path.join(_OPTIONS["MESA_INSTALL_ROOT"],"include"),
+ }
+end
+
+if _OPTIONS["SDL_INI_PATH"]~=nil then
+ defines {
+ "'INI_PATH=\"" .. _OPTIONS["SDL_INI_PATH"] .. "\"'",
+ }
+end
+
+if _OPTIONS["NO_X11"]=="1" then
+ defines {
+ "SDLMAME_NO_X11",
+ }
+else
+ defines {
+ "SDLMAME_X11",
+ }
+ includedirs {
+ "/usr/X11/include",
+ "/usr/X11R6/include",
+ "/usr/openwin/include",
+ }
+end
+
+if _OPTIONS["NO_USE_XINPUT"]=="1" then
+ defines {
+ "USE_XINPUT=0",
+ }
+else
+ defines {
+ "USE_XINPUT=1",
+ "USE_XINPUT_DEBUG=0",
+ }
+end
+
+if _OPTIONS["NO_USE_XINPUT_WII_LIGHTGUN_HACK"]=="1" then
+ defines {
+ "USE_XINPUT_WII_LIGHTGUN_HACK=0",
+ }
+else
+ defines {
+ "USE_XINPUT_WII_LIGHTGUN_HACK=1",
+ }
+end
+
+if _OPTIONS["NO_USE_MIDI"]~="1" and _OPTIONS["targetos"]=="linux" then
+ buildoptions {
+ backtick(pkgconfigcmd() .. " --cflags alsa"),
+ }
+end
+
+defines {
+ "SDLMAME_SDL2=1",
+}
+if _OPTIONS["SDL2_MULTIAPI"]=="1" then
+ defines {
+ "SDL2_MULTIAPI",
+ }
+end
+
+defines {
+ "OSD_SDL",
+}
+
+if BASE_TARGETOS=="unix" then
+ defines {
+ "SDLMAME_UNIX",
+ }
+ if _OPTIONS["targetos"]=="macosx" then
+ if _OPTIONS["with-bundled-sdl2"]==nil then
+ if _OPTIONS["USE_LIBSDL"]~="1" then
+ buildoptions {
+ "-F" .. _OPTIONS["SDL_FRAMEWORK_PATH"],
+ }
+ else
+ defines {
+ "MACOSX_USE_LIBSDL",
+ }
+ buildoptions {
+ backtick(sdlconfigcmd() .. " --cflags | sed 's:/SDL2::'"),
+ }
+ end
+ end
+ else
+ buildoptions {
+ backtick(sdlconfigcmd() .. " --cflags"),
+ }
+ if _OPTIONS["targetos"]~="asmjs" then
+ buildoptions {
+ backtick(pkgconfigcmd() .. " --cflags fontconfig"),
+ }
+ end
+ end
+end
+
+if _OPTIONS["targetos"]=="windows" then
+ configuration { "mingw* or vs*" }
+ defines {
+ "UNICODE",
+ "_UNICODE",
+ "_WIN32_WINNT=0x0501",
+ "WIN32_LEAN_AND_MEAN",
+ "NOMINMAX",
+ }
+
+ configuration { }
+
+elseif _OPTIONS["targetos"]=="linux" then
+ if _OPTIONS["QT_HOME"]~=nil then
+ buildoptions {
+ "-I" .. backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_INSTALL_HEADERS"),
+ }
+ else
+ buildoptions {
+ backtick(pkgconfigcmd() .. " --cflags Qt5Widgets"),
+ }
+ end
+elseif _OPTIONS["targetos"]=="macosx" then
+ defines {
+ "SDLMAME_MACOSX",
+ "SDLMAME_DARWIN",
+ }
+elseif _OPTIONS["targetos"]=="freebsd" then
+ buildoptions {
+ -- /usr/local/include is not considered a system include director on FreeBSD. GL.h resides there and throws warnings
+ "-isystem /usr/local/include",
+ }
+end
+
+configuration { "osx*" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/osx",
+ }
+
+configuration { "freebsd" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/freebsd",
+ }
+
+configuration { "netbsd" }
+ includedirs {
+ MAME_DIR .. "3rdparty/bx/include/compat/freebsd",
+ }
+
+configuration { }
+
diff --git a/docs/release/scripts/src/osd/uwp.lua b/docs/release/scripts/src/osd/uwp.lua
new file mode 100644
index 00000000000..47e8e149e24
--- /dev/null
+++ b/docs/release/scripts/src/osd/uwp.lua
@@ -0,0 +1,121 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- uwp.lua
+--
+-- Rules for the building of UWP OSD
+--
+---------------------------------------------------------------------------
+
+dofile("modules.lua")
+
+function maintargetosdoptions(_target,_subtarget)
+end
+
+project ("qtdbg_" .. _OPTIONS["osd"])
+ uuid (os.uuid("qtdbg_" .. _OPTIONS["osd"]))
+ kind (LIBTYPE)
+
+ dofile("uwp_cfg.lua")
+ includedirs {
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/devices", -- accessing imagedev from debugger
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "src/osd/modules/render",
+ MAME_DIR .. "3rdparty",
+ }
+ removeflags {
+ "SingleOutputDir",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/modules/debugger/debugqt.cpp",
+ }
+
+project ("osd_" .. _OPTIONS["osd"])
+ uuid (os.uuid("osd_" .. _OPTIONS["osd"]))
+ kind (LIBTYPE)
+
+ removeflags {
+ "SingleOutputDir",
+ }
+
+ dofile("uwp_cfg.lua")
+ osdmodulesbuild()
+
+ includedirs {
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/devices", -- accessing imagedev from debugger
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "src/osd/modules/file",
+ MAME_DIR .. "src/osd/modules/render",
+ MAME_DIR .. "3rdparty",
+ }
+
+ includedirs {
+ MAME_DIR .. "src/osd/uwp",
+ MAME_DIR .. "src/osd/windows",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/uwp/video.cpp",
+ MAME_DIR .. "src/osd/uwp/video.h",
+ MAME_DIR .. "src/osd/uwp/window.cpp",
+ MAME_DIR .. "src/osd/uwp/window.h",
+ MAME_DIR .. "src/osd/windows/winutf8.cpp",
+ MAME_DIR .. "src/osd/windows/winutf8.h",
+ MAME_DIR .. "src/osd/modules/osdwindow.cpp",
+ MAME_DIR .. "src/osd/modules/osdwindow.h",
+ MAME_DIR .. "src/osd/windows/winmain.cpp",
+ MAME_DIR .. "src/osd/windows/winmain.h",
+ MAME_DIR .. "src/osd/modules/render/drawnone.cpp",
+ MAME_DIR .. "src/osd/modules/render/drawnone.h",
+ MAME_DIR .. "src/osd/uwp/uwpcompat.cpp",
+ MAME_DIR .. "src/osd/uwp/uwpcompat.h",
+ MAME_DIR .. "src/osd/osdepend.h",
+ }
+
+project ("ocore_" .. _OPTIONS["osd"])
+ uuid (os.uuid("ocore_" .. _OPTIONS["osd"]))
+ kind (LIBTYPE)
+
+ removeflags {
+ "SingleOutputDir",
+ }
+
+ dofile("uwp_cfg.lua")
+
+ includedirs {
+ MAME_DIR .. "3rdparty",
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/osd/modules/file",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/osdcomm.h",
+ MAME_DIR .. "src/osd/osdcore.cpp",
+ MAME_DIR .. "src/osd/osdcore.h",
+ MAME_DIR .. "src/osd/strconv.cpp",
+ MAME_DIR .. "src/osd/strconv.h",
+ MAME_DIR .. "src/osd/osdsync.cpp",
+ MAME_DIR .. "src/osd/osdsync.h",
+ MAME_DIR .. "src/osd/windows/winutil.cpp",
+ MAME_DIR .. "src/osd/windows/winutil.h",
+ MAME_DIR .. "src/osd/modules/osdmodule.cpp",
+ MAME_DIR .. "src/osd/modules/osdmodule.h",
+ MAME_DIR .. "src/osd/modules/file/winrtdir.cpp",
+ MAME_DIR .. "src/osd/modules/file/winrtfile.cpp",
+ MAME_DIR .. "src/osd/modules/file/winrtfile.h",
+ MAME_DIR .. "src/osd/modules/file/winrtptty.cpp",
+ MAME_DIR .. "src/osd/modules/file/winrtsocket.cpp",
+ MAME_DIR .. "src/osd/modules/lib/osdlib_uwp.cpp",
+ }
diff --git a/docs/release/scripts/src/osd/uwp_cfg.lua b/docs/release/scripts/src/osd/uwp_cfg.lua
new file mode 100644
index 00000000000..28892656728
--- /dev/null
+++ b/docs/release/scripts/src/osd/uwp_cfg.lua
@@ -0,0 +1,20 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+defines {
+ "OSD_UWP=1",
+ "USE_QTDEBUG=0",
+ "SDLMAME_NOASM=1",
+ "USE_OPENGL=0",
+ "NO_USE_MIDI=1",
+ "WINVER=0x0603",
+ "_WIN32_WINNT=0x0603",
+ "NTDDI_VERSION=0x06030000",
+ "MODERN_WIN_API",
+ "WIN32_LEAN_AND_MEAN",
+ "NOMINMAX",
+}
+
+flags {
+ "Unicode",
+}
diff --git a/docs/release/scripts/src/osd/windows.lua b/docs/release/scripts/src/osd/windows.lua
new file mode 100644
index 00000000000..ecb3030c683
--- /dev/null
+++ b/docs/release/scripts/src/osd/windows.lua
@@ -0,0 +1,291 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- windows.lua
+--
+-- Rules for the building for Windows
+--
+---------------------------------------------------------------------------
+
+dofile("modules.lua")
+
+
+function maintargetosdoptions(_target,_subtarget)
+ osdmodulestargetconf()
+
+ configuration { "mingw*" }
+ links {
+ "mingw32",
+ }
+
+ configuration { }
+
+ if _OPTIONS["DIRECTINPUT"] == "8" then
+ links {
+ "dinput8",
+ }
+ else
+ links {
+ "dinput",
+ }
+ end
+
+
+ if _OPTIONS["USE_SDL"] == "1" then
+ links {
+ "SDL.dll",
+ }
+ end
+
+ links {
+ "comctl32",
+ "comdlg32",
+ "psapi",
+ "ole32",
+ "shlwapi",
+ }
+end
+
+
+newoption {
+ trigger = "DIRECTINPUT",
+ description = "Minimum DirectInput version to support",
+ allowed = {
+ { "7", "Support DirectInput 7 or later" },
+ { "8", "Support DirectInput 8 or later" },
+ },
+}
+
+if not _OPTIONS["DIRECTINPUT"] then
+ _OPTIONS["DIRECTINPUT"] = "8"
+end
+
+newoption {
+ trigger = "USE_SDL",
+ description = "Enable SDL sound output",
+ allowed = {
+ { "0", "Disable SDL sound output" },
+ { "1", "Enable SDL sound output" },
+ },
+}
+
+if not _OPTIONS["USE_SDL"] then
+ _OPTIONS["USE_SDL"] = "0"
+end
+
+newoption {
+ trigger = "CYGWIN_BUILD",
+ description = "Build with Cygwin tools",
+ allowed = {
+ { "0", "Build with MinGW tools" },
+ { "1", "Build with Cygwin tools" },
+ },
+}
+
+if not _OPTIONS["CYGWIN_BUILD"] then
+ _OPTIONS["CYGWIN_BUILD"] = "0"
+end
+
+
+if _OPTIONS["CYGWIN_BUILD"] == "1" then
+ buildoptions {
+ "-mmo-cygwin",
+ }
+ linkoptions {
+ "-mno-cygwin",
+ }
+end
+
+
+project ("qtdbg_" .. _OPTIONS["osd"])
+ uuid (os.uuid("qtdbg_" .. _OPTIONS["osd"]))
+ kind (LIBTYPE)
+
+ dofile("windows_cfg.lua")
+ includedirs {
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/devices", -- accessing imagedev from debugger
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "src/osd/modules/render",
+ MAME_DIR .. "3rdparty",
+ }
+ qtdebuggerbuild()
+
+project ("osd_" .. _OPTIONS["osd"])
+ uuid (os.uuid("osd_" .. _OPTIONS["osd"]))
+ kind (LIBTYPE)
+
+ dofile("windows_cfg.lua")
+ osdmodulesbuild()
+
+ defines {
+ "DIRECT3D_VERSION=0x0900",
+ }
+
+ if _OPTIONS["DIRECTINPUT"] == "8" then
+ defines {
+ "DIRECTINPUT_VERSION=0x0800",
+ }
+ else
+ defines {
+ "DIRECTINPUT_VERSION=0x0700",
+ }
+ end
+
+ includedirs {
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/devices", -- accessing imagedev from debugger
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "src/osd/modules/file",
+ MAME_DIR .. "src/osd/modules/render",
+ MAME_DIR .. "3rdparty",
+ }
+
+ includedirs {
+ MAME_DIR .. "src/osd/windows",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/modules/render/d3d/d3dhlsl.cpp",
+ MAME_DIR .. "src/osd/modules/render/d3d/d3dcomm.h",
+ MAME_DIR .. "src/osd/modules/render/d3d/d3dhlsl.h",
+ MAME_DIR .. "src/osd/modules/render/drawd3d.cpp",
+ MAME_DIR .. "src/osd/modules/render/drawd3d.h",
+ MAME_DIR .. "src/osd/modules/render/drawgdi.cpp",
+ MAME_DIR .. "src/osd/modules/render/drawgdi.h",
+ MAME_DIR .. "src/osd/modules/render/drawnone.cpp",
+ MAME_DIR .. "src/osd/modules/render/drawnone.h",
+ MAME_DIR .. "src/osd/windows/video.cpp",
+ MAME_DIR .. "src/osd/windows/video.h",
+ MAME_DIR .. "src/osd/windows/window.cpp",
+ MAME_DIR .. "src/osd/windows/window.h",
+ MAME_DIR .. "src/osd/modules/osdwindow.cpp",
+ MAME_DIR .. "src/osd/modules/osdwindow.h",
+ MAME_DIR .. "src/osd/windows/winmenu.cpp",
+ MAME_DIR .. "src/osd/windows/winmain.cpp",
+ MAME_DIR .. "src/osd/windows/winmain.h",
+ MAME_DIR .. "src/osd/osdepend.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/consolewininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/consolewininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugbaseinfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugbaseinfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugviewinfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugviewinfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugwininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugwininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmbasewininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmbasewininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmviewinfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmviewinfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmwininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmwininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/editwininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/editwininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/logwininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/logwininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/logviewinfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/logviewinfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/memoryviewinfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/memoryviewinfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/memorywininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/memorywininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/pointswininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/pointswininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/uimetrics.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/uimetrics.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugwin.h",
+ }
+
+
+project ("ocore_" .. _OPTIONS["osd"])
+ uuid (os.uuid("ocore_" .. _OPTIONS["osd"]))
+ kind (LIBTYPE)
+
+ removeflags {
+ "SingleOutputDir",
+ }
+
+ dofile("windows_cfg.lua")
+
+ includedirs {
+ MAME_DIR .. "3rdparty",
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/osd/modules/file",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ }
+
+ BASE_TARGETOS = "win32"
+ SDLOS_TARGETOS = "win32"
+
+ includedirs {
+ MAME_DIR .. "src/osd/windows",
+ MAME_DIR .. "src/lib/winpcap",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/eigccppc.h",
+ MAME_DIR .. "src/osd/eigccx86.h",
+ MAME_DIR .. "src/osd/eivc.h",
+ MAME_DIR .. "src/osd/eivcx86.h",
+ MAME_DIR .. "src/osd/eminline.h",
+ MAME_DIR .. "src/osd/osdcomm.h",
+ MAME_DIR .. "src/osd/osdcore.cpp",
+ MAME_DIR .. "src/osd/osdcore.h",
+ MAME_DIR .. "src/osd/strconv.cpp",
+ MAME_DIR .. "src/osd/strconv.h",
+ MAME_DIR .. "src/osd/osdsync.cpp",
+ MAME_DIR .. "src/osd/osdsync.h",
+ MAME_DIR .. "src/osd/windows/main.cpp",
+ MAME_DIR .. "src/osd/windows/winutf8.cpp",
+ MAME_DIR .. "src/osd/windows/winutf8.h",
+ MAME_DIR .. "src/osd/windows/winutil.cpp",
+ MAME_DIR .. "src/osd/windows/winutil.h",
+ MAME_DIR .. "src/osd/modules/osdmodule.cpp",
+ MAME_DIR .. "src/osd/modules/osdmodule.h",
+ MAME_DIR .. "src/osd/modules/file/windir.cpp",
+ MAME_DIR .. "src/osd/modules/file/winfile.cpp",
+ MAME_DIR .. "src/osd/modules/file/winfile.h",
+ MAME_DIR .. "src/osd/modules/file/winptty.cpp",
+ MAME_DIR .. "src/osd/modules/file/winsocket.cpp",
+ MAME_DIR .. "src/osd/modules/lib/osdlib_win32.cpp",
+ }
+
+
+
+--------------------------------------------------
+-- ledutil
+--------------------------------------------------
+
+if _OPTIONS["with-tools"] then
+ project("ledutil")
+ uuid ("061293ca-7290-44ac-b2b5-5913ae8dc9c0")
+ kind "ConsoleApp"
+
+ flags {
+ "Symbols", -- always include minimum symbols for executables
+ }
+
+ if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+ end
+
+ links {
+ "ocore_" .. _OPTIONS["osd"],
+ }
+
+ includedirs {
+ MAME_DIR .. "src/osd",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/windows/ledutil.cpp",
+ }
+end
diff --git a/docs/release/scripts/src/osd/windows_cfg.lua b/docs/release/scripts/src/osd/windows_cfg.lua
new file mode 100644
index 00000000000..2735e4df4f0
--- /dev/null
+++ b/docs/release/scripts/src/osd/windows_cfg.lua
@@ -0,0 +1,59 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+defines {
+ "OSD_WINDOWS",
+ "WIN32_LEAN_AND_MEAN",
+ "NOMINMAX",
+}
+
+configuration { "mingw* or vs*" }
+ defines {
+ "UNICODE",
+ "_UNICODE"
+ }
+
+configuration { "vs*" }
+ flags {
+ "Unicode",
+ }
+
+configuration { }
+
+if not _OPTIONS["MODERN_WIN_API"] then
+ _OPTIONS["MODERN_WIN_API"] = "0"
+end
+
+if _OPTIONS["MODERN_WIN_API"]=="1" then
+ defines {
+ "WINVER=0x0602",
+ "_WIN32_WINNT=0x0602",
+ "NTDDI_VERSION=0x06030000",
+ "MODERN_WIN_API",
+ }
+else
+ defines {
+ "_WIN32_WINNT=0x0501",
+ }
+end
+
+if not _OPTIONS["DONT_USE_NETWORK"] then
+ defines {
+ "USE_NETWORK",
+ "OSD_NET_USE_PCAP",
+ "OSD_NET_USE_TAPTUN",
+ }
+end
+
+if _OPTIONS["USE_SDL"]=="1" then
+ defines {
+ "SDLMAME_SDL2=1",
+ "USE_XINPUT=0",
+ "USE_SDL=1",
+ "USE_SDL_SOUND",
+ }
+else
+ defines {
+ "USE_SDL=0",
+ }
+end
diff --git a/docs/release/scripts/src/osd/winui.lua b/docs/release/scripts/src/osd/winui.lua
new file mode 100644
index 00000000000..b9aa0b86871
--- /dev/null
+++ b/docs/release/scripts/src/osd/winui.lua
@@ -0,0 +1,320 @@
+-- license:BSD-3-Clause
+-- copyright-holders:Robbbert
+
+---------------------------------------------------------------------------
+--
+-- winui.lua
+--
+-- Rules for the building for Windows
+--
+---------------------------------------------------------------------------
+
+dofile("modules.lua")
+
+premake.make.linkoptions_after = false;
+
+function maintargetosdoptions(_target,_subtarget)
+ kind "WindowedApp"
+
+ osdmodulestargetconf()
+
+ configuration { "mingw*-gcc" }
+ linkoptions {
+ "-municode",
+ "-lmingw32",
+ "-Wl,--allow-multiple-definition",
+ }
+
+ configuration { "x64", "Release" }
+ targetsuffix "ui64"
+
+ configuration { "x64", "Debug" }
+ targetsuffix "ui64d"
+
+ configuration { "x32", "Release" }
+ targetsuffix "ui"
+
+ configuration { "x32", "Debug" }
+ targetsuffix "uid"
+
+ configuration { "Native", "Release" }
+ targetsuffix "ui"
+
+ configuration { "Native", "Debug" }
+ targetsuffix "uid"
+
+ configuration { }
+
+ if _OPTIONS["DIRECTINPUT"] == "8" then
+ links {
+ "dinput8",
+ }
+ else
+ links {
+ "dinput",
+ }
+ end
+
+ links {
+ "comctl32",
+ "comdlg32",
+ "psapi",
+ "ole32",
+ }
+
+-- Local file gives correct icon in mame instance inside of mameui
+-- Local file must #include mameui.rc
+ override_resources = true;
+ rctarget = _target;
+ local rcfile = MAME_DIR .. "src/osd/winui/" .. _target .. ".rc"
+ local uifile = MAME_DIR .. "src/osd/winui/hbmameui.rc"
+
+ if not os.isfile(rcfile) then
+ print(string.format("***** %s not found *****",rcfile))
+ os.exit();
+ end
+
+ if not os.isfile(uifile) then
+ print(string.format("***** %s not found *****",uifile))
+ os.exit();
+ end
+
+ files {
+ rcfile,
+ }
+ dependency {
+ { "$(OBJDIR)/".._target ..".res" , GEN_DIR .. "/resource/" .. _target .. "vers.rc", true },
+ }
+end
+
+
+newoption {
+ trigger = "DIRECTINPUT",
+ description = "Minimum DirectInput version to support",
+ allowed = {
+ { "7", "Support DirectInput 7 or later" },
+ { "8", "Support DirectInput 8 or later" },
+ },
+}
+
+if not _OPTIONS["DIRECTINPUT"] then
+ _OPTIONS["DIRECTINPUT"] = "8"
+end
+
+
+project ("qtdbg_" .. _OPTIONS["osd"])
+ uuid (os.uuid("qtdbg_" .. _OPTIONS["osd"]))
+ kind (LIBTYPE)
+
+ dofile("winui_cfg.lua")
+ includedirs {
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/devices", -- accessing imagedev from debugger
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "src/osd/modules/render",
+ MAME_DIR .. "3rdparty",
+ }
+ qtdebuggerbuild()
+
+project ("osd_" .. _OPTIONS["osd"])
+ uuid (os.uuid("osd_" .. _OPTIONS["osd"]))
+ kind "StaticLib"
+
+ dofile("winui_cfg.lua")
+ osdmodulesbuild()
+
+ defines {
+ "DIRECT3D_VERSION=0x0900",
+ }
+
+ if _OPTIONS["DIRECTINPUT"] == "8" then
+ defines {
+ "DIRECTINPUT_VERSION=0x0800",
+ }
+ else
+ defines {
+ "DIRECTINPUT_VERSION=0x0700",
+ }
+ end
+
+ includedirs {
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/devices",
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "src/osd/modules/file",
+ MAME_DIR .. "src/osd/modules/render",
+ MAME_DIR .. "3rdparty",
+ MAME_DIR .. "src/frontend/mame",
+ MAME_DIR .. "src/osd/windows",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/modules/render/d3d/d3dintf.h",
+ MAME_DIR .. "src/osd/modules/render/d3d/d3dhlsl.cpp",
+ MAME_DIR .. "src/osd/modules/render/d3d/d3dcomm.h",
+ MAME_DIR .. "src/osd/modules/render/d3d/d3dhlsl.h",
+ MAME_DIR .. "src/osd/modules/render/drawd3d.cpp",
+ MAME_DIR .. "src/osd/modules/render/drawd3d.h",
+ MAME_DIR .. "src/osd/modules/render/drawgdi.cpp",
+ MAME_DIR .. "src/osd/modules/render/drawgdi.h",
+ MAME_DIR .. "src/osd/modules/render/drawnone.cpp",
+ MAME_DIR .. "src/osd/modules/render/drawnone.h",
+ MAME_DIR .. "src/osd/windows/video.cpp",
+ MAME_DIR .. "src/osd/windows/video.h",
+ MAME_DIR .. "src/osd/windows/window.cpp",
+ MAME_DIR .. "src/osd/windows/window.h",
+ MAME_DIR .. "src/osd/modules/osdwindow.cpp",
+ MAME_DIR .. "src/osd/modules/osdwindow.h",
+ MAME_DIR .. "src/osd/windows/winmain.cpp",
+ MAME_DIR .. "src/osd/windows/winmain.h",
+ MAME_DIR .. "src/osd/osdepend.h",
+ MAME_DIR .. "src/osd/windows/winmenu.cpp",
+-- MAME_DIR .. "src/osd/winui/newui.cpp",
+ MAME_DIR .. "src/osd/windows/winmain.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/consolewininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/consolewininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugbaseinfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugbaseinfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugviewinfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugviewinfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugwininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugwininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmbasewininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmbasewininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmviewinfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmviewinfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmwininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/disasmwininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/editwininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/editwininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/logviewinfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/logviewinfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/logwininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/logwininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/memoryviewinfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/memoryviewinfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/memorywininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/memorywininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/pointswininfo.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/pointswininfo.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/uimetrics.cpp",
+ MAME_DIR .. "src/osd/modules/debugger/win/uimetrics.h",
+ MAME_DIR .. "src/osd/modules/debugger/win/debugwin.h",
+ MAME_DIR .. "src/osd/winui/bitmask.cpp",
+ MAME_DIR .. "src/osd/winui/columnedit.cpp",
+ MAME_DIR .. "src/osd/winui/datamap.cpp",
+ MAME_DIR .. "src/osd/winui/dialogs.cpp",
+ MAME_DIR .. "src/osd/winui/dijoystick.cpp",
+-- MAME_DIR .. "src/osd/winui/directdraw.cpp",
+ MAME_DIR .. "src/osd/winui/directinput.cpp",
+ MAME_DIR .. "src/osd/winui/directories.cpp",
+ MAME_DIR .. "src/osd/winui/dirwatch.cpp",
+-- MAME_DIR .. "src/osd/winui/dxdecode.cpp",
+ MAME_DIR .. "src/osd/winui/help.cpp",
+ MAME_DIR .. "src/osd/winui/helpids.cpp",
+ MAME_DIR .. "src/osd/winui/history.cpp",
+ MAME_DIR .. "src/osd/winui/layout.cpp",
+ MAME_DIR .. "src/osd/winui/mui_audit.cpp",
+ MAME_DIR .. "src/osd/winui/mui_main.cpp",
+ MAME_DIR .. "src/osd/winui/mui_opts.cpp",
+ MAME_DIR .. "src/osd/winui/mui_util.cpp",
+ MAME_DIR .. "src/osd/winui/picker.cpp",
+ MAME_DIR .. "src/osd/winui/properties.cpp",
+ MAME_DIR .. "src/osd/winui/resource.h",
+ MAME_DIR .. "src/osd/winui/screenshot.cpp",
+ MAME_DIR .. "src/osd/winui/splitters.cpp",
+ MAME_DIR .. "src/osd/winui/tabview.cpp",
+ MAME_DIR .. "src/osd/winui/treeview.cpp",
+ MAME_DIR .. "src/osd/winui/winui.cpp",
+ }
+
+project ("ocore_" .. _OPTIONS["osd"])
+ uuid (os.uuid("ocore_" .. _OPTIONS["osd"]))
+ kind "StaticLib"
+
+ options {
+ "ForceCPP",
+ }
+ removeflags {
+ "SingleOutputDir",
+ }
+
+ dofile("windows_cfg.lua")
+
+ includedirs {
+ MAME_DIR .. "3rdparty",
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/osd/modules/file",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ }
+
+ BASE_TARGETOS = "win32"
+ SDLOS_TARGETOS = "win32"
+ SYNC_IMPLEMENTATION = "windows"
+
+ includedirs {
+ MAME_DIR .. "src/osd/windows",
+ MAME_DIR .. "src/lib/winpcap",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/eigccppc.h",
+ MAME_DIR .. "src/osd/eigccx86.h",
+ MAME_DIR .. "src/osd/eivc.h",
+ MAME_DIR .. "src/osd/eivcx86.h",
+ MAME_DIR .. "src/osd/eminline.h",
+ MAME_DIR .. "src/osd/osdcomm.h",
+ MAME_DIR .. "src/osd/osdcore.cpp",
+ MAME_DIR .. "src/osd/osdcore.h",
+ MAME_DIR .. "src/osd/strconv.cpp",
+ MAME_DIR .. "src/osd/strconv.h",
+ MAME_DIR .. "src/osd/windows/main.cpp",
+ MAME_DIR .. "src/osd/osdsync.cpp",
+ MAME_DIR .. "src/osd/osdsync.h",
+ MAME_DIR .. "src/osd/windows/winutf8.cpp",
+ MAME_DIR .. "src/osd/windows/winutf8.h",
+ MAME_DIR .. "src/osd/windows/winutil.cpp",
+ MAME_DIR .. "src/osd/windows/winutil.h",
+ MAME_DIR .. "src/osd/modules/osdmodule.cpp",
+ MAME_DIR .. "src/osd/modules/osdmodule.h",
+ MAME_DIR .. "src/osd/modules/file/windir.cpp",
+ MAME_DIR .. "src/osd/modules/file/winfile.cpp",
+ MAME_DIR .. "src/osd/modules/file/winfile.h",
+ MAME_DIR .. "src/osd/modules/file/winptty.cpp",
+ MAME_DIR .. "src/osd/modules/file/winsocket.cpp",
+ MAME_DIR .. "src/osd/modules/lib/osdlib_win32.cpp",
+ }
+
+
+--------------------------------------------------
+-- ledutil
+--------------------------------------------------
+
+if _OPTIONS["with-tools"] then
+ project("ledutil")
+ uuid ("061293ca-7290-44ac-b2b5-5913ae8dc9c0")
+ kind "ConsoleApp"
+
+ if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+ end
+
+ links {
+ "ocore_" .. _OPTIONS["osd"],
+ }
+
+ includedirs {
+ MAME_DIR .. "src/osd",
+ }
+
+ files {
+ MAME_DIR .. "src/osd/windows/ledutil.cpp",
+ }
+end
+
diff --git a/docs/release/scripts/src/osd/winui_cfg.lua b/docs/release/scripts/src/osd/winui_cfg.lua
new file mode 100644
index 00000000000..20c6034a2e1
--- /dev/null
+++ b/docs/release/scripts/src/osd/winui_cfg.lua
@@ -0,0 +1,26 @@
+defines {
+ "UNICODE",
+ "_UNICODE",
+ "OSD_WINDOWS",
+ "USE_SDL=0",
+ --"WIN95_MULTIMON"
+ "_WIN32_WINNT=0x0501",
+ "USE_QTDEBUG=0",
+ "WIN32_LEAN_AND_MEAN",
+ "NOMINMAX",
+}
+
+configuration { "vs*" }
+ flags {
+ "Unicode",
+ }
+
+configuration { }
+
+if not _OPTIONS["DONT_USE_NETWORK"] then
+ defines {
+ "USE_NETWORK",
+ "OSD_NET_USE_PCAP",
+ }
+end
+
diff --git a/docs/release/scripts/src/sound.lua b/docs/release/scripts/src/sound.lua
new file mode 100644
index 00000000000..6f83f86aae3
--- /dev/null
+++ b/docs/release/scripts/src/sound.lua
@@ -0,0 +1,1543 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- sound.lua
+--
+-- Rules for building sound cores
+--
+----------------------------------------------------------------------------
+
+files {
+ MAME_DIR .. "src/devices/sound/flt_vol.cpp",
+ MAME_DIR .. "src/devices/sound/flt_vol.h",
+ MAME_DIR .. "src/devices/sound/flt_rc.cpp",
+ MAME_DIR .. "src/devices/sound/flt_rc.h",
+ MAME_DIR .. "src/devices/sound/samples.cpp",
+ MAME_DIR .. "src/devices/sound/samples.h",
+}
+
+---------------------------------------------------
+-- DACs
+--@src/devices/sound/dac.h,SOUNDS["DAC"] = true
+--@src/devices/sound/dmadac.h,SOUNDS["DMADAC"] = true
+--@src/devices/sound/spkrdev.h,SOUNDS["SPEAKER"] = true
+--@src/devices/sound/beep.h,SOUNDS["BEEP"] = true
+---------------------------------------------------
+
+if (SOUNDS["DAC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/dac.cpp",
+ MAME_DIR .. "src/devices/sound/dac.h",
+ }
+end
+
+if (SOUNDS["DMADAC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/dmadac.cpp",
+ MAME_DIR .. "src/devices/sound/dmadac.h",
+ }
+end
+
+if (SOUNDS["SPEAKER"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/spkrdev.cpp",
+ MAME_DIR .. "src/devices/sound/spkrdev.h",
+ }
+end
+
+if (SOUNDS["BEEP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/beep.cpp",
+ MAME_DIR .. "src/devices/sound/beep.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- CD audio
+--@src/devices/sound/cdda.h,SOUNDS["CDDA"] = true
+---------------------------------------------------
+
+if (SOUNDS["CDDA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/cdda.cpp",
+ MAME_DIR .. "src/devices/sound/cdda.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Discrete component audio
+--@src/devices/sound/discrete.h,SOUNDS["DISCRETE"] = true
+---------------------------------------------------
+
+if (SOUNDS["DISCRETE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/discrete.cpp",
+ MAME_DIR .. "src/devices/sound/discrete.h",
+ MAME_DIR .. "src/devices/sound/disc_cls.h",
+ MAME_DIR .. "src/devices/sound/disc_dev.h",
+ MAME_DIR .. "src/devices/sound/disc_dev.hxx",
+ MAME_DIR .. "src/devices/sound/disc_flt.h",
+ MAME_DIR .. "src/devices/sound/disc_flt.hxx",
+ MAME_DIR .. "src/devices/sound/disc_inp.hxx",
+ MAME_DIR .. "src/devices/sound/disc_mth.h",
+ MAME_DIR .. "src/devices/sound/disc_mth.hxx",
+ MAME_DIR .. "src/devices/sound/disc_sys.hxx",
+ MAME_DIR .. "src/devices/sound/disc_wav.h",
+ MAME_DIR .. "src/devices/sound/disc_wav.hxx",
+ }
+end
+
+---------------------------------------------------
+-- AC97
+--@src/devices/sound/pci-ac97.h,SOUNDS["AC97"] = true
+---------------------------------------------------
+
+if (SOUNDS["AC97"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/pci-ac97.cpp",
+ MAME_DIR .. "src/devices/sound/pci-ac97.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Apple custom sound chips
+--@src/devices/sound/asc.h,SOUNDS["ASC"] = true
+--@src/devices/sound/awacs.h,SOUNDS["AWACS"] = true
+---------------------------------------------------
+
+if (SOUNDS["ASC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/asc.cpp",
+ MAME_DIR .. "src/devices/sound/asc.h",
+ }
+end
+
+if (SOUNDS["AWACS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/awacs.cpp",
+ MAME_DIR .. "src/devices/sound/awacs.h",
+ }
+end
+
+
+---------------------------------------------------
+-- Atari custom sound chips
+--@src/devices/sound/pokey.h,SOUNDS["POKEY"] = true
+--@src/devices/sound/tiaintf.h,SOUNDS["TIA"] = true
+---------------------------------------------------
+
+if (SOUNDS["POKEY"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/pokey.cpp",
+ MAME_DIR .. "src/devices/sound/pokey.h",
+ }
+end
+
+if (SOUNDS["TIA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/tiasound.cpp",
+ MAME_DIR .. "src/devices/sound/tiasound.h",
+ MAME_DIR .. "src/devices/sound/tiaintf.cpp",
+ MAME_DIR .. "src/devices/sound/tiaintf.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Amiga audio hardware
+--@src/devices/machine/8364_paula.h,SOUNDS["PAULA_8364"] = true
+---------------------------------------------------
+
+if (SOUNDS["PAULA_8364"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/8364_paula.cpp",
+ MAME_DIR .. "src/devices/machine/8364_paula.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Bally Astrocade sound system
+--@src/devices/sound/astrocde.h,SOUNDS["ASTROCADE"] = true
+---------------------------------------------------
+
+if (SOUNDS["ASTROCADE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/astrocde.cpp",
+ MAME_DIR .. "src/devices/sound/astrocde.h",
+ }
+end
+
+
+
+---------------------------------------------------
+---------------------------------------------------
+-- AC97
+--@src/devices/sound/pic-ac97.h,SOUNDS["AC97"] = true
+---------------------------------------------------
+
+if (SOUNDS["AC97"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/pci-ac97.cpp",
+ MAME_DIR .. "src/devices/sound/pci-ac97.h",
+ }
+end
+-- CEM 3394 analog synthesizer chip
+--@src/devices/sound/cem3394.h,SOUNDS["CEM3394"] = true
+---------------------------------------------------
+
+if (SOUNDS["CEM3394"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/cem3394.cpp",
+ MAME_DIR .. "src/devices/sound/cem3394.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Creative Labs SB0400 Audigy2 Value
+--@src/devices/sound/sb0400.h,SOUNDS["SB0400"] = true
+---------------------------------------------------
+
+if (SOUNDS["SB0400"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/sb0400.cpp",
+ MAME_DIR .. "src/devices/sound/sb0400.h",
+ }
+end
+
+
+--------------------------------------------------
+-- Creative Labs Ensonic AudioPCI97 ES1373
+--@src/devices/sound/es1373.h,SOUNDS["ES1373"] = true
+--------------------------------------------------
+
+if (SOUNDS["ES1373"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/es1373.cpp",
+ MAME_DIR .. "src/devices/sound/es1373.h",
+ }
+end
+
+---------------------------------------------------
+-- Data East custom sound chips
+--@src/devices/sound/bsmt2000.h,SOUNDS["BSMT2000"] = true
+---------------------------------------------------
+
+if (SOUNDS["BSMT2000"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/bsmt2000.cpp",
+ MAME_DIR .. "src/devices/sound/bsmt2000.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Ensoniq 5503 (Apple IIgs)
+--@src/devices/sound/es5503.h,SOUNDS["ES5503"] = true
+---------------------------------------------------
+
+if (SOUNDS["ES5503"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/es5503.cpp",
+ MAME_DIR .. "src/devices/sound/es5503.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Ensoniq 5505/5506
+--@src/devices/sound/es5506.h,SOUNDS["ES5505"] = true
+---------------------------------------------------
+
+if (SOUNDS["ES5505"]~=null or SOUNDS["ES5506"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/es5506.cpp",
+ MAME_DIR .. "src/devices/sound/es5506.h",
+ }
+end
+
+
+---------------------------------------------------
+-- Ensoniq "pump" device, interfaces 5505/5506 with 5510
+--@src/devices/sound/esqpump.h,SOUNDS["ESQPUMP"] = true
+---------------------------------------------------
+
+if (SOUNDS["ESQPUMP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/esqpump.cpp",
+ MAME_DIR .. "src/devices/sound/esqpump.h",
+ }
+end
+
+
+---------------------------------------------------
+-- Excellent Systems ADPCM sound chip
+--@src/devices/sound/es8712.h,SOUNDS["ES8712"] = true
+---------------------------------------------------
+
+if (SOUNDS["ES8712"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/es8712.cpp",
+ MAME_DIR .. "src/devices/sound/es8712.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Gaelco custom sound chips
+--@src/devices/sound/gaelco.h,SOUNDS["GAELCO_CG1V"] = true
+---------------------------------------------------
+
+if (SOUNDS["GAELCO_CG1V"]~=null or SOUNDS["GAELCO_GAE1"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/gaelco.cpp",
+ MAME_DIR .. "src/devices/sound/gaelco.h",
+ }
+end
+
+
+---------------------------------------------------
+-- RCA CDP1863
+--@src/devices/sound/cdp1863.h,SOUNDS["CDP1863"] = true
+---------------------------------------------------
+
+if (SOUNDS["CDP1863"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/cdp1863.cpp",
+ MAME_DIR .. "src/devices/sound/cdp1863.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- RCA CDP1864
+--@src/devices/sound/cdp1864.h,SOUNDS["CDP1864"] = true
+---------------------------------------------------
+
+if (SOUNDS["CDP1864"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/cdp1864.cpp",
+ MAME_DIR .. "src/devices/sound/cdp1864.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- RCA CDP1869
+--@src/devices/sound/cdp1869.h,SOUNDS["CDP1869"] = true
+---------------------------------------------------
+
+if (SOUNDS["CDP1869"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/cdp1869.cpp",
+ MAME_DIR .. "src/devices/sound/cdp1869.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- GI AY-8910
+--@src/devices/sound/ay8910.h,SOUNDS["AY8910"] = true
+---------------------------------------------------
+
+if (SOUNDS["AY8910"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/ay8910.cpp",
+ MAME_DIR .. "src/devices/sound/ay8910.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Harris HC55516 CVSD
+--@src/devices/sound/hc55516.h,SOUNDS["HC55516"] = true
+---------------------------------------------------
+
+if (SOUNDS["HC55516"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/hc55516.cpp",
+ MAME_DIR .. "src/devices/sound/hc55516.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Hudsonsoft HuC6230 SoundBox
+--@src/devices/sound/huc6230.h,SOUNDS["HUC6230"] = true
+---------------------------------------------------
+
+if (SOUNDS["HUC6230"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/huc6230.cpp",
+ MAME_DIR .. "src/devices/sound/huc6230.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Hudsonsoft C6280 sound chip
+--@src/devices/sound/c6280.h,SOUNDS["C6280"] = true
+---------------------------------------------------
+
+if (SOUNDS["C6280"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/c6280.cpp",
+ MAME_DIR .. "src/devices/sound/c6280.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- ICS2115 sound chip
+--@src/devices/sound/ics2115.h,SOUNDS["ICS2115"] = true
+---------------------------------------------------
+
+if (SOUNDS["ICS2115"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/ics2115.cpp",
+ MAME_DIR .. "src/devices/sound/ics2115.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Imagetek I5000 sound
+--@src/devices/sound/i5000.h,SOUNDS["I5000_SND"] = true
+---------------------------------------------------
+
+if (SOUNDS["I5000_SND"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/i5000.cpp",
+ MAME_DIR .. "src/devices/sound/i5000.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Irem custom sound chips
+--@src/devices/sound/iremga20.h,SOUNDS["IREMGA20"] = true
+---------------------------------------------------
+
+if (SOUNDS["IREMGA20"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/iremga20.cpp",
+ MAME_DIR .. "src/devices/sound/iremga20.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Konami custom sound chips
+--@src/devices/sound/k005289.h,SOUNDS["K005289"] = true
+--@src/devices/sound/k007232.h,SOUNDS["K007232"] = true
+--@src/devices/sound/k051649.h,SOUNDS["K051649"] = true
+--@src/devices/sound/k053260.h,SOUNDS["K053260"] = true
+--@src/devices/sound/k054539.h,SOUNDS["K054539"] = true
+--@src/devices/sound/k056800.h,SOUNDS["K056800"] = true
+---------------------------------------------------
+
+if (SOUNDS["K005289"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/k005289.cpp",
+ MAME_DIR .. "src/devices/sound/k005289.h",
+ }
+end
+
+if (SOUNDS["K007232"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/k007232.cpp",
+ MAME_DIR .. "src/devices/sound/k007232.h",
+ }
+end
+
+if (SOUNDS["K051649"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/k051649.cpp",
+ MAME_DIR .. "src/devices/sound/k051649.h",
+ }
+end
+
+if (SOUNDS["K053260"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/k053260.cpp",
+ MAME_DIR .. "src/devices/sound/k053260.h",
+ }
+end
+
+if (SOUNDS["K054539"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/k054539.cpp",
+ MAME_DIR .. "src/devices/sound/k054539.h",
+ }
+end
+
+if (SOUNDS["K056800"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/k056800.cpp",
+ MAME_DIR .. "src/devices/sound/k056800.h",
+ }
+end
+
+
+---------------------------------------------------
+-- L7A1045 L6028 DSP-A
+--@src/devices/sound/l7a1045_l6028_dsp_a.h,SOUNDS["L7A1045"] = true
+---------------------------------------------------
+
+if (SOUNDS["L7A1045"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/l7a1045_l6028_dsp_a.cpp",
+ MAME_DIR .. "src/devices/sound/l7a1045_l6028_dsp_a.h",
+ }
+end
+
+
+---------------------------------------------------
+-- LMC1992 mixer chip
+--@src/devices/sound/lmc1992.h,SOUNDS["LMC1992"] = true
+---------------------------------------------------
+
+if (SOUNDS["LMC1992"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/lmc1992.cpp",
+ MAME_DIR .. "src/devices/sound/lmc1992.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- MAS 3507D MPEG 1/2 Layer 2/3 Audio Decoder
+--@src/devices/sound/mas3507d.h,SOUNDS["MAS3507D"] = true
+---------------------------------------------------
+
+if (SOUNDS["MAS3507D"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/mas3507d.cpp",
+ MAME_DIR .. "src/devices/sound/mas3507d.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- MEA8000 Voice Synthesizer
+--@src/devices/sound/mea8000.h,SOUNDS["MEA8000"] = true
+---------------------------------------------------
+
+if (SOUNDS["MEA8000"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/mea8000.cpp",
+ MAME_DIR .. "src/devices/sound/mea8000.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- MOS 6560VIC
+--@src/devices/sound/mos6560.h,SOUNDS["MOS656X"] = true
+---------------------------------------------------
+
+if (SOUNDS["MOS656X"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/mos6560.cpp",
+ MAME_DIR .. "src/devices/sound/mos6560.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- MOS 7360 TED
+--@src/devices/sound/mos7360.h,SOUNDS["MOS7360"] = true
+---------------------------------------------------
+
+if (SOUNDS["MOS7360"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/mos7360.cpp",
+ MAME_DIR .. "src/devices/sound/mos7360.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Namco custom sound chips
+--@src/devices/sound/namco.h,SOUNDS["NAMCO"] = true
+--@src/devices/sound/namco_163.h,SOUNDS["NAMCO_163"] = true
+--@src/devices/sound/n63701x.h,SOUNDS["NAMCO_63701X"] = true
+--@src/devices/sound/c140.h,SOUNDS["C140"] = true
+--@src/devices/sound/c352.h,SOUNDS["C352"] = true
+---------------------------------------------------
+
+if (SOUNDS["NAMCO"]~=null or SOUNDS["NAMCO_15XX"]~=null or SOUNDS["NAMCO_CUS30"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/namco.cpp",
+ MAME_DIR .. "src/devices/sound/namco.h",
+ }
+end
+
+if (SOUNDS["NAMCO_163"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/namco_163.cpp",
+ MAME_DIR .. "src/devices/sound/namco_163.h",
+ }
+end
+
+if (SOUNDS["NAMCO_63701X"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/n63701x.cpp",
+ MAME_DIR .. "src/devices/sound/n63701x.h",
+ }
+end
+
+if (SOUNDS["C140"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/c140.cpp",
+ MAME_DIR .. "src/devices/sound/c140.h",
+ }
+end
+
+if (SOUNDS["C352"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/c352.cpp",
+ MAME_DIR .. "src/devices/sound/c352.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- National Semiconductor Digitalker
+--@src/devices/sound/digitalk.h,SOUNDS["DIGITALKER"] = true
+---------------------------------------------------
+
+if (SOUNDS["DIGITALKER"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/digitalk.cpp",
+ MAME_DIR .. "src/devices/sound/digitalk.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Nintendo custom sound chips
+--@src/devices/sound/nes_apu.h,SOUNDS["NES_APU"] = true
+---------------------------------------------------
+
+if (SOUNDS["NES_APU"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/nes_apu.cpp",
+ MAME_DIR .. "src/devices/sound/nes_apu.h",
+ MAME_DIR .. "src/devices/sound/nes_defs.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- NEC uPD7759 ADPCM sample player
+--@src/devices/sound/upd7759.h,SOUNDS["UPD7759"] = true
+---------------------------------------------------
+
+if (SOUNDS["UPD7759"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/upd7759.cpp",
+ MAME_DIR .. "src/devices/sound/upd7759.h",
+ MAME_DIR .. "src/devices/sound/315-5641.cpp",
+ MAME_DIR .. "src/devices/sound/315-5641.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- OKI ADPCM sample players
+--@src/devices/sound/okim6258.h,SOUNDS["OKIM6258"] = true
+--@src/devices/sound/msm5205.h,SOUNDS["MSM5205"] = true
+--@src/devices/sound/msm5232.h,SOUNDS["MSM5232"] = true
+--@src/devices/sound/okim6376.h,SOUNDS["OKIM6376"] = true
+--@src/devices/sound/okim6295.h,SOUNDS["OKIM6295"] = true
+--@src/devices/sound/okim9810.h,SOUNDS["OKIM9810"] = true
+--@src/devices/sound/okiadpcm.h,SOUNDS["OKIADPCM"] = true
+---------------------------------------------------
+
+if (SOUNDS["OKIM6258"]~=null or SOUNDS["OKIM6295"]~=null or SOUNDS["OKIM9810"]~=null or SOUNDS["I5000_SND"]~=null or SOUNDS["OKIADPCM"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/okiadpcm.cpp",
+ MAME_DIR .. "src/devices/sound/okiadpcm.h",
+ }
+end
+
+if (SOUNDS["MSM5205"]~=null or SOUNDS["MSM6585"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/msm5205.cpp",
+ MAME_DIR .. "src/devices/sound/msm5205.h",
+ }
+end
+
+if (SOUNDS["MSM5232"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/msm5232.cpp",
+ MAME_DIR .. "src/devices/sound/msm5232.h",
+ }
+end
+
+if (SOUNDS["OKIM6376"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/okim6376.cpp",
+ MAME_DIR .. "src/devices/sound/okim6376.h",
+ }
+end
+
+if (SOUNDS["OKIM6295"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/okim6295.cpp",
+ MAME_DIR .. "src/devices/sound/okim6295.h",
+ }
+end
+
+if (SOUNDS["OKIM6258"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/okim6258.cpp",
+ MAME_DIR .. "src/devices/sound/okim6258.h",
+ }
+end
+
+if (SOUNDS["OKIM9810"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/okim9810.cpp",
+ MAME_DIR .. "src/devices/sound/okim9810.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Philips SAA1099
+--@src/devices/sound/saa1099.h,SOUNDS["SAA1099"] = true
+---------------------------------------------------
+
+if (SOUNDS["SAA1099"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/saa1099.cpp",
+ MAME_DIR .. "src/devices/sound/saa1099.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- AdMOS QS1000
+--@src/devices/sound/qs1000.h,SOUNDS["QS1000"] = true
+---------------------------------------------------
+
+if (SOUNDS["QS1000"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/qs1000.cpp",
+ MAME_DIR .. "src/devices/sound/qs1000.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- QSound sample player
+--@src/devices/sound/qsound.h,SOUNDS["QSOUND"] = true
+---------------------------------------------------
+
+if (SOUNDS["QSOUND"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/qsound.cpp",
+ MAME_DIR .. "src/devices/sound/qsound.h",
+ MAME_DIR .. "src/devices/sound/qsoundhle.cpp",
+ MAME_DIR .. "src/devices/sound/qsoundhle.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Ricoh sample players
+--@src/devices/sound/rf5c68.h,SOUNDS["RF5C68"] = true
+--@src/devices/sound/rf5c400.h,SOUNDS["RF5C400"] = true
+---------------------------------------------------
+
+if (SOUNDS["RF5C68"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/rf5c68.cpp",
+ MAME_DIR .. "src/devices/sound/rf5c68.h",
+ }
+end
+
+if (SOUNDS["RF5C400"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/rf5c400.cpp",
+ MAME_DIR .. "src/devices/sound/rf5c400.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Sega custom sound chips
+--@src/devices/sound/segapcm.h,SOUNDS["SEGAPCM"] = true
+--@src/devices/sound/multipcm.h,SOUNDS["MULTIPCM"] = true
+--@src/devices/sound/scsp.h,SOUNDS["SCSP"] = true
+--@src/devices/sound/aica.h,SOUNDS["AICA"] = true
+---------------------------------------------------
+
+if (SOUNDS["SEGAPCM"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/segapcm.cpp",
+ MAME_DIR .. "src/devices/sound/segapcm.h",
+ }
+end
+
+if (SOUNDS["MULTIPCM"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/multipcm.cpp",
+ MAME_DIR .. "src/devices/sound/multipcm.h",
+ }
+end
+
+if (SOUNDS["SCSP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/scsp.cpp",
+ MAME_DIR .. "src/devices/sound/scsp.h",
+ MAME_DIR .. "src/devices/sound/scspdsp.cpp",
+ MAME_DIR .. "src/devices/sound/scspdsp.h",
+ }
+end
+
+if (SOUNDS["AICA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/aica.cpp",
+ MAME_DIR .. "src/devices/sound/aica.h",
+ MAME_DIR .. "src/devices/sound/aicadsp.cpp",
+ MAME_DIR .. "src/devices/sound/aicadsp.h",
+ }
+end
+
+---------------------------------------------------
+-- Seta custom sound chips
+--@src/devices/sound/st0016.h,SOUNDS["ST0016"] = true
+--@src/devices/sound/nile.h,SOUNDS["NILE"] = true
+--@src/devices/sound/x1_010.h,SOUNDS["X1_010"] = true
+---------------------------------------------------
+
+if (SOUNDS["ST0016"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/st0016.cpp",
+ MAME_DIR .. "src/devices/sound/st0016.h",
+ }
+end
+
+if (SOUNDS["NILE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/nile.cpp",
+ MAME_DIR .. "src/devices/sound/nile.h",
+ }
+end
+
+if (SOUNDS["X1_010"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/x1_010.cpp",
+ MAME_DIR .. "src/devices/sound/x1_010.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- SID custom sound chips
+--@src/devices/sound/mos6581.h,SOUNDS["SID6581"] = true
+---------------------------------------------------
+
+if (SOUNDS["SID6581"]~=null or SOUNDS["SID8580"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/mos6581.cpp",
+ MAME_DIR .. "src/devices/sound/mos6581.h",
+ MAME_DIR .. "src/devices/sound/sid.cpp",
+ MAME_DIR .. "src/devices/sound/sid.h",
+ MAME_DIR .. "src/devices/sound/sidenvel.cpp",
+ MAME_DIR .. "src/devices/sound/sidenvel.h",
+ MAME_DIR .. "src/devices/sound/sidvoice.cpp",
+ MAME_DIR .. "src/devices/sound/sidvoice.h",
+ MAME_DIR .. "src/devices/sound/side6581.h",
+ MAME_DIR .. "src/devices/sound/sidw6581.h",
+ MAME_DIR .. "src/devices/sound/sidw8580.h",
+ }
+end
+
+
+---------------------------------------------------
+-- SNK(?) custom stereo sn76489a clone
+--@src/devices/sound/t6w28.h,SOUNDS["T6W28"] = true
+---------------------------------------------------
+
+if (SOUNDS["T6W28"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/t6w28.cpp",
+ MAME_DIR .. "src/devices/sound/t6w28.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- SNK custom wave generator
+--@src/devices/sound/snkwave.h,SOUNDS["SNKWAVE"] = true
+---------------------------------------------------
+
+if (SOUNDS["SNKWAVE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/snkwave.cpp",
+ MAME_DIR .. "src/devices/sound/snkwave.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Sony custom sound chips
+--@src/devices/sound/spu.h,SOUNDS["SPU"] = true
+---------------------------------------------------
+
+if (SOUNDS["SPU"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/spu.cpp",
+ MAME_DIR .. "src/devices/sound/spu.h",
+ MAME_DIR .. "src/devices/sound/spu_tables.cpp",
+ MAME_DIR .. "src/devices/sound/spureverb.cpp",
+ MAME_DIR .. "src/devices/sound/spureverb.h",
+ }
+end
+
+
+---------------------------------------------------
+-- SP0256 speech synthesizer
+--@src/devices/sound/sp0256.h,SOUNDS["SP0256"] = true
+---------------------------------------------------
+
+if (SOUNDS["SP0256"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/sp0256.cpp",
+ MAME_DIR .. "src/devices/sound/sp0256.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- SP0250 speech synthesizer
+--@src/devices/sound/sp0250.h,SOUNDS["SP0250"] = true
+---------------------------------------------------
+
+if (SOUNDS["SP0250"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/sp0250.cpp",
+ MAME_DIR .. "src/devices/sound/sp0250.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- S14001A speech synthesizer
+--@src/devices/sound/s14001a.h,SOUNDS["S14001A"] = true
+---------------------------------------------------
+
+if (SOUNDS["S14001A"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/s14001a.cpp",
+ MAME_DIR .. "src/devices/sound/s14001a.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Texas Instruments SN76477 analog chip
+--@src/devices/sound/sn76477.h,SOUNDS["SN76477"] = true
+---------------------------------------------------
+
+if (SOUNDS["SN76477"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/sn76477.cpp",
+ MAME_DIR .. "src/devices/sound/sn76477.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Texas Instruments SN76496
+--@src/devices/sound/sn76496.h,SOUNDS["SN76496"] = true
+---------------------------------------------------
+
+if (SOUNDS["SN76496"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/sn76496.cpp",
+ MAME_DIR .. "src/devices/sound/sn76496.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Texas Instruments TMS36xx doorbell chime
+--@src/devices/sound/tms36xx.h,SOUNDS["TMS36XX"] = true
+---------------------------------------------------
+
+if (SOUNDS["TMS36XX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/tms36xx.cpp",
+ MAME_DIR .. "src/devices/sound/tms36xx.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Texas Instruments TMS3615 Octave Multiple Tone Synthesizer
+--@src/devices/sound/tms3615.h,SOUNDS["TMS3615"] = true
+---------------------------------------------------
+
+if (SOUNDS["TMS3615"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/tms3615.cpp",
+ MAME_DIR .. "src/devices/sound/tms3615.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Texas Instruments TMS5100-series speech synthesizers
+--@src/devices/sound/tms5110.h,SOUNDS["TMS5110"] = true
+---------------------------------------------------
+
+if (SOUNDS["TMS5110"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/tms5110.cpp",
+ MAME_DIR .. "src/devices/sound/tms5110.h",
+ MAME_DIR .. "src/devices/sound/tms5110r.hxx",
+ }
+end
+
+---------------------------------------------------
+-- Texas Instruments TMS5200-series speech synthesizers
+--@src/devices/sound/tms5220.h,SOUNDS["TMS5220"] = true
+---------------------------------------------------
+if (SOUNDS["TMS5220"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/tms5220.cpp",
+ MAME_DIR .. "src/devices/sound/tms5220.h",
+ MAME_DIR .. "src/devices/sound/tms5110r.hxx",
+ MAME_DIR .. "src/devices/machine/spchrom.cpp",
+ MAME_DIR .. "src/devices/machine/spchrom.h",
+ }
+end
+
+
+---------------------------------------------------
+-- Toshiba T6721A voice synthesizer
+--@src/devices/sound/t6721a.h,SOUNDS["T6721A"] = true
+---------------------------------------------------
+
+if (SOUNDS["T6721A"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/t6721a.cpp",
+ MAME_DIR .. "src/devices/sound/t6721a.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Toshiba TC8830F sample player/recorder
+--@src/devices/sound/tc8830f.h,SOUNDS["TC8830F"] = true
+---------------------------------------------------
+
+if (SOUNDS["TC8830F"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/tc8830f.cpp",
+ MAME_DIR .. "src/devices/sound/tc8830f.h",
+ }
+end
+
+
+---------------------------------------------------
+-- NEC uPD7752
+--@src/devices/sound/upd7752.h,SOUNDS["UPD7752"] = true
+---------------------------------------------------
+
+if (SOUNDS["UPD7752"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/upd7752.cpp",
+ MAME_DIR .. "src/devices/sound/upd7752.h",
+ }
+end
+
+
+---------------------------------------------------
+-- VLM5030 speech synthesizer
+--@src/devices/sound/vlm5030.h,SOUNDS["VLM5030"] = true
+---------------------------------------------------
+
+if (SOUNDS["VLM5030"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/vlm5030.cpp",
+ MAME_DIR .. "src/devices/sound/vlm5030.h",
+ MAME_DIR .. "src/devices/sound/tms5110r.hxx",
+ }
+end
+
+---------------------------------------------------
+-- Votrax speech synthesizer
+--@src/devices/sound/votrax.h,SOUNDS["VOTRAX"] = true
+---------------------------------------------------
+
+if (SOUNDS["VOTRAX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/votrax.cpp",
+ MAME_DIR .. "src/devices/sound/votrax.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- VRender0 custom sound chip
+--@src/devices/sound/vrender0.h,SOUNDS["VRENDER0"] = true
+---------------------------------------------------
+
+if (SOUNDS["VRENDER0"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/vrender0.cpp",
+ MAME_DIR .. "src/devices/sound/vrender0.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- WAVE file (used for MESS cassette)
+--@src/devices/sound/wave.h,SOUNDS["WAVE"] = true
+---------------------------------------------------
+
+if (SOUNDS["WAVE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/wave.cpp",
+ MAME_DIR .. "src/devices/sound/wave.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Yamaha FM synthesizers
+--@src/devices/sound/ym2151.h,SOUNDS["YM2151"] = true
+--@src/devices/sound/2203intf.h,SOUNDS["YM2203"] = true
+--@src/devices/sound/ym2413.h,SOUNDS["YM2413"] = true
+--@src/devices/sound/2608intf.h,SOUNDS["YM2608"] = true
+--@src/devices/sound/2610intf.h,SOUNDS["YM2610"] = true
+--@src/devices/sound/2612intf.h,SOUNDS["YM2612"] = true
+--@src/devices/sound/3812intf.h,SOUNDS["YM3812"] = true
+--@src/devices/sound/3526intf.h,SOUNDS["YM3526"] = true
+--@src/devices/sound/8950intf.h,SOUNDS["Y8950"] = true
+--@src/devices/sound/ymf262.h,SOUNDS["YMF262"] = true
+--@src/devices/sound/ymf271.h,SOUNDS["YMF271"] = true
+--@src/devices/sound/ymf278b.h,SOUNDS["YMF278B"] = true
+--@src/devices/sound/262intf.h,SOUNDS["YMF262"] = true
+---------------------------------------------------
+
+if (SOUNDS["YM2151"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/ym2151.cpp",
+ MAME_DIR .. "src/devices/sound/ym2151.h",
+ }
+end
+
+if (SOUNDS["YM2413"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/ym2413.cpp",
+ MAME_DIR .. "src/devices/sound/ym2413.h",
+ }
+end
+
+if (SOUNDS["YM2203"]~=null or SOUNDS["YM2608"]~=null or SOUNDS["YM2610"]~=null or SOUNDS["YM2610B"]~=null or SOUNDS["YM2612"]~=null or SOUNDS["YM3438"]~=null) then
+--if (SOUNDS["YM2203"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/2203intf.cpp",
+ MAME_DIR .. "src/devices/sound/2203intf.h",
+ MAME_DIR .. "src/devices/sound/ay8910.cpp",
+ MAME_DIR .. "src/devices/sound/ay8910.h",
+ MAME_DIR .. "src/devices/sound/fm.cpp",
+ MAME_DIR .. "src/devices/sound/fm.h",
+ }
+--end
+
+
+--if (SOUNDS["YM2608"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/2608intf.cpp",
+ MAME_DIR .. "src/devices/sound/2608intf.h",
+ MAME_DIR .. "src/devices/sound/ay8910.cpp",
+ MAME_DIR .. "src/devices/sound/ay8910.h",
+ MAME_DIR .. "src/devices/sound/fm.cpp",
+ MAME_DIR .. "src/devices/sound/fm.h",
+ MAME_DIR .. "src/devices/sound/ymdeltat.cpp",
+ MAME_DIR .. "src/devices/sound/ymdeltat.h",
+ }
+--end
+
+--if (SOUNDS["YM2610"]~=null or SOUNDS["YM2610B"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/2610intf.cpp",
+ MAME_DIR .. "src/devices/sound/2610intf.h",
+ MAME_DIR .. "src/devices/sound/ay8910.cpp",
+ MAME_DIR .. "src/devices/sound/ay8910.h",
+ MAME_DIR .. "src/devices/sound/fm.cpp",
+ MAME_DIR .. "src/devices/sound/fm.h",
+ MAME_DIR .. "src/devices/sound/ymdeltat.cpp",
+ MAME_DIR .. "src/devices/sound/ymdeltat.h",
+ }
+--end
+
+--if (SOUNDS["YM2612"]~=null or SOUNDS["YM3438"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/2612intf.cpp",
+ MAME_DIR .. "src/devices/sound/2612intf.h",
+ MAME_DIR .. "src/devices/sound/ay8910.cpp",
+ MAME_DIR .. "src/devices/sound/ay8910.h",
+ MAME_DIR .. "src/devices/sound/fm2612.cpp",
+ }
+--end
+end
+
+if (SOUNDS["YM3812"]~=null or SOUNDS["YM3526"]~=null or SOUNDS["Y8950"]~=null) then
+--if (SOUNDS["YM3812"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/3812intf.cpp",
+ MAME_DIR .. "src/devices/sound/3812intf.h",
+ MAME_DIR .. "src/devices/sound/fmopl.cpp",
+ MAME_DIR .. "src/devices/sound/fmopl.h",
+ MAME_DIR .. "src/devices/sound/ymdeltat.cpp",
+ MAME_DIR .. "src/devices/sound/ymdeltat.h",
+ }
+--end
+
+--if (SOUNDS["YM3526"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/3526intf.cpp",
+ MAME_DIR .. "src/devices/sound/3526intf.h",
+ MAME_DIR .. "src/devices/sound/fmopl.cpp",
+ MAME_DIR .. "src/devices/sound/fmopl.h",
+ MAME_DIR .. "src/devices/sound/ymdeltat.cpp",
+ MAME_DIR .. "src/devices/sound/ymdeltat.h",
+ }
+--end
+
+--if (SOUNDS["Y8950"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/8950intf.cpp",
+ MAME_DIR .. "src/devices/sound/8950intf.h",
+ MAME_DIR .. "src/devices/sound/fmopl.cpp",
+ MAME_DIR .. "src/devices/sound/fmopl.h",
+ MAME_DIR .. "src/devices/sound/ymdeltat.cpp",
+ MAME_DIR .. "src/devices/sound/ymdeltat.h",
+ }
+--end
+end
+
+if (SOUNDS["YMF262"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/ymf262.cpp",
+ MAME_DIR .. "src/devices/sound/ymf262.h",
+ MAME_DIR .. "src/devices/sound/262intf.cpp",
+ MAME_DIR .. "src/devices/sound/262intf.h",
+ }
+end
+
+if (SOUNDS["YMF271"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/ymf271.cpp",
+ MAME_DIR .. "src/devices/sound/ymf271.h",
+ }
+end
+
+if (SOUNDS["YMF278B"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/ymf278b.cpp",
+ MAME_DIR .. "src/devices/sound/ymf278b.h",
+ }
+end
+
+
+
+---------------------------------------------------
+-- Yamaha YMZ280B ADPCM
+--@src/devices/sound/ymz280b.h,SOUNDS["YMZ280B"] = true
+---------------------------------------------------
+
+if (SOUNDS["YMZ280B"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/ymz280b.cpp",
+ MAME_DIR .. "src/devices/sound/ymz280b.h",
+ }
+end
+
+---------------------------------------------------
+-- Yamaha YMZ770 AMM
+--@src/devices/sound/ymz770.h,SOUNDS["YMZ770"] = true
+---------------------------------------------------
+
+if (SOUNDS["YMZ770"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/ymz770.cpp",
+ MAME_DIR .. "src/devices/sound/ymz770.h",
+ }
+end
+
+---------------------------------------------------
+-- MPEG AUDIO
+--@src/devices/sound/mpeg_audio.h,SOUNDS["MPEG_AUDIO"] = true
+---------------------------------------------------
+
+if (SOUNDS["MPEG_AUDIO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/mpeg_audio.cpp",
+ MAME_DIR .. "src/devices/sound/mpeg_audio.h",
+ }
+end
+
+---------------------------------------------------
+-- ZOOM ZSG-2
+--@src/devices/sound/zsg2.h,SOUNDS["ZSG2"] = true
+---------------------------------------------------
+
+if (SOUNDS["ZSG2"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/zsg2.cpp",
+ MAME_DIR .. "src/devices/sound/zsg2.h",
+ }
+end
+
+---------------------------------------------------
+-- VRC6
+--@src/devices/sound/vrc6.h,SOUNDS["VRC6"] = true
+---------------------------------------------------
+
+if (SOUNDS["VRC6"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/vrc6.cpp",
+ MAME_DIR .. "src/devices/sound/vrc6.h",
+ }
+end
+
+---------------------------------------------------
+-- AD1848
+--@src/devices/sound/ad1848.h,SOUNDS["AD1848"] = true
+---------------------------------------------------
+
+if (SOUNDS["AD1848"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/ad1848.cpp",
+ MAME_DIR .. "src/devices/sound/ad1848.h",
+ }
+end
+
+---------------------------------------------------
+-- UPD1771
+--@src/devices/sound/upd1771.h,SOUNDS["UPD1771"] = true
+---------------------------------------------------
+
+if (SOUNDS["UPD1771"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/upd1771.cpp",
+ MAME_DIR .. "src/devices/sound/upd1771.h",
+ }
+end
+
+---------------------------------------------------
+-- GB_SOUND
+--@src/devices/sound/gb.h,SOUNDS["GB_SOUND"] = true
+---------------------------------------------------
+
+if (SOUNDS["GB_SOUND"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/gb.cpp",
+ MAME_DIR .. "src/devices/sound/gb.h",
+ }
+end
+
+---------------------------------------------------
+-- PCD3311
+--@src/devices/sound/pcd3311.h,SOUNDS["PCD3311"] = true
+---------------------------------------------------
+
+if (SOUNDS["PCD3311"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/pcd3311.cpp",
+ MAME_DIR .. "src/devices/sound/pcd3311.h",
+ }
+end
+
+---------------------------------------------------
+-- Voltage Regulator
+--@src/devices/sound/volt_reg.h,SOUNDS["VOLT_REG"] = true
+---------------------------------------------------
+if (SOUNDS["VOLT_REG"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/volt_reg.cpp",
+ MAME_DIR .. "src/devices/sound/volt_reg.h",
+ }
+end
+
+---------------------------------------------------
+-- DAC-76 COMDAC
+--@src/devices/sound/dac76.h,SOUNDS["DAC76"] = true
+---------------------------------------------------
+if (SOUNDS["DAC76"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/dac76.cpp",
+ MAME_DIR .. "src/devices/sound/dac76.h",
+ }
+end
+
+---------------------------------------------------
+-- MM5837 Noise Generator
+--@src/devices/sound/mm5837.h,MACHINES["MM5837"] = true
+---------------------------------------------------
+
+if (SOUNDS["MM5837"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/mm5837.cpp",
+ MAME_DIR .. "src/devices/sound/mm5837.h",
+ }
+end
+
+---------------------------------------------------
+-- Intelligent Designs DAVE
+--@src/devices/sound/dave.h,MACHINES["DAVE"] = true
+---------------------------------------------------
+
+if (SOUNDS["DAVE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/dave.cpp",
+ MAME_DIR .. "src/devices/sound/dave.h",
+ }
+end
+
+---------------------------------------------------
+-- Toshiba TA7630
+--@src/devices/sound/ta7630.h,SOUNDS["TA7630"] = true
+---------------------------------------------------
+
+if (SOUNDS["TA7630"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/ta7630.cpp",
+ MAME_DIR .. "src/devices/sound/ta7630.h",
+ }
+end
+
+---------------------------------------------------
+-- Sanyo LC7535
+--@src/devices/sound/lc7535.h,SOUNDS["LC7535"] = true
+---------------------------------------------------
+
+if (SOUNDS["LC7535"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/lc7535.cpp",
+ MAME_DIR .. "src/devices/sound/lc7535.h",
+ }
+end
+
+---------------------------------------------------
+-- NEC uPD934G
+--@src/devices/sound/upd934g.h,SOUNDS["UPD934G"] = true
+---------------------------------------------------
+
+if (SOUNDS["UPD934G"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/upd934g.cpp",
+ MAME_DIR .. "src/devices/sound/upd934g.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/sound/iopspu.h,SOUNDS["IOPSPU"] = true
+---------------------------------------------------
+
+if (SOUNDS["IOPSPU"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/iopspu.cpp",
+ MAME_DIR .. "src/devices/sound/iopspu.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/sound/swp00.h,SOUNDS["SWP00"] = true
+---------------------------------------------------
+
+if (SOUNDS["SWP00"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/swp00.cpp",
+ MAME_DIR .. "src/devices/sound/swp00.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/sound/swp20.h,SOUNDS["SWP20"] = true
+---------------------------------------------------
+
+if (SOUNDS["SWP20"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/swp20.cpp",
+ MAME_DIR .. "src/devices/sound/swp20.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/sound/swp30.h,SOUNDS["SWP30"] = true
+---------------------------------------------------
+
+if (SOUNDS["SWP30"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/swp30.cpp",
+ MAME_DIR .. "src/devices/sound/swp30.h",
+ }
+end
diff --git a/docs/release/scripts/src/tests.lua b/docs/release/scripts/src/tests.lua
new file mode 100644
index 00000000000..6d964737079
--- /dev/null
+++ b/docs/release/scripts/src/tests.lua
@@ -0,0 +1,99 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- tests.lua
+--
+-- Rules for building tests
+--
+---------------------------------------------------------------------------
+
+project("mametests")
+ uuid ("66d4c639-196b-4065-a411-7ee9266564f5")
+ kind "ConsoleApp"
+
+ flags {
+ "Symbols", -- always include minimum symbols for executables
+ }
+
+ if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+ end
+
+ configuration { "x64", "Release" }
+ targetsuffix "64"
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "64p"
+ end
+
+ configuration { "x64", "Debug" }
+ targetsuffix "64d"
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "64dp"
+ end
+
+ configuration { "x32", "Release" }
+ targetsuffix ""
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "p"
+ end
+
+ configuration { "x32", "Debug" }
+ targetsuffix "d"
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "dp"
+ end
+
+ configuration { "Native", "Release" }
+ targetsuffix ""
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "p"
+ end
+
+ configuration { "Native", "Debug" }
+ targetsuffix "d"
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "dp"
+ end
+
+ configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+ configuration { "rpi" }
+ targetextension ""
+
+
+ configuration { }
+
+ links {
+ "utils",
+ ext_lib("expat"),
+ ext_lib("zlib"),
+ "ocore_" .. _OPTIONS["osd"],
+ }
+
+ includedirs {
+ MAME_DIR .. "3rdparty/catch/single_include",
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/lib/util",
+ ext_includedir("expat"),
+ ext_includedir("zlib"),
+ }
+
+ files {
+ MAME_DIR .. "src/emu/video/rgbsse.cpp",
+ MAME_DIR .. "src/emu/video/rgbsse.h",
+ MAME_DIR .. "src/emu/video/rgbvmx.cpp",
+ MAME_DIR .. "src/emu/video/rgbvmx.h",
+ }
+
+ files {
+ MAME_DIR .. "tests/main.cpp",
+ MAME_DIR .. "tests/lib/util/corestr.cpp",
+ MAME_DIR .. "tests/lib/util/options.cpp",
+ MAME_DIR .. "tests/emu/attotime.cpp",
+ MAME_DIR .. "tests/emu/video/rgbutil.cpp",
+ }
+
diff --git a/docs/release/scripts/src/tools.lua b/docs/release/scripts/src/tools.lua
new file mode 100644
index 00000000000..aa966e7763b
--- /dev/null
+++ b/docs/release/scripts/src/tools.lua
@@ -0,0 +1,891 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- tools.lua
+--
+-- Rules for the building of tools
+--
+---------------------------------------------------------------------------
+
+--------------------------------------------------
+-- romcmp
+--------------------------------------------------
+
+project("romcmp")
+uuid ("1b40275b-194c-497b-8abd-9338775a21b8")
+kind "ConsoleApp"
+
+flags {
+ "Symbols", -- always include minimum symbols for executables
+}
+
+if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+end
+
+links {
+ "utils",
+ ext_lib("expat"),
+ "7z",
+ "ocore_" .. _OPTIONS["osd"],
+ ext_lib("zlib"),
+ ext_lib("utf8proc"),
+}
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib/util",
+}
+
+files {
+ MAME_DIR .. "src/tools/romcmp.cpp",
+}
+
+configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+configuration { }
+
+strip()
+
+--------------------------------------------------
+-- chdman
+--------------------------------------------------
+
+project("chdman")
+uuid ("7d948868-42db-432a-9bb5-70ce5c5f4620")
+kind "ConsoleApp"
+
+flags {
+ "Symbols", -- always include minimum symbols for executables
+}
+
+if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+end
+
+links {
+ "utils",
+ ext_lib("expat"),
+ "7z",
+ "ocore_" .. _OPTIONS["osd"],
+ ext_lib("zlib"),
+ ext_lib("flac"),
+ ext_lib("utf8proc"),
+}
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "3rdparty",
+}
+includedirs {
+ ext_includedir("flac"),
+}
+
+files {
+ MAME_DIR .. "src/tools/chdman.cpp",
+ GEN_DIR .. "version.cpp",
+}
+
+configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+configuration { }
+
+strip()
+
+--------------------------------------------------
+-- jedutil
+--------------------------------------------------
+
+project("jedutil")
+uuid ("bda60edb-f7f5-489f-b232-23d33c43dda1")
+kind "ConsoleApp"
+
+flags {
+ "Symbols", -- always include minimum symbols for executables
+}
+
+if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+end
+
+links {
+ "utils",
+ ext_lib("expat"),
+ "ocore_" .. _OPTIONS["osd"],
+ ext_lib("zlib"),
+ ext_lib("utf8proc"),
+}
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib/util",
+}
+
+files {
+ MAME_DIR .. "src/tools/jedutil.cpp",
+}
+
+configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+configuration { }
+
+strip()
+
+--------------------------------------------------
+-- unidasm
+--------------------------------------------------
+
+project("unidasm")
+uuid ("65f81d3b-299a-4b08-a3fa-d5241afa9fd1")
+kind "ConsoleApp"
+
+flags {
+ "Symbols", -- always include minimum symbols for executables
+}
+
+if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+end
+
+links {
+ "dasm",
+ "utils",
+ ext_lib("expat"),
+ "7z",
+ "ocore_" .. _OPTIONS["osd"],
+ ext_lib("zlib"),
+ ext_lib("flac"),
+ ext_lib("utf8proc"),
+}
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/devices",
+ MAME_DIR .. "src/emu",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "3rdparty",
+}
+
+files {
+ MAME_DIR .. "src/tools/unidasm.cpp",
+}
+
+configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+configuration { }
+
+strip()
+
+--------------------------------------------------
+-- ldresample
+--------------------------------------------------
+
+project("ldresample")
+uuid ("3401561a-4407-4e13-9c6d-c0801330f7cc")
+kind "ConsoleApp"
+
+flags {
+ "Symbols", -- always include minimum symbols for executables
+}
+
+if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+end
+
+links {
+ "utils",
+ ext_lib("expat"),
+ "7z",
+ "ocore_" .. _OPTIONS["osd"],
+ ext_lib("zlib"),
+ ext_lib("flac"),
+ ext_lib("utf8proc"),
+}
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "3rdparty",
+}
+includedirs {
+ ext_includedir("flac"),
+}
+
+files {
+ MAME_DIR .. "src/tools/ldresample.cpp",
+}
+
+configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+configuration { }
+
+strip()
+
+--------------------------------------------------
+-- ldverify
+--------------------------------------------------
+
+project("ldverify")
+uuid ("3e66560d-b928-4227-928b-eadd0a10f00a")
+kind "ConsoleApp"
+
+flags {
+ "Symbols", -- always include minimum symbols for executables
+}
+
+if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+end
+
+links {
+ "utils",
+ ext_lib("expat"),
+ "7z",
+ "ocore_" .. _OPTIONS["osd"],
+ ext_lib("zlib"),
+ ext_lib("flac"),
+ ext_lib("utf8proc"),
+}
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib/util",
+ MAME_DIR .. "3rdparty",
+}
+includedirs {
+ ext_includedir("flac"),
+}
+
+files {
+ MAME_DIR .. "src/tools/ldverify.cpp",
+}
+
+configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+configuration { }
+
+strip()
+
+--------------------------------------------------
+-- regrep
+--------------------------------------------------
+
+project("regrep")
+uuid ("7f6de580-d800-4e8d-bed6-9fc86829584d")
+kind "ConsoleApp"
+
+flags {
+ "Symbols", -- always include minimum symbols for executables
+}
+
+if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+end
+
+links {
+ "utils",
+ ext_lib("expat"),
+ "ocore_" .. _OPTIONS["osd"],
+ ext_lib("zlib"),
+ ext_lib("utf8proc"),
+}
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib/util",
+}
+
+files {
+ MAME_DIR .. "src/tools/regrep.cpp",
+}
+
+configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+configuration { }
+
+strip()
+
+--------------------------------------------------
+-- srcclean
+---------------------------------------------------
+
+project("srcclean")
+uuid ("4dd58139-313a-42c5-965d-f378bdeed220")
+kind "ConsoleApp"
+
+flags {
+ "Symbols", -- always include minimum symbols for executables
+}
+
+if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+end
+
+links {
+ "utils",
+ ext_lib("expat"),
+ "ocore_" .. _OPTIONS["osd"],
+ ext_lib("zlib"),
+ ext_lib("utf8proc"),
+}
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib/util",
+}
+
+files {
+ MAME_DIR .. "src/tools/srcclean.cpp",
+}
+
+configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+configuration { }
+
+strip()
+
+--------------------------------------------------
+-- src2html
+--------------------------------------------------
+
+project("src2html")
+uuid ("b31e963a-09ef-4696-acbd-e663e35ce6f7")
+kind "ConsoleApp"
+
+flags {
+ "Symbols", -- always include minimum symbols for executables
+}
+
+if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+end
+
+links {
+ "utils",
+ ext_lib("expat"),
+ "ocore_" .. _OPTIONS["osd"],
+ ext_lib("zlib"),
+ ext_lib("utf8proc"),
+}
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib/util",
+}
+
+files {
+ MAME_DIR .. "src/tools/src2html.cpp",
+}
+
+configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+configuration { }
+
+strip()
+
+--------------------------------------------------
+-- split
+--------------------------------------------------
+
+project("split")
+uuid ("8ef6ff18-3199-4cc2-afd0-d64033070faa")
+kind "ConsoleApp"
+
+flags {
+ "Symbols", -- always include minimum symbols for executables
+}
+
+if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+end
+
+links {
+ "utils",
+ ext_lib("expat"),
+ "7z",
+ "ocore_" .. _OPTIONS["osd"],
+ ext_lib("zlib"),
+ ext_lib("flac"),
+ ext_lib("utf8proc"),
+}
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib/util",
+}
+
+files {
+ MAME_DIR .. "src/tools/split.cpp",
+}
+
+configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+configuration { }
+
+strip()
+
+--------------------------------------------------
+-- pngcmp
+--------------------------------------------------
+
+project("pngcmp")
+uuid ("61f647d9-b129-409b-9c62-8acf98ed39be")
+kind "ConsoleApp"
+
+flags {
+ "Symbols", -- always include minimum symbols for executables
+}
+
+if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+end
+
+links {
+ "utils",
+ ext_lib("expat"),
+ "ocore_" .. _OPTIONS["osd"],
+ ext_lib("zlib"),
+ ext_lib("utf8proc"),
+}
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib/util",
+}
+
+files {
+ MAME_DIR .. "src/tools/pngcmp.cpp",
+}
+
+configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+configuration { }
+
+strip()
+
+--------------------------------------------------
+-- nltool
+--------------------------------------------------
+
+project("nltool")
+uuid ("853a03b7-fa37-41a8-8250-0dc23dd935d6")
+kind "ConsoleApp"
+
+flags {
+ "Symbols", -- always include minimum symbols for executables
+}
+
+if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+end
+
+links {
+ "netlist",
+}
+
+includedirs {
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/netlist",
+}
+
+files {
+ MAME_DIR .. "src/lib/netlist/prg/nltool.cpp",
+}
+
+configuration { "mingw*" }
+ linkoptions{
+ "-municode",
+ }
+configuration { "vs*" }
+ flags {
+ "Unicode",
+ }
+
+configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+configuration { }
+
+strip()
+
+--------------------------------------------------
+-- nlwav
+--------------------------------------------------
+
+project("nlwav")
+uuid ("7c5396d1-2a1a-4c93-bed6-6b8fa182054a")
+kind "ConsoleApp"
+
+flags {
+ "Symbols", -- always include minimum symbols for executables
+}
+
+if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+end
+
+links {
+ "netlist",
+}
+
+includedirs {
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/netlist",
+}
+
+files {
+ MAME_DIR .. "src/lib/netlist/prg/nlwav.cpp",
+}
+
+configuration { "mingw*" }
+ linkoptions{
+ "-municode",
+ }
+configuration { "vs*" }
+ flags {
+ "Unicode",
+ }
+
+configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+configuration { }
+
+strip()
+
+--------------------------------------------------
+-- castool
+--------------------------------------------------
+
+project("castool")
+uuid ("7d9ed428-e2ba-4448-832d-d882a64d5c22")
+kind "ConsoleApp"
+
+flags {
+ "Symbols", -- always include minimum symbols for executables
+}
+
+if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+end
+
+links {
+ "formats",
+ "utils",
+ ext_lib("expat"),
+ "7z",
+ "ocore_" .. _OPTIONS["osd"],
+ ext_lib("zlib"),
+ ext_lib("flac"),
+ ext_lib("utf8proc"),
+}
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+}
+
+files {
+ MAME_DIR .. "src/tools/castool.cpp",
+}
+
+configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+configuration { }
+
+strip()
+
+--------------------------------------------------
+-- floptool
+--------------------------------------------------
+
+project("floptool")
+uuid ("85d8e3a6-1661-4ac9-8c21-281d20cbaf5b")
+kind "ConsoleApp"
+
+flags {
+ "Symbols", -- always include minimum symbols for executables
+}
+
+if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+end
+
+links {
+ "formats",
+ "emu",
+ "utils",
+ ext_lib("expat"),
+ "7z",
+ "ocore_" .. _OPTIONS["osd"],
+ ext_lib("zlib"),
+ ext_lib("flac"),
+ ext_lib("utf8proc"),
+}
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+}
+
+files {
+ MAME_DIR .. "src/tools/floptool.cpp",
+}
+
+configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+configuration { }
+
+strip()
+
+--------------------------------------------------
+-- imgtool
+--------------------------------------------------
+
+project("imgtool")
+uuid ("f3707807-e587-4297-a5d8-bc98f3d0b1ca")
+kind "ConsoleApp"
+
+flags {
+ "Symbols", -- always include minimum symbols for executables
+}
+
+if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+end
+
+links {
+ "formats",
+ "emu",
+ "utils",
+ ext_lib("expat"),
+ "7z",
+ "ocore_" .. _OPTIONS["osd"],
+ ext_lib("zlib"),
+ ext_lib("flac"),
+ ext_lib("utf8proc"),
+}
+
+includedirs {
+ MAME_DIR .. "src/osd",
+ MAME_DIR .. "src/lib",
+ MAME_DIR .. "src/lib/util",
+ ext_includedir("zlib"),
+ MAME_DIR .. "src/tools/imgtool",
+}
+
+files {
+ MAME_DIR .. "src/tools/imgtool/main.cpp",
+ MAME_DIR .. "src/tools/imgtool/main.h",
+ MAME_DIR .. "src/tools/imgtool/stream.cpp",
+ MAME_DIR .. "src/tools/imgtool/stream.h",
+ MAME_DIR .. "src/tools/imgtool/library.cpp",
+ MAME_DIR .. "src/tools/imgtool/library.h",
+ MAME_DIR .. "src/tools/imgtool/modules.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules.h",
+ MAME_DIR .. "src/tools/imgtool/iflopimg.cpp",
+ MAME_DIR .. "src/tools/imgtool/iflopimg.h",
+ MAME_DIR .. "src/tools/imgtool/filter.cpp",
+ MAME_DIR .. "src/tools/imgtool/filter.h",
+ MAME_DIR .. "src/tools/imgtool/filteoln.cpp",
+ MAME_DIR .. "src/tools/imgtool/filtbas.cpp",
+ MAME_DIR .. "src/tools/imgtool/imgtool.cpp",
+ MAME_DIR .. "src/tools/imgtool/imgtool.h",
+ MAME_DIR .. "src/tools/imgtool/imgterrs.cpp",
+ MAME_DIR .. "src/tools/imgtool/imgterrs.h",
+ MAME_DIR .. "src/tools/imgtool/imghd.cpp",
+ MAME_DIR .. "src/tools/imgtool/imghd.h",
+ MAME_DIR .. "src/tools/imgtool/charconv.cpp",
+ MAME_DIR .. "src/tools/imgtool/charconv.h",
+ MAME_DIR .. "src/tools/imgtool/formats/vt_dsk.cpp",
+ MAME_DIR .. "src/tools/imgtool/formats/vt_dsk.h",
+ MAME_DIR .. "src/tools/imgtool/formats/coco_dsk.cpp",
+ MAME_DIR .. "src/tools/imgtool/formats/coco_dsk.h",
+ MAME_DIR .. "src/tools/imgtool/modules/amiga.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/macbin.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/rsdos.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/os9.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/mac.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/ti99.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/ti990hd.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/concept.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/fat.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/fat.h",
+ MAME_DIR .. "src/tools/imgtool/modules/pc_flop.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/pc_hard.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/prodos.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/vzdos.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/thomson.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/macutil.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/macutil.h",
+ MAME_DIR .. "src/tools/imgtool/modules/cybiko.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/cybikoxt.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/psion.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/bml3.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/hp48.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/hp9845_tape.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/hp85_tape.cpp",
+ MAME_DIR .. "src/tools/imgtool/modules/rt11.cpp",
+}
+
+configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+configuration { }
+
+strip()
+
+--------------------------------------------------
+-- aueffectutil
+--------------------------------------------------
+
+if _OPTIONS["targetos"] == "macosx" then
+ project("aueffectutil")
+ uuid ("3db8316d-fad7-4f5b-b46a-99373c91550e")
+ kind "ConsoleApp"
+
+ flags {
+ "Symbols", -- always include minimum symbols for executables
+ }
+
+ if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+ end
+
+ linkoptions {
+ "-sectcreate __TEXT __info_plist " .. _MAKE.esc(MAME_DIR) .. "src/tools/aueffectutil-Info.plist",
+ }
+
+ dependency {
+ { "aueffectutil", MAME_DIR .. "src/tools/aueffectutil-Info.plist", true },
+ }
+
+ links {
+ "AudioUnit.framework",
+ "AudioToolbox.framework",
+ "CoreAudio.framework",
+ "CoreAudioKit.framework",
+ "CoreServices.framework",
+ }
+
+ files {
+ MAME_DIR .. "src/tools/aueffectutil.mm",
+ }
+
+ configuration { }
+
+ strip()
+end
+
+--------------------------------------------------
+-- testkeys
+--------------------------------------------------
+
+if (_OPTIONS["osd"] == "sdl") then
+ project("testkeys")
+ uuid ("b3f5a5b8-3203-11e9-93e4-670b4f4e359d")
+ kind "ConsoleApp"
+
+ flags {
+ "Symbols", -- always include minimum symbols for executables
+ }
+
+ if _OPTIONS["SEPARATE_BIN"]~="1" then
+ targetdir(MAME_DIR)
+ end
+
+ links {
+ "ocore_" .. _OPTIONS["osd"],
+ ext_lib("utf8proc"),
+ }
+
+ if _OPTIONS["targetos"]=="windows" then
+ if _OPTIONS["with-bundled-sdl2"]~=nil then
+ configuration { "mingw*"}
+ links {
+ "SDL2",
+ "imm32",
+ "version",
+ "ole32",
+ "oleaut32",
+ }
+ configuration { "vs*" }
+ links {
+ "SDL2",
+ "imm32",
+ "version",
+ }
+ configuration { }
+ else
+ if _OPTIONS["USE_LIBSDL"]~="1" then
+ configuration { "mingw*"}
+ links {
+ "SDL2main",
+ "SDL2",
+ }
+ configuration { "vs*" }
+ links {
+ "SDL2",
+ "imm32",
+ "version",
+ }
+ configuration { }
+ else
+ local str = backtick(sdlconfigcmd() .. " --libs | sed 's/ -lSDLmain//'")
+ addlibfromstring(str)
+ addoptionsfromstring(str)
+ end
+ configuration { "x32", "vs*" }
+ libdirs {
+ path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x86")
+ }
+ configuration { "x64", "vs*" }
+ libdirs {
+ path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x64")
+ }
+ end
+ end
+
+ if BASE_TARGETOS=="unix" then
+ if _OPTIONS["with-bundled-sdl2"]~=nil then
+ links {
+ "SDL2",
+ }
+ end
+ end
+
+ dofile("osd/sdl_cfg.lua")
+
+ includedirs {
+ MAME_DIR .. "src/osd",
+ }
+
+ files {
+ MAME_DIR .. "src/tools/testkeys.cpp",
+ }
+
+ configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+ configuration { }
+
+ strip()
+end
diff --git a/docs/release/scripts/src/video.lua b/docs/release/scripts/src/video.lua
new file mode 100644
index 00000000000..b49bd961f95
--- /dev/null
+++ b/docs/release/scripts/src/video.lua
@@ -0,0 +1,1220 @@
+-- license:BSD-3-Clause
+-- copyright-holders:MAMEdev Team
+
+---------------------------------------------------------------------------
+--
+-- video.lua
+--
+-- Rules for building video cores
+--
+---------------------------------------------------------------------------
+
+files {
+ MAME_DIR .. "src/devices/video/poly.h",
+ MAME_DIR .. "src/devices/video/sprite.cpp",
+ MAME_DIR .. "src/devices/video/sprite.h",
+ MAME_DIR .. "src/devices/video/vector.cpp",
+ MAME_DIR .. "src/devices/video/vector.h",
+}
+
+--------------------------------------------------
+--
+--@src/devices/video/315_5124.h,VIDEOS["SEGA315_5124"] = true
+--------------------------------------------------
+
+if (VIDEOS["SEGA315_5124"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/315_5124.cpp",
+ MAME_DIR .. "src/devices/video/315_5124.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/315_5313.h,VIDEOS["SEGA315_5313"] = true
+--------------------------------------------------
+
+if (VIDEOS["SEGA315_5313"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/315_5313.cpp",
+ MAME_DIR .. "src/devices/video/315_5313.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/bufsprite.h,VIDEOS["BUFSPRITE"] = true
+--------------------------------------------------
+
+if (VIDEOS["BUFSPRITE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/bufsprite.cpp",
+ MAME_DIR .. "src/devices/video/bufsprite.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/cdp1861.h,VIDEOS["CDP1861"] = true
+--------------------------------------------------
+
+if (VIDEOS["CDP1861"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/cdp1861.cpp",
+ MAME_DIR .. "src/devices/video/cdp1861.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/cdp1862.h,VIDEOS["CDP1862"] = true
+--------------------------------------------------
+
+if (VIDEOS["CDP1862"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/cdp1862.cpp",
+ MAME_DIR .. "src/devices/video/cdp1862.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/cesblit.h,VIDEOS["CESBLIT"] = true
+--------------------------------------------------
+
+if (VIDEOS["CESBLIT"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/cesblit.cpp",
+ MAME_DIR .. "src/devices/video/cesblit.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/crt9007.h,VIDEOS["CRT9007"] = true
+--------------------------------------------------
+
+if (VIDEOS["CRT9007"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/crt9007.cpp",
+ MAME_DIR .. "src/devices/video/crt9007.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/crt9021.h,VIDEOS["CRT9021"] = true
+--------------------------------------------------
+
+if (VIDEOS["CRT9021"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/crt9021.cpp",
+ MAME_DIR .. "src/devices/video/crt9021.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/crt9028.h,VIDEOS["CRT9028"] = true
+--------------------------------------------------
+
+if (VIDEOS["CRT9028"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/crt9028.cpp",
+ MAME_DIR .. "src/devices/video/crt9028.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/crt9212.h,VIDEOS["CRT9212"] = true
+--------------------------------------------------
+
+if (VIDEOS["CRT9212"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/crt9212.cpp",
+ MAME_DIR .. "src/devices/video/crt9212.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/dl1416.h,VIDEOS["DL1416"] = true
+--------------------------------------------------
+
+if (VIDEOS["DL1416"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/dl1416.cpp",
+ MAME_DIR .. "src/devices/video/dl1416.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/dm9368.h,VIDEOS["DM9368"] = true
+--------------------------------------------------
+
+if (VIDEOS["DM9368"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/dm9368.cpp",
+ MAME_DIR .. "src/devices/video/dm9368.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/dp8350.h,VIDEOS["DP8350"] = true
+--------------------------------------------------
+
+if (VIDEOS["DP8350"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/dp8350.cpp",
+ MAME_DIR .. "src/devices/video/dp8350.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/ef9340_1.h,VIDEOS["EF9340_1"] = true
+--------------------------------------------------
+
+if (VIDEOS["EF9340_1"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/ef9340_1.cpp",
+ MAME_DIR .. "src/devices/video/ef9340_1.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/ef9345.h,VIDEOS["EF9345"] = true
+--------------------------------------------------
+
+if (VIDEOS["EF9345"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/ef9345.cpp",
+ MAME_DIR .. "src/devices/video/ef9345.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/ef9364.h,VIDEOS["EF9364"] = true
+--------------------------------------------------
+
+if (VIDEOS["EF9364"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/ef9364.cpp",
+ MAME_DIR .. "src/devices/video/ef9364.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/ef9365.h,VIDEOS["EF9365"] = true
+--------------------------------------------------
+
+if (VIDEOS["EF9365"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/ef9365.cpp",
+ MAME_DIR .. "src/devices/video/ef9365.h",
+ }
+end
+
+--------------------------------------------------
+--@src/devices/video/epic12.h,VIDEOS["EPIC12"] = true
+--------------------------------------------------
+
+if (VIDEOS["EPIC12"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/epic12.cpp",
+ MAME_DIR .. "src/devices/video/epic12.h",
+ MAME_DIR .. "src/devices/video/epic12_blit0.cpp",
+ MAME_DIR .. "src/devices/video/epic12_blit1.cpp",
+ MAME_DIR .. "src/devices/video/epic12_blit2.cpp",
+ MAME_DIR .. "src/devices/video/epic12_blit3.cpp",
+ MAME_DIR .. "src/devices/video/epic12_blit4.cpp",
+ MAME_DIR .. "src/devices/video/epic12_blit5.cpp",
+ MAME_DIR .. "src/devices/video/epic12_blit6.cpp",
+ MAME_DIR .. "src/devices/video/epic12_blit7.cpp",
+ MAME_DIR .. "src/devices/video/epic12_blit8.cpp",
+ MAME_DIR .. "src/devices/video/epic12in.hxx",
+ MAME_DIR .. "src/devices/video/epic12pixel.hxx",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/fixfreq.h,VIDEOS["FIXFREQ"] = true
+--------------------------------------------------
+
+if (VIDEOS["FIXFREQ"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/fixfreq.cpp",
+ MAME_DIR .. "src/devices/video/fixfreq.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/gf4500.h,VIDEOS["GF4500"] = true
+--------------------------------------------------
+
+if (VIDEOS["GF4500"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/gf4500.cpp",
+ MAME_DIR .. "src/devices/video/gf4500.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/gf7600gs.h,VIDEOS["GF7600GS"] = true
+--------------------------------------------------
+
+if (VIDEOS["GF7600GS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/gf7600gs.cpp",
+ MAME_DIR .. "src/devices/video/gf7600gs.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/mga2064w.h,VIDEOS["MGA2064W"] = true
+--------------------------------------------------
+
+if (VIDEOS["MGA2064W"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/mga2064w.cpp",
+ MAME_DIR .. "src/devices/video/mga2064w.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/nt7534.h,VIDEOS["NT7534"] = true
+--------------------------------------------------
+
+if (VIDEOS["NT7534"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/nt7534.cpp",
+ MAME_DIR .. "src/devices/video/nt7534.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/hd44102.h,VIDEOS["HD44102"] = true
+--------------------------------------------------
+
+if (VIDEOS["HD44102"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/hd44102.cpp",
+ MAME_DIR .. "src/devices/video/hd44102.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/hd44352.h,VIDEOS["HD44352"] = true
+--------------------------------------------------
+
+if (VIDEOS["HD44352"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/hd44352.cpp",
+ MAME_DIR .. "src/devices/video/hd44352.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/hd44780.h,VIDEOS["HD44780"] = true
+--------------------------------------------------
+
+if (VIDEOS["HD44780"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/hd44780.cpp",
+ MAME_DIR .. "src/devices/video/hd44780.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/hd61830.h,VIDEOS["HD61830"] = true
+--------------------------------------------------
+
+if (VIDEOS["HD61830"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/hd61830.cpp",
+ MAME_DIR .. "src/devices/video/hd61830.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/hd63484.h,VIDEOS["HD63484"] = true
+--------------------------------------------------
+
+if (VIDEOS["HD63484"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/hd63484.cpp",
+ MAME_DIR .. "src/devices/video/hd63484.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/hd66421.h,VIDEOS["HD66421"] = true
+--------------------------------------------------
+
+if (VIDEOS["HD66421"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/hd66421.cpp",
+ MAME_DIR .. "src/devices/video/hd66421.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/hlcd0515.h,VIDEOS["HLCD0515"] = true
+--------------------------------------------------
+
+if (VIDEOS["HLCD0515"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/hlcd0515.cpp",
+ MAME_DIR .. "src/devices/video/hlcd0515.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/hlcd0538.h,VIDEOS["HLCD0538"] = true
+--------------------------------------------------
+
+if (VIDEOS["HLCD0538"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/hlcd0538.cpp",
+ MAME_DIR .. "src/devices/video/hlcd0538.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/hp1ll3.h,VIDEOS["HP1LL3"] = true
+--------------------------------------------------
+
+if (VIDEOS["HP1LL3"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/hp1ll3.cpp",
+ MAME_DIR .. "src/devices/video/hp1ll3.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/huc6202.h,VIDEOS["HUC6202"] = true
+--------------------------------------------------
+
+if (VIDEOS["HUC6202"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/huc6202.cpp",
+ MAME_DIR .. "src/devices/video/huc6202.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/huc6260.h,VIDEOS["HUC6260"] = true
+--------------------------------------------------
+
+if (VIDEOS["HUC6260"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/huc6260.cpp",
+ MAME_DIR .. "src/devices/video/huc6260.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/huc6261.h,VIDEOS["HUC6261"] = true
+--------------------------------------------------
+
+if (VIDEOS["HUC6261"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/huc6261.cpp",
+ MAME_DIR .. "src/devices/video/huc6261.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/huc6270.h,VIDEOS["HUC6270"] = true
+--------------------------------------------------
+
+if (VIDEOS["HUC6270"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/huc6270.cpp",
+ MAME_DIR .. "src/devices/video/huc6270.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/huc6271.h,VIDEOS["HUC6271"] = true
+--------------------------------------------------
+
+if (VIDEOS["HUC6271"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/huc6271.cpp",
+ MAME_DIR .. "src/devices/video/huc6271.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/huc6272.h,VIDEOS["HUC6272"] = true
+--------------------------------------------------
+
+if (VIDEOS["HUC6272"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/huc6272.cpp",
+ MAME_DIR .. "src/devices/video/huc6272.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/i8244.h,VIDEOS["I8244"] = true
+--------------------------------------------------
+
+if (VIDEOS["I8244"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/i8244.cpp",
+ MAME_DIR .. "src/devices/video/i8244.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/i82730.h,VIDEOS["I82730"] = true
+--------------------------------------------------
+
+if (VIDEOS["I82730"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/i82730.cpp",
+ MAME_DIR .. "src/devices/video/i82730.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/i8275.h,VIDEOS["I8275"] = true
+--------------------------------------------------
+
+if (VIDEOS["I8275"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/i8275.cpp",
+ MAME_DIR .. "src/devices/video/i8275.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/ims_cvc.h,VIDEOS["IMS_CVC"] = true
+--------------------------------------------------
+
+if (VIDEOS["IMS_CVC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/ims_cvc.cpp",
+ MAME_DIR .. "src/devices/video/ims_cvc.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/m50458.h,VIDEOS["M50458"] = true
+--------------------------------------------------
+
+if (VIDEOS["M50458"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/m50458.cpp",
+ MAME_DIR .. "src/devices/video/m50458.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/video/mb88303.h,VIDEOS["MB88303"] = true
+---------------------------------------------------
+
+if (VIDEOS["MB88303"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/mb88303.cpp",
+ MAME_DIR .. "src/devices/video/mb88303.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/mb90082.h,VIDEOS["MB90082"] = true
+--------------------------------------------------
+
+if (VIDEOS["MB90082"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/mb90082.cpp",
+ MAME_DIR .. "src/devices/video/mb90082.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/mb_vcu.h,VIDEOS["MB_VCU"] = true
+--------------------------------------------------
+
+if (VIDEOS["MB_VCU"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/mb_vcu.cpp",
+ MAME_DIR .. "src/devices/video/mb_vcu.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/mc6845.h,VIDEOS["MC6845"] = true
+--------------------------------------------------
+
+if (VIDEOS["MC6845"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/mc6845.cpp",
+ MAME_DIR .. "src/devices/video/mc6845.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/mc6847.h,VIDEOS["MC6847"] = true
+--------------------------------------------------
+
+if (VIDEOS["MC6847"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/mc6847.cpp",
+ MAME_DIR .. "src/devices/video/mc6847.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/mm5445.h,VIDEOS["MM5445"] = true
+--------------------------------------------------
+
+if (VIDEOS["MM5445"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/mm5445.cpp",
+ MAME_DIR .. "src/devices/video/mm5445.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/msm6222b.h,VIDEOS["MSM6222B"] = true
+--------------------------------------------------
+
+if (VIDEOS["MSM6222B"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/msm6222b.cpp",
+ MAME_DIR .. "src/devices/video/msm6222b.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/msm6255.h,VIDEOS["MSM6255"] = true
+--------------------------------------------------
+
+if (VIDEOS["MSM6255"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/msm6255.cpp",
+ MAME_DIR .. "src/devices/video/msm6255.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/mos6566.h,VIDEOS["MOS6566"] = true
+--------------------------------------------------
+
+if (VIDEOS["MOS6566"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/mos6566.cpp",
+ MAME_DIR .. "src/devices/video/mos6566.h",
+ }
+end
+
+
+files {
+ MAME_DIR .. "src/devices/video/cgapal.cpp",
+ MAME_DIR .. "src/devices/video/cgapal.h",
+}
+
+--------------------------------------------------
+--
+--@src/devices/video/pc_vga.h,VIDEOS["PC_VGA"] = true
+--------------------------------------------------
+
+if (VIDEOS["PC_VGA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/pc_vga.cpp",
+ MAME_DIR .. "src/devices/video/pc_vga.h",
+ MAME_DIR .. "src/devices/bus/isa/trident.cpp",
+ MAME_DIR .. "src/devices/bus/isa/trident.h",
+ MAME_DIR .. "src/devices/video/clgd542x.cpp",
+ MAME_DIR .. "src/devices/video/clgd542x.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/pcd8544.h,VIDEOS["PCD8544"] = true
+--------------------------------------------------
+
+if (VIDEOS["PCD8544"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/pcd8544.cpp",
+ MAME_DIR .. "src/devices/video/pcd8544.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/polylgcy.h,VIDEOS["POLY"] = true
+--------------------------------------------------
+
+if (VIDEOS["POLY"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/polylgcy.cpp",
+ MAME_DIR .. "src/devices/video/polylgcy.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/psx.h,VIDEOS["PSX"] = true
+--------------------------------------------------
+
+if (VIDEOS["PSX"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/psx.cpp",
+ MAME_DIR .. "src/devices/video/psx.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/ramdac.h,VIDEOS["RAMDAC"] = true
+--------------------------------------------------
+
+if (VIDEOS["RAMDAC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/ramdac.cpp",
+ MAME_DIR .. "src/devices/video/ramdac.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/saa5050.h,VIDEOS["SAA5050"] = true
+--------------------------------------------------
+
+if (VIDEOS["SAA5050"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/saa5050.cpp",
+ MAME_DIR .. "src/devices/video/saa5050.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/pwm.h,VIDEOS["PWM_DISPLAY"] = true
+--------------------------------------------------
+if (VIDEOS["PWM_DISPLAY"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/pwm.cpp",
+ MAME_DIR .. "src/devices/video/pwm.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/sed1200.h,VIDEOS["SED1200"] = true
+--------------------------------------------------
+if (VIDEOS["SED1200"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/sed1200.cpp",
+ MAME_DIR .. "src/devices/video/sed1200.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/sed1330.h,VIDEOS["SED1330"] = true
+--------------------------------------------------
+if (VIDEOS["SED1330"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/sed1330.cpp",
+ MAME_DIR .. "src/devices/video/sed1330.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/sed1520.h,VIDEOS["SED1520"] = true
+--------------------------------------------------
+if (VIDEOS["SED1520"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/sed1520.cpp",
+ MAME_DIR .. "src/devices/video/sed1520.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/scn2674.h,VIDEOS["SCN2674"] = true
+--------------------------------------------------
+if (VIDEOS["SCN2674"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/scn2674.cpp",
+ MAME_DIR .. "src/devices/video/scn2674.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/sda5708.h,VIDEOS["SDA5708"] = true
+--------------------------------------------------
+if (VIDEOS["SDA5708"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/sda5708.cpp",
+ MAME_DIR .. "src/devices/video/sda5708.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/snes_ppu.h,VIDEOS["SNES_PPU"] = true
+--------------------------------------------------
+if (VIDEOS["SNES_PPU"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/snes_ppu.cpp",
+ MAME_DIR .. "src/devices/video/snes_ppu.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/stvvdp1.h,VIDEOS["STVVDP"] = true
+--@src/devices/video/stvvdp2.h,VIDEOS["STVVDP"] = true
+--------------------------------------------------
+
+if (VIDEOS["STVVDP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/stvvdp1.cpp",
+ MAME_DIR .. "src/devices/video/stvvdp1.h",
+ MAME_DIR .. "src/devices/video/stvvdp2.cpp",
+ MAME_DIR .. "src/devices/video/stvvdp2.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/t6963c.h,VIDEOS["T6963C"] = true
+--------------------------------------------------
+
+if (VIDEOS["T6963C"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/t6963c.cpp",
+ MAME_DIR .. "src/devices/video/t6963c.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/t6a04.h,VIDEOS["T6A04"] = true
+--------------------------------------------------
+
+if (VIDEOS["T6A04"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/t6a04.cpp",
+ MAME_DIR .. "src/devices/video/t6a04.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/tea1002.h,VIDEOS["TEA1002"] = true
+--------------------------------------------------
+
+if (VIDEOS["TEA1002"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/tea1002.cpp",
+ MAME_DIR .. "src/devices/video/tea1002.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/tlc34076.h,VIDEOS["TLC34076"] = true
+--------------------------------------------------
+
+if (VIDEOS["TLC34076"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/tlc34076.cpp",
+ MAME_DIR .. "src/devices/video/tlc34076.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/tms34061.h,VIDEOS["TMS34061"] = true
+--------------------------------------------------
+
+if (VIDEOS["TMS34061"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/tms34061.cpp",
+ MAME_DIR .. "src/devices/video/tms34061.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/tms3556.h,VIDEOS["TMS3556"] = true
+--------------------------------------------------
+
+if (VIDEOS["TMS3556"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/tms3556.cpp",
+ MAME_DIR .. "src/devices/video/tms3556.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/tms9927.h,VIDEOS["TMS9927"] = true
+--------------------------------------------------
+
+if (VIDEOS["TMS9927"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/tms9927.cpp",
+ MAME_DIR .. "src/devices/video/tms9927.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/tms9928a.h,VIDEOS["TMS9928A"] = true
+--------------------------------------------------
+
+if (VIDEOS["TMS9928A"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/tms9928a.cpp",
+ MAME_DIR .. "src/devices/video/tms9928a.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/upd3301.h,VIDEOS["UPD3301"] = true
+--------------------------------------------------
+
+if (VIDEOS["UPD3301"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/upd3301.cpp",
+ MAME_DIR .. "src/devices/video/upd3301.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/upd7220.h,VIDEOS["UPD7220"] = true
+--------------------------------------------------
+
+if (VIDEOS["UPD7220"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/upd7220.cpp",
+ MAME_DIR .. "src/devices/video/upd7220.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/upd7227.h,VIDEOS["UPD7227"] = true
+--------------------------------------------------
+
+if (VIDEOS["UPD7227"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/upd7227.cpp",
+ MAME_DIR .. "src/devices/video/upd7227.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/vic4567.h,VIDEOS["VIC4567"] = true
+--------------------------------------------------
+
+if (VIDEOS["VIC4567"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/vic4567.cpp",
+ MAME_DIR .. "src/devices/video/vic4567.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/v9938.h,VIDEOS["V9938"] = true
+--------------------------------------------------
+
+if (VIDEOS["V9938"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/v9938.cpp",
+ MAME_DIR .. "src/devices/video/v9938.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/zeus2.h,VIDEOS["ZEUS2"] = true
+--------------------------------------------------
+
+if (VIDEOS["ZEUS2"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/zeus2.cpp",
+ MAME_DIR .. "src/devices/video/zeus2.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/voodoo.h,VIDEOS["VOODOO"] = true
+--------------------------------------------------
+
+if (VIDEOS["VOODOO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/voodoo.cpp",
+ MAME_DIR .. "src/devices/video/voodoo.h",
+ MAME_DIR .. "src/devices/video/vooddefs.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/voodoo_pci.h,VIDEOS["VOODOO_PCI"] = true
+--------------------------------------------------
+
+if (VIDEOS["VOODOO_PCI"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/voodoo_pci.cpp",
+ MAME_DIR .. "src/devices/video/voodoo_pci.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/crtc_ega.h,VIDEOS["CRTC_EGA"] = true
+--------------------------------------------------
+
+if (VIDEOS["CRTC_EGA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/crtc_ega.cpp",
+ MAME_DIR .. "src/devices/video/crtc_ega.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/jangou_blitter.h,VIDEOS["JANGOU_BLITTER"] = true
+--------------------------------------------------
+
+if (VIDEOS["JANGOU_BLITTER"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/jangou_blitter.cpp",
+ MAME_DIR .. "src/devices/video/jangou_blitter.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/gb_lcd.h,VIDEOS["GB_LCD"] = true
+--------------------------------------------------
+
+if (VIDEOS["GB_LCD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/gb_lcd.cpp",
+ MAME_DIR .. "src/devices/video/gb_lcd.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/gba_lcd.h,VIDEOS["GBA_LCD"] = true
+--------------------------------------------------
+
+if (VIDEOS["GBA_LCD"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/gba_lcd.cpp",
+ MAME_DIR .. "src/devices/video/gba_lcd.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/ef9369.h,VIDEOS["EF9369"] = true
+--------------------------------------------------
+
+if (VIDEOS["EF9369"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/ef9369.cpp",
+ MAME_DIR .. "src/devices/video/ef9369.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/ppu2c0x.h,VIDEOS["PPU2C0X"] = true
+--------------------------------------------------
+
+if (VIDEOS["PPU2C0X"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/ppu2c0x.cpp",
+ MAME_DIR .. "src/devices/video/ppu2c0x.h",
+ MAME_DIR .. "src/devices/video/ppu2c0x_vt.cpp",
+ MAME_DIR .. "src/devices/video/ppu2c0x_vt.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/bt459.h,VIDEOS["BT459"] = true
+--------------------------------------------------
+
+if (VIDEOS["BT459"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/bt459.cpp",
+ MAME_DIR .. "src/devices/video/bt459.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/imagetek_i4100.h,VIDEOS["I4100"] = true
+--------------------------------------------------
+
+if (VIDEOS["I4100"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/imagetek_i4100.cpp",
+ MAME_DIR .. "src/devices/video/imagetek_i4100.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/dp8510.h,VIDEOS["DP8510"] = true
+--------------------------------------------------
+
+if (VIDEOS["DP8510"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/dp8510.cpp",
+ MAME_DIR .. "src/devices/video/dp8510.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/bt45x.h,VIDEOS["BT45X"] = true
+--------------------------------------------------
+
+if (VIDEOS["BT45X"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/bt45x.cpp",
+ MAME_DIR .. "src/devices/video/bt45x.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/topcat.h,VIDEOS["TOPCAT"] = true
+--------------------------------------------------
+if (VIDEOS["TOPCAT"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/topcat.cpp",
+ MAME_DIR .. "src/devices/video/topcat.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/catseye.h,VIDEOS["CATSEYE"] = true
+--------------------------------------------------
+if (VIDEOS["CATSEYE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/catseye.cpp",
+ MAME_DIR .. "src/devices/video/catseye.h",
+ }
+end
+
+
+--------------------------------------------------
+--
+--@src/devices/video/nereid.h,VIDEOS["NEREID"] = true
+--------------------------------------------------
+if (VIDEOS["NEREID"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/nereid.cpp",
+ MAME_DIR .. "src/devices/video/nereid.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/ps2gif.h,VIDEOS["PS2GIF"] = true
+--------------------------------------------------
+if (VIDEOS["PS2GIF"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/ps2gif.cpp",
+ MAME_DIR .. "src/devices/video/ps2gif.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/ps2gs.h,VIDEOS["PS2GS"] = true
+--------------------------------------------------
+if (VIDEOS["PS2GS"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/ps2gs.cpp",
+ MAME_DIR .. "src/devices/video/ps2gs.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/decsfb.h,VIDEOS["DECSFB"] = true
+--------------------------------------------------
+if (VIDEOS["DECSFB"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/decsfb.cpp",
+ MAME_DIR .. "src/devices/video/decsfb.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/bt47x.h,VIDEOS["BT47X"] = true
+--------------------------------------------------
+
+if (VIDEOS["BT47X"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/bt47x.cpp",
+ MAME_DIR .. "src/devices/video/bt47x.h",
+ }
+end