summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/formats.lua
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2021-03-04 09:36:22 +0100
committer Olivier Galibert <galibert@pobox.com>2021-03-04 10:14:24 +0100
commitd436cbd3a6214bbd98d5aebdf65be309562e69c1 (patch)
treed825643fdf5f47bc55e618ff00102cd9d961af7b /scripts/src/formats.lua
parent2fc1ef472bff26ae8fe3ed5ef11020dd3feaa93d (diff)
formats: Create mame_formats_full_list which gives access to all the supported formats, make floptool use it. Castool should use it too probably, but I don't want to touch it.
Diffstat (limited to 'scripts/src/formats.lua')
-rw-r--r--scripts/src/formats.lua332
1 files changed, 168 insertions, 164 deletions
diff --git a/scripts/src/formats.lua b/scripts/src/formats.lua
index b8bf90c2c55..029b388675f 100644
--- a/scripts/src/formats.lua
+++ b/scripts/src/formats.lua
@@ -25,10 +25,14 @@ project "formats"
MAME_DIR .. "src/lib",
MAME_DIR .. "src/lib/util",
MAME_DIR .. "3rdparty",
+ GEN_DIR,
ext_includedir("zlib"),
}
files {
+ MAME_DIR .. "src/lib/formats/all.cpp",
+ MAME_DIR .. "src/lib/formats/all.h",
+
MAME_DIR .. "src/lib/formats/ioprocs.cpp",
MAME_DIR .. "src/lib/formats/ioprocs.h",
MAME_DIR .. "src/lib/formats/imageutl.cpp",
@@ -72,7 +76,7 @@ project "formats"
--@src/lib/formats/2d_dsk.h,FORMATS["2D_DSK"] = true
--------------------------------------------------
-if (FORMATS["2D_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "2D_DSK") then
files {
MAME_DIR.. "src/lib/formats/2d_dsk.cpp",
MAME_DIR.. "src/lib/formats/2d_dsk.h",
@@ -84,7 +88,7 @@ end
--@src/lib/formats/a26_cas.h,FORMATS["A26_CAS"] = true
--------------------------------------------------
-if (FORMATS["A26_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "A26_CAS") then
files {
MAME_DIR.. "src/lib/formats/a26_cas.cpp",
MAME_DIR.. "src/lib/formats/a26_cas.h",
@@ -96,7 +100,7 @@ end
--@src/lib/formats/a5105_dsk.h,FORMATS["A5105_DSK"] = true
--------------------------------------------------
-if (FORMATS["A5105_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "A5105_DSK") then
files {
MAME_DIR.. "src/lib/formats/a5105_dsk.cpp",
MAME_DIR.. "src/lib/formats/a5105_dsk.h",
@@ -108,7 +112,7 @@ end
--@src/lib/formats/abc800_dsk.h,FORMATS["ABC800_DSK"] = true
--------------------------------------------------
-if (FORMATS["ABC800_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ABC800_DSK") then
files {
MAME_DIR.. "src/lib/formats/abc800_dsk.cpp",
MAME_DIR.. "src/lib/formats/abc800_dsk.h",
@@ -120,7 +124,7 @@ end
--@src/lib/formats/abcfd2_dsk.h,FORMATS["ABCFD2_DSK"] = true
--------------------------------------------------
-if (FORMATS["ABCFD2_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ABCFD2_DSK") then
files {
MAME_DIR.. "src/lib/formats/abcfd2_dsk.cpp",
MAME_DIR.. "src/lib/formats/abcfd2_dsk.h",
@@ -132,7 +136,7 @@ end
--@src/lib/formats/ace_tap.h,FORMATS["ACE_TAP"] = true
--------------------------------------------------
-if (FORMATS["ACE_TAP"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ACE_TAP") then
files {
MAME_DIR.. "src/lib/formats/ace_tap.cpp",
MAME_DIR.. "src/lib/formats/ace_tap.h",
@@ -144,7 +148,7 @@ end
--@src/lib/formats/acorn_dsk.h,FORMATS["ACORN_DSK"] = true
--------------------------------------------------
-if (FORMATS["ACORN_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ACORN_DSK") then
files {
MAME_DIR.. "src/lib/formats/acorn_dsk.cpp",
MAME_DIR.. "src/lib/formats/acorn_dsk.h",
@@ -156,7 +160,7 @@ end
--@src/lib/formats/adam_cas.h,FORMATS["ADAM_CAS"] = true
--------------------------------------------------
-if (FORMATS["ADAM_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ADAM_CAS") then
files {
MAME_DIR.. "src/lib/formats/adam_cas.cpp",
MAME_DIR.. "src/lib/formats/adam_cas.h",
@@ -168,7 +172,7 @@ end
--@src/lib/formats/adam_dsk.h,FORMATS["ADAM_DSK"] = true
--------------------------------------------------
-if (FORMATS["ADAM_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ADAM_DSK") then
files {
MAME_DIR.. "src/lib/formats/adam_dsk.cpp",
MAME_DIR.. "src/lib/formats/adam_dsk.h",
@@ -180,7 +184,7 @@ end
--@src/lib/formats/afs_dsk.h,FORMATS["AFS_DSK"] = true
--------------------------------------------------
-if (FORMATS["AFS_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "AFS_DSK") then
files {
MAME_DIR.. "src/lib/formats/afs_dsk.cpp",
MAME_DIR.. "src/lib/formats/afs_dsk.h",
@@ -192,7 +196,7 @@ end
--@src/lib/formats/agat840k_hle_dsk.h,FORMATS["AGAT840K_HLE_DSK"] = true
--------------------------------------------------
-if (FORMATS["AGAT840K_HLE_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "AGAT840K_HLE_DSK") then
files {
MAME_DIR.. "src/lib/formats/agat840k_hle_dsk.cpp",
MAME_DIR.. "src/lib/formats/agat840k_hle_dsk.h",
@@ -204,7 +208,7 @@ end
--@src/lib/formats/aim_dsk.h,FORMATS["AIM_DSK"] = true
--------------------------------------------------
-if (FORMATS["AIM_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "AIM_DSK") then
files {
MAME_DIR.. "src/lib/formats/aim_dsk.cpp",
MAME_DIR.. "src/lib/formats/aim_dsk.h",
@@ -216,7 +220,7 @@ end
--@src/lib/formats/ami_dsk.h,FORMATS["AMI_DSK"] = true
--------------------------------------------------
-if (FORMATS["AMI_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "AMI_DSK") then
files {
MAME_DIR.. "src/lib/formats/ami_dsk.cpp",
MAME_DIR.. "src/lib/formats/ami_dsk.h",
@@ -228,7 +232,7 @@ end
--@src/lib/formats/ap2_dsk.h,FORMATS["AP2_DSK"] = true
--------------------------------------------------
-if (FORMATS["AP2_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "AP2_DSK") then
files {
MAME_DIR.. "src/lib/formats/ap2_dsk.cpp",
MAME_DIR.. "src/lib/formats/ap2_dsk.h",
@@ -240,7 +244,7 @@ end
--@src/lib/formats/apd_dsk.h,FORMATS["APD_DSK"] = true
--------------------------------------------------
-if (FORMATS["APD_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "APD_DSK") then
files {
MAME_DIR.. "src/lib/formats/apd_dsk.cpp",
MAME_DIR.. "src/lib/formats/apd_dsk.h",
@@ -252,7 +256,7 @@ end
--@src/lib/formats/apf_apt.h,FORMATS["APF_APT"] = true
--------------------------------------------------
-if (FORMATS["APF_APT"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "APF_APT") then
files {
MAME_DIR.. "src/lib/formats/apf_apt.cpp",
MAME_DIR.. "src/lib/formats/apf_apt.h",
@@ -264,7 +268,7 @@ end
--@src/lib/formats/apollo_dsk.h,FORMATS["APOLLO_DSK"] = true
--------------------------------------------------
-if (FORMATS["APOLLO_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "APOLLO_DSK") then
files {
MAME_DIR.. "src/lib/formats/apollo_dsk.cpp",
MAME_DIR.. "src/lib/formats/apollo_dsk.h",
@@ -276,7 +280,7 @@ end
--@src/lib/formats/applix_dsk.h,FORMATS["APPLIX_DSK"] = true
--------------------------------------------------
-if (FORMATS["APPLIX_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "APPLIX_DSK") then
files {
MAME_DIR.. "src/lib/formats/applix_dsk.cpp",
MAME_DIR.. "src/lib/formats/applix_dsk.h",
@@ -288,7 +292,7 @@ end
--@src/lib/formats/apridisk.h,FORMATS["APRIDISK"] = true
--------------------------------------------------
-if (FORMATS["APRIDISK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "APRIDISK") then
files {
MAME_DIR.. "src/lib/formats/apridisk.cpp",
MAME_DIR.. "src/lib/formats/apridisk.h",
@@ -300,7 +304,7 @@ end
--@src/lib/formats/ap_dsk35.h,FORMATS["AP_DSK35"] = true
--------------------------------------------------
-if (FORMATS["AP_DSK35"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "AP_DSK35") then
files {
MAME_DIR.. "src/lib/formats/ap_dsk35.cpp",
MAME_DIR.. "src/lib/formats/ap_dsk35.h",
@@ -312,7 +316,7 @@ end
--@src/lib/formats/aquarius_caq.h,FORMATS["AQUARIUS_CAQ"] = true
--------------------------------------------------
-if (FORMATS["AQUARIUS_CAQ"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "AQUARIUS_CAQ") then
files {
MAME_DIR.. "src/lib/formats/aquarius_caq.cpp",
MAME_DIR.. "src/lib/formats/aquarius_caq.h",
@@ -324,7 +328,7 @@ end
--@src/lib/formats/asst128_dsk.h,FORMATS["ASST128_DSK"] = true
--------------------------------------------------
-if (FORMATS["ASST128_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ASST128_DSK") then
files {
MAME_DIR.. "src/lib/formats/asst128_dsk.cpp",
MAME_DIR.. "src/lib/formats/asst128_dsk.h",
@@ -336,7 +340,7 @@ end
--@src/lib/formats/atari_dsk.h,FORMATS["ATARI_DSK"] = true
--------------------------------------------------
-if (FORMATS["ATARI_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ATARI_DSK") then
files {
MAME_DIR.. "src/lib/formats/atari_dsk.cpp",
MAME_DIR.. "src/lib/formats/atari_dsk.h",
@@ -348,7 +352,7 @@ end
--@src/lib/formats/atom_dsk.h,FORMATS["ATOM_DSK"] = true
--------------------------------------------------
-if (FORMATS["ATOM_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ATOM_DSK") then
files {
MAME_DIR.. "src/lib/formats/atom_dsk.cpp",
MAME_DIR.. "src/lib/formats/atom_dsk.h",
@@ -360,7 +364,7 @@ end
--@src/lib/formats/atom_tap.h,FORMATS["ATOM_TAP"] = true
--------------------------------------------------
-if (FORMATS["ATOM_TAP"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ATOM_TAP") then
files {
MAME_DIR.. "src/lib/formats/atom_tap.cpp",
MAME_DIR.. "src/lib/formats/atom_tap.h",
@@ -372,7 +376,7 @@ end
--@src/lib/formats/basicdsk.h,FORMATS["BASICDSK"] = true
--------------------------------------------------
-if (FORMATS["BASICDSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "BASICDSK") then
files {
MAME_DIR.. "src/lib/formats/basicdsk.cpp",
MAME_DIR.. "src/lib/formats/basicdsk.h",
@@ -384,7 +388,7 @@ end
--@src/lib/formats/bw12_dsk.h,FORMATS["BW12_DSK"] = true
--------------------------------------------------
-if (FORMATS["BW12_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "BW12_DSK") then
files {
MAME_DIR.. "src/lib/formats/bw12_dsk.cpp",
MAME_DIR.. "src/lib/formats/bw12_dsk.h",
@@ -396,7 +400,7 @@ end
--@src/lib/formats/bw2_dsk.h,FORMATS["BW2_DSK"] = true
--------------------------------------------------
-if (FORMATS["BW2_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "BW2_DSK") then
files {
MAME_DIR.. "src/lib/formats/bw2_dsk.cpp",
MAME_DIR.. "src/lib/formats/bw2_dsk.h",
@@ -408,7 +412,7 @@ end
--@src/lib/formats/c3040_dsk.h,FORMATS["C3040_DSK"] = true
--------------------------------------------------
-if (FORMATS["C3040_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "C3040_DSK") then
files {
MAME_DIR.. "src/lib/formats/c3040_dsk.cpp",
MAME_DIR.. "src/lib/formats/c3040_dsk.h",
@@ -420,7 +424,7 @@ end
--@src/lib/formats/c4040_dsk.h,FORMATS["C4040_DSK"] = true
--------------------------------------------------
-if (FORMATS["C4040_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "C4040_DSK") then
files {
MAME_DIR.. "src/lib/formats/c4040_dsk.cpp",
MAME_DIR.. "src/lib/formats/c4040_dsk.h",
@@ -432,7 +436,7 @@ end
--@src/lib/formats/c8280_dsk.h,FORMATS["C8280_DSK"] = true
--------------------------------------------------
-if (FORMATS["C8280_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "C8280_DSK") then
files {
MAME_DIR.. "src/lib/formats/c8280_dsk.cpp",
MAME_DIR.. "src/lib/formats/c8280_dsk.h",
@@ -444,7 +448,7 @@ end
--@src/lib/formats/camplynx_cas.h,FORMATS["CAMPLYNX_CAS"] = true
--------------------------------------------------
-if (FORMATS["CAMPLYNX_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CAMPLYNX_CAS") then
files {
MAME_DIR.. "src/lib/formats/camplynx_cas.cpp",
MAME_DIR.. "src/lib/formats/camplynx_cas.h",
@@ -456,7 +460,7 @@ end
--@src/lib/formats/camplynx_dsk.h,FORMATS["CAMPLYNX_DSK"] = true
--------------------------------------------------
-if (FORMATS["CAMPLYNX_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CAMPLYNX_DSK") then
files {
MAME_DIR.. "src/lib/formats/camplynx_dsk.cpp",
MAME_DIR.. "src/lib/formats/camplynx_dsk.h",
@@ -468,7 +472,7 @@ end
--@src/lib/formats/cbm_crt.h,FORMATS["CBM_CRT"] = true
--------------------------------------------------
-if (FORMATS["CBM_CRT"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CBM_CRT") then
files {
MAME_DIR.. "src/lib/formats/cbm_crt.cpp",
MAME_DIR.. "src/lib/formats/cbm_crt.h",
@@ -480,7 +484,7 @@ end
--@src/lib/formats/cbm_tap.h,FORMATS["CBM_TAP"] = true
--------------------------------------------------
-if (FORMATS["CBM_TAP"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CBM_TAP") then
files {
MAME_DIR.. "src/lib/formats/cbm_tap.cpp",
MAME_DIR.. "src/lib/formats/cbm_tap.h",
@@ -492,7 +496,7 @@ end
--@src/lib/formats/ccvf_dsk.h,FORMATS["CCVF_DSK"] = true
--------------------------------------------------
-if (FORMATS["CCVF_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CCVF_DSK") then
files {
MAME_DIR.. "src/lib/formats/ccvf_dsk.cpp",
MAME_DIR.. "src/lib/formats/ccvf_dsk.h",
@@ -504,7 +508,7 @@ end
--@src/lib/formats/cd90_640_dsk.h,FORMATS["CD90_640_DSK"] = true
--------------------------------------------------
-if (FORMATS["CD90_640_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CD90_640_DSK") then
files {
MAME_DIR.. "src/lib/formats/cd90_640_dsk.cpp",
MAME_DIR.. "src/lib/formats/cd90_640_dsk.h",
@@ -516,7 +520,7 @@ end
--@src/lib/formats/cgenie_dsk.h,FORMATS["CGENIE_DSK"] = true
--------------------------------------------------
-if (FORMATS["CGENIE_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CGENIE_DSK") then
files {
MAME_DIR.. "src/lib/formats/cgenie_dsk.cpp",
MAME_DIR.. "src/lib/formats/cgenie_dsk.h",
@@ -528,7 +532,7 @@ end
--@src/lib/formats/cgen_cas.h,FORMATS["CGEN_CAS"] = true
--------------------------------------------------
-if (FORMATS["CGEN_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CGEN_CAS") then
files {
MAME_DIR.. "src/lib/formats/cgen_cas.cpp",
MAME_DIR.. "src/lib/formats/cgen_cas.h",
@@ -540,7 +544,7 @@ end
--@src/lib/formats/coco_cas.h,FORMATS["COCO_CAS"] = true
--------------------------------------------------
-if (FORMATS["COCO_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "COCO_CAS") then
files {
MAME_DIR.. "src/lib/formats/coco_cas.cpp",
MAME_DIR.. "src/lib/formats/coco_cas.h",
@@ -552,7 +556,7 @@ end
--@src/lib/formats/comx35_dsk.h,FORMATS["COMX35_DSK"] = true
--------------------------------------------------
-if (FORMATS["COMX35_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "COMX35_DSK") then
files {
MAME_DIR.. "src/lib/formats/comx35_dsk.cpp",
MAME_DIR.. "src/lib/formats/comx35_dsk.h",
@@ -564,7 +568,7 @@ end
--@src/lib/formats/concept_dsk.h,FORMATS["CONCEPT_DSK"] = true
--------------------------------------------------
-if (FORMATS["CONCEPT_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CONCEPT_DSK") then
files {
MAME_DIR.. "src/lib/formats/concept_dsk.cpp",
MAME_DIR.. "src/lib/formats/concept_dsk.h",
@@ -576,7 +580,7 @@ end
--@src/lib/formats/coupedsk.h,FORMATS["COUPEDSK"] = true
--------------------------------------------------
-if (FORMATS["COUPEDSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "COUPEDSK") then
files {
MAME_DIR.. "src/lib/formats/coupedsk.cpp",
MAME_DIR.. "src/lib/formats/coupedsk.h",
@@ -588,7 +592,7 @@ end
--@src/lib/formats/cpis_dsk.h,FORMATS["CPIS_DSK"] = true
--------------------------------------------------
-if (FORMATS["CPIS_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CPIS_DSK") then
files {
MAME_DIR.. "src/lib/formats/cpis_dsk.cpp",
MAME_DIR.. "src/lib/formats/cpis_dsk.h",
@@ -600,7 +604,7 @@ end
--@src/lib/formats/csw_cas.h,FORMATS["CSW_CAS"] = true
--------------------------------------------------
-if (FORMATS["CSW_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CSW_CAS") then
files {
MAME_DIR.. "src/lib/formats/csw_cas.cpp",
MAME_DIR.. "src/lib/formats/csw_cas.h",
@@ -612,7 +616,7 @@ end
--@src/lib/formats/d64_dsk.h,FORMATS["D64_DSK"] = true
--------------------------------------------------
-if (FORMATS["D64_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "D64_DSK") then
files {
MAME_DIR.. "src/lib/formats/d64_dsk.cpp",
MAME_DIR.. "src/lib/formats/d64_dsk.h",
@@ -624,7 +628,7 @@ end
--@src/lib/formats/d71_dsk.h,FORMATS["D71_DSK"] = true
--------------------------------------------------
-if (FORMATS["D71_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "D71_DSK") then
files {
MAME_DIR.. "src/lib/formats/d71_dsk.cpp",
MAME_DIR.. "src/lib/formats/d71_dsk.h",
@@ -636,7 +640,7 @@ end
--@src/lib/formats/d80_dsk.h,FORMATS["D80_DSK"] = true
--------------------------------------------------
-if (FORMATS["D80_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "D80_DSK") then
files {
MAME_DIR.. "src/lib/formats/d80_dsk.cpp",
MAME_DIR.. "src/lib/formats/d80_dsk.h",
@@ -648,7 +652,7 @@ end
--@src/lib/formats/d81_dsk.h,FORMATS["D81_DSK"] = true
--------------------------------------------------
-if (FORMATS["D81_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "D81_DSK") then
files {
MAME_DIR.. "src/lib/formats/d81_dsk.cpp",
MAME_DIR.. "src/lib/formats/d81_dsk.h",
@@ -660,7 +664,7 @@ end
--@src/lib/formats/d82_dsk.h,FORMATS["D82_DSK"] = true
--------------------------------------------------
-if (FORMATS["D82_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "D82_DSK") then
files {
MAME_DIR.. "src/lib/formats/d82_dsk.cpp",
MAME_DIR.. "src/lib/formats/d82_dsk.h",
@@ -672,7 +676,7 @@ end
--@src/lib/formats/dcp_dsk.h,FORMATS["DCP_DSK"] = true
--------------------------------------------------
-if (FORMATS["DCP_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "DCP_DSK") then
files {
MAME_DIR.. "src/lib/formats/dcp_dsk.cpp",
MAME_DIR.. "src/lib/formats/dcp_dsk.h",
@@ -684,7 +688,7 @@ end
--@src/lib/formats/dim_dsk.h,FORMATS["DIM_DSK"] = true
--------------------------------------------------
-if (FORMATS["DIM_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "DIM_DSK") then
files {
MAME_DIR.. "src/lib/formats/dim_dsk.cpp",
MAME_DIR.. "src/lib/formats/dim_dsk.h",
@@ -696,7 +700,7 @@ end
--@src/lib/formats/dip_dsk.h,FORMATS["DIP_DSK"] = true
--------------------------------------------------
-if (FORMATS["DIP_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "DIP_DSK") then
files {
MAME_DIR.. "src/lib/formats/dip_dsk.cpp",
MAME_DIR.. "src/lib/formats/dip_dsk.h",
@@ -708,7 +712,7 @@ end
--@src/lib/formats/dmk_dsk.h,FORMATS["DMK_DSK"] = true
--------------------------------------------------
-if (FORMATS["DMK_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "DMK_DSK") then
files {
MAME_DIR.. "src/lib/formats/dmk_dsk.cpp",
MAME_DIR.. "src/lib/formats/dmk_dsk.h",
@@ -720,7 +724,7 @@ end
--@src/lib/formats/ds9_dsk.h,FORMATS["DS9_DSK"] = true
--------------------------------------------------
-if (FORMATS["DS9_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "DS9_DSK") then
files {
MAME_DIR.. "src/lib/formats/ds9_dsk.cpp",
MAME_DIR.. "src/lib/formats/ds9_dsk.h",
@@ -732,7 +736,7 @@ end
--@src/lib/formats/sdf_dsk.h,FORMATS["SDF_DSK"] = true
--------------------------------------------------
-if (FORMATS["SDF_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SDF_DSK") then
files {
MAME_DIR.. "src/lib/formats/sdf_dsk.cpp",
MAME_DIR.. "src/lib/formats/sdf_dsk.h",
@@ -744,7 +748,7 @@ end
--@src/lib/formats/ep64_dsk.h,FORMATS["EP64_DSK"] = true
--------------------------------------------------
-if (FORMATS["EP64_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "EP64_DSK") then
files {
MAME_DIR.. "src/lib/formats/ep64_dsk.cpp",
MAME_DIR.. "src/lib/formats/ep64_dsk.h",
@@ -756,7 +760,7 @@ end
--@src/lib/formats/dmv_dsk.h,FORMATS["DMV_DSK"] = true
--------------------------------------------------
-if (FORMATS["DMV_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "DMV_DSK") then
files {
MAME_DIR.. "src/lib/formats/dmv_dsk.cpp",
MAME_DIR.. "src/lib/formats/dmv_dsk.h",
@@ -768,7 +772,7 @@ end
--@src/lib/formats/dvk_mx_dsk.h,FORMATS["DVK_MX_DSK"] = true
--------------------------------------------------
-if (FORMATS["DVK_MX_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "DVK_MX_DSK") then
files {
MAME_DIR.. "src/lib/formats/dvk_mx_dsk.cpp",
MAME_DIR.. "src/lib/formats/dvk_mx_dsk.h",
@@ -780,7 +784,7 @@ end
--@src/lib/formats/esq16_dsk.h,FORMATS["ESQ16_DSK"] = true
--------------------------------------------------
-if (FORMATS["ESQ16_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ESQ16_DSK") then
files {
MAME_DIR.. "src/lib/formats/esq16_dsk.cpp",
MAME_DIR.. "src/lib/formats/esq16_dsk.h",
@@ -792,7 +796,7 @@ end
--@src/lib/formats/esq8_dsk.h,FORMATS["ESQ8_DSK"] = true
--------------------------------------------------
-if (FORMATS["ESQ8_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ESQ8_DSK") then
files {
MAME_DIR.. "src/lib/formats/esq8_dsk.cpp",
MAME_DIR.. "src/lib/formats/esq8_dsk.h",
@@ -804,7 +808,7 @@ end
--@src/lib/formats/excali64_dsk.h,FORMATS["EXCALI64_DSK"] = true
--------------------------------------------------
-if (FORMATS["EXCALI64_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "EXCALI64_DSK") then
files {
MAME_DIR.. "src/lib/formats/excali64_dsk.cpp",
MAME_DIR.. "src/lib/formats/excali64_dsk.h",
@@ -816,7 +820,7 @@ end
--@src/lib/formats/fc100_cas.h,FORMATS["FC100_CAS"] = true
--------------------------------------------------
-if (FORMATS["FC100_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "FC100_CAS") then
files {
MAME_DIR.. "src/lib/formats/fc100_cas.cpp",
MAME_DIR.. "src/lib/formats/fc100_cas.h",
@@ -828,7 +832,7 @@ end
--@src/lib/formats/fdd_dsk.h,FORMATS["FDD_DSK"] = true
--------------------------------------------------
-if (FORMATS["FDD_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "FDD_DSK") then
files {
MAME_DIR.. "src/lib/formats/fdd_dsk.cpp",
MAME_DIR.. "src/lib/formats/fdd_dsk.h",
@@ -840,7 +844,7 @@ end
--@src/lib/formats/fl1_dsk.h,FORMATS["FL1_DSK"] = true
--------------------------------------------------
-if (FORMATS["FL1_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "FL1_DSK") then
files {
MAME_DIR.. "src/lib/formats/fl1_dsk.cpp",
MAME_DIR.. "src/lib/formats/fl1_dsk.h",
@@ -852,7 +856,7 @@ end
--@src/lib/formats/flex_dsk.h,FORMATS["FLEX_DSK"] = true
--------------------------------------------------
-if (FORMATS["FLEX_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "FLEX_DSK") then
files {
MAME_DIR.. "src/lib/formats/flex_dsk.cpp",
MAME_DIR.. "src/lib/formats/flex_dsk.h",
@@ -864,7 +868,7 @@ end
--@src/lib/formats/uniflex_dsk.h,FORMATS["UNIFLEX_DSK"] = true
--------------------------------------------------
-if (FORMATS["UNIFLEX_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "UNIFLEX_DSK") then
files {
MAME_DIR.. "src/lib/formats/uniflex_dsk.cpp",
MAME_DIR.. "src/lib/formats/uniflex_dsk.h",
@@ -876,7 +880,7 @@ end
--@src/lib/formats/fm7_cas.h,FORMATS["FM7_CAS"] = true
--------------------------------------------------
-if (FORMATS["FM7_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "FM7_CAS") then
files {
MAME_DIR.. "src/lib/formats/fm7_cas.cpp",
MAME_DIR.. "src/lib/formats/fm7_cas.h",
@@ -888,7 +892,7 @@ end
--@src/lib/formats/fmsx_cas.h,FORMATS["FMSX_CAS"] = true
--------------------------------------------------
-if (FORMATS["FMSX_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "FMSX_CAS") then
files {
MAME_DIR.. "src/lib/formats/fmsx_cas.cpp",
MAME_DIR.. "src/lib/formats/fmsx_cas.h",
@@ -900,7 +904,7 @@ end
--@src/lib/formats/fmtowns_dsk.h,FORMATS["FMTOWNS_DSK"] = true
--------------------------------------------------
-if (FORMATS["FMTOWNS_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "FMTOWNS_DSK") then
files {
MAME_DIR.. "src/lib/formats/fmtowns_dsk.cpp",
MAME_DIR.. "src/lib/formats/fmtowns_dsk.h",
@@ -912,7 +916,7 @@ end
--@src/lib/formats/fsd_dsk.h,FORMATS["FSD_DSK"] = true
--------------------------------------------------
-if (FORMATS["FSD_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "FSD_DSK") then
files {
MAME_DIR.. "src/lib/formats/fsd_dsk.cpp",
MAME_DIR.. "src/lib/formats/fsd_dsk.h",
@@ -924,7 +928,7 @@ end
--@src/lib/formats/g64_dsk.h,FORMATS["G64_DSK"] = true
--------------------------------------------------
-if (FORMATS["G64_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "G64_DSK") then
files {
MAME_DIR.. "src/lib/formats/g64_dsk.cpp",
MAME_DIR.. "src/lib/formats/g64_dsk.h",
@@ -936,7 +940,7 @@ end
--@src/lib/formats/gtp_cas.h,FORMATS["GTP_CAS"] = true
--------------------------------------------------
-if (FORMATS["GTP_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "GTP_CAS") then
files {
MAME_DIR.. "src/lib/formats/gtp_cas.cpp",
MAME_DIR.. "src/lib/formats/gtp_cas.h",
@@ -948,7 +952,7 @@ end
--@src/lib/formats/guab_dsk.h,FORMATS["GUAB_DSK"] = true
--------------------------------------------------
-if (FORMATS["GUAB_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "GUAB_DSK") then
files {
MAME_DIR.. "src/lib/formats/guab_dsk.cpp",
MAME_DIR.. "src/lib/formats/guab_dsk.h",
@@ -960,7 +964,7 @@ end
--@src/lib/formats/h8_cas.h,FORMATS["H8_CAS"] = true
--------------------------------------------------
-if (FORMATS["H8_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "H8_CAS") then
files {
MAME_DIR.. "src/lib/formats/h8_cas.cpp",
MAME_DIR.. "src/lib/formats/h8_cas.h",
@@ -972,7 +976,7 @@ end
--@src/lib/formats/hector_minidisc.h,FORMATS["HECTOR_MINIDISC"] = true
--------------------------------------------------
-if (FORMATS["HECTOR_MINIDISC"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "HECTOR_MINIDISC") then
files {
MAME_DIR.. "src/lib/formats/hector_minidisc.cpp",
MAME_DIR.. "src/lib/formats/hector_minidisc.h",
@@ -984,7 +988,7 @@ end
--@src/lib/formats/hect_dsk.h,FORMATS["HECT_DSK"] = true
--------------------------------------------------
-if (FORMATS["HECT_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "HECT_DSK") then
files {
MAME_DIR.. "src/lib/formats/hect_dsk.cpp",
MAME_DIR.. "src/lib/formats/hect_dsk.h",
@@ -996,7 +1000,7 @@ end
--@src/lib/formats/hect_tap.h,FORMATS["HECT_TAP"] = true
--------------------------------------------------
-if (FORMATS["HECT_TAP"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "HECT_TAP") then
files {
MAME_DIR.. "src/lib/formats/hect_tap.cpp",
MAME_DIR.. "src/lib/formats/hect_tap.h",
@@ -1008,7 +1012,7 @@ end
--@src/lib/formats/hti_tape.h,FORMATS["HTI_TAP"] = true
--------------------------------------------------
-if (FORMATS["HTI_TAP"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "HTI_TAP") then
files {
MAME_DIR.. "src/lib/formats/hti_tape.cpp",
MAME_DIR.. "src/lib/formats/hti_tape.h",
@@ -1020,7 +1024,7 @@ end
--@src/lib/formats/hpi_dsk.h,FORMATS["HPI_DSK"] = true
--------------------------------------------------
-if (FORMATS["HPI_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "HPI_DSK") then
files {
MAME_DIR.. "src/lib/formats/hpi_dsk.cpp",
MAME_DIR.. "src/lib/formats/hpi_dsk.h",
@@ -1032,7 +1036,7 @@ end
--@src/lib/formats/hp_ipc_dsk.h,FORMATS["HP_IPC_DSK"] = true
--------------------------------------------------
-if (FORMATS["HP_IPC_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "HP_IPC_DSK") then
files {
MAME_DIR.. "src/lib/formats/hp_ipc_dsk.cpp",
MAME_DIR.. "src/lib/formats/hp_ipc_dsk.h",
@@ -1044,7 +1048,7 @@ end
--@src/lib/formats/img_dsk.h,FORMATS["IMG_DSK"] = true
--------------------------------------------------
-if (FORMATS["IMG_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "IMG_DSK") then
files {
MAME_DIR.. "src/lib/formats/img_dsk.cpp",
MAME_DIR.. "src/lib/formats/img_dsk.h",
@@ -1056,7 +1060,7 @@ end
--@src/lib/formats/iq151_dsk.h,FORMATS["IQ151_DSK"] = true
--------------------------------------------------
-if (FORMATS["IQ151_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "IQ151_DSK") then
files {
MAME_DIR.. "src/lib/formats/iq151_dsk.cpp",
MAME_DIR.. "src/lib/formats/iq151_dsk.h",
@@ -1068,7 +1072,7 @@ end
--@src/lib/formats/itt3030_dsk.h,FORMATS["ITT3030_DSK"] = true
--------------------------------------------------
-if (FORMATS["ITT3030_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ITT3030_DSK") then
files {
MAME_DIR.. "src/lib/formats/itt3030_dsk.cpp",
MAME_DIR.. "src/lib/formats/itt3030_dsk.h",
@@ -1080,7 +1084,7 @@ end
--@src/lib/formats/juku_dsk.h,FORMATS["JUKU_DSK"] = true
--------------------------------------------------
-if (FORMATS["JUKU_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "JUKU_DSK") then
files {
MAME_DIR.. "src/lib/formats/juku_dsk.cpp",
MAME_DIR.. "src/lib/formats/juku_dsk.h",
@@ -1092,7 +1096,7 @@ end
--@src/lib/formats/jvc_dsk.h,FORMATS["JVC_DSK"] = true
--------------------------------------------------
-if (FORMATS["JVC_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "JVC_DSK") then
files {
MAME_DIR.. "src/lib/formats/jvc_dsk.cpp",
MAME_DIR.. "src/lib/formats/jvc_dsk.h",
@@ -1104,7 +1108,7 @@ end
--@src/lib/formats/os9_dsk.h,FORMATS["OS9_DSK"] = true
--------------------------------------------------
-if (FORMATS["OS9_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "OS9_DSK") then
files {
MAME_DIR.. "src/lib/formats/os9_dsk.cpp",
MAME_DIR.. "src/lib/formats/os9_dsk.h",
@@ -1116,7 +1120,7 @@ end
--@src/lib/formats/jfd_dsk.h,FORMATS["JFD_DSK"] = true
--------------------------------------------------
-if (FORMATS["JFD_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "JFD_DSK") then
files {
MAME_DIR.. "src/lib/formats/jfd_dsk.cpp",
MAME_DIR.. "src/lib/formats/jfd_dsk.h",
@@ -1128,7 +1132,7 @@ end
--@src/lib/formats/kaypro_dsk.h,FORMATS["KAYPRO_DSK"] = true
--------------------------------------------------
-if (FORMATS["KAYPRO_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "KAYPRO_DSK") then
files {
MAME_DIR.. "src/lib/formats/kaypro_dsk.cpp",
MAME_DIR.. "src/lib/formats/kaypro_dsk.h",
@@ -1140,7 +1144,7 @@ end
--@src/lib/formats/kc85_dsk.h,FORMATS["KC85_DSK"] = true
--------------------------------------------------
-if (FORMATS["KC85_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "KC85_DSK") then
files {
MAME_DIR.. "src/lib/formats/kc85_dsk.cpp",
MAME_DIR.. "src/lib/formats/kc85_dsk.h",
@@ -1152,7 +1156,7 @@ end
--@src/lib/formats/kc_cas.h,FORMATS["KC_CAS"] = true
--------------------------------------------------
-if (FORMATS["KC_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "KC_CAS") then
files {
MAME_DIR.. "src/lib/formats/kc_cas.cpp",
MAME_DIR.. "src/lib/formats/kc_cas.h",
@@ -1164,7 +1168,7 @@ end
--@src/lib/formats/kim1_cas.h,FORMATS["KIM1_CAS"] = true
--------------------------------------------------
-if (FORMATS["KIM1_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "KIM1_CAS") then
files {
MAME_DIR.. "src/lib/formats/kim1_cas.cpp",
MAME_DIR.. "src/lib/formats/kim1_cas.h",
@@ -1176,7 +1180,7 @@ end
--@src/lib/formats/lviv_lvt.h,FORMATS["LVIV_LVT"] = true
--------------------------------------------------
-if (FORMATS["LVIV_LVT"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "LVIV_LVT") then
files {
MAME_DIR.. "src/lib/formats/lviv_lvt.cpp",
MAME_DIR.. "src/lib/formats/lviv_lvt.h",
@@ -1188,7 +1192,7 @@ end
--@src/lib/formats/m20_dsk.h,FORMATS["M20_DSK"] = true
--------------------------------------------------
-if (FORMATS["M20_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "M20_DSK") then
files {
MAME_DIR.. "src/lib/formats/m20_dsk.cpp",
MAME_DIR.. "src/lib/formats/m20_dsk.h",
@@ -1200,7 +1204,7 @@ end
--@src/lib/formats/m5_dsk.h,FORMATS["M5_DSK"] = true
--------------------------------------------------
-if (FORMATS["M5_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "M5_DSK") then
files {
MAME_DIR.. "src/lib/formats/m5_dsk.cpp",
MAME_DIR.. "src/lib/formats/m5_dsk.h",
@@ -1212,7 +1216,7 @@ end
--@src/lib/formats/mbee_cas.h,FORMATS["MBEE_CAS"] = true
--------------------------------------------------
-if (FORMATS["MBEE_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "MBEE_CAS") then
files {
MAME_DIR.. "src/lib/formats/mbee_cas.cpp",
MAME_DIR.. "src/lib/formats/mbee_cas.h",
@@ -1224,7 +1228,7 @@ end
--@src/lib/formats/mdos_dsk.h,FORMATS["MDOS_DSK"] = true
--------------------------------------------------
-if (FORMATS["MDOS_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "MDOS_DSK") then
files {
MAME_DIR.. "src/lib/formats/mdos_dsk.cpp",
MAME_DIR.. "src/lib/formats/mdos_dsk.h",
@@ -1236,7 +1240,7 @@ end
--@src/lib/formats/mfm_hd.h,FORMATS["MFM_HD"] = true
--------------------------------------------------
-if (FORMATS["MFM_HD"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "MFM_HD") then
files {
MAME_DIR.. "src/lib/formats/mfm_hd.cpp",
MAME_DIR.. "src/lib/formats/mfm_hd.h",
@@ -1248,7 +1252,7 @@ end
--@src/lib/formats/mm_dsk.h,FORMATS["MM_DSK"] = true
--------------------------------------------------
-if (FORMATS["MM_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "MM_DSK") then
files {
MAME_DIR.. "src/lib/formats/mm_dsk.cpp",
MAME_DIR.. "src/lib/formats/mm_dsk.h",
@@ -1260,7 +1264,7 @@ end
--@src/lib/formats/ms0515_dsk.h,FORMATS["MS0515_DSK"] = true
--------------------------------------------------
-if (FORMATS["MS0515_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "MS0515_DSK") then
files {
MAME_DIR.. "src/lib/formats/ms0515_dsk.cpp",
MAME_DIR.. "src/lib/formats/ms0515_dsk.h",
@@ -1272,7 +1276,7 @@ end
--@src/lib/formats/msx_dsk.h,FORMATS["MSX_DSK"] = true
--------------------------------------------------
-if (FORMATS["MSX_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "MSX_DSK") then
files {
MAME_DIR.. "src/lib/formats/msx_dsk.cpp",
MAME_DIR.. "src/lib/formats/msx_dsk.h",
@@ -1284,7 +1288,7 @@ end
--@src/lib/formats/mtx_dsk.h,FORMATS["MTX_DSK"] = true
--------------------------------------------------
-if (FORMATS["MTX_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "MTX_DSK") then
files {
MAME_DIR.. "src/lib/formats/mtx_dsk.cpp",
MAME_DIR.. "src/lib/formats/mtx_dsk.h",
@@ -1296,7 +1300,7 @@ end
--@src/lib/formats/mz_cas.h,FORMATS["MZ_CAS"] = true
--------------------------------------------------
-if (FORMATS["MZ_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "MZ_CAS") then
files {
MAME_DIR.. "src/lib/formats/mz_cas.cpp",
MAME_DIR.. "src/lib/formats/mz_cas.h",
@@ -1308,7 +1312,7 @@ end
--@src/lib/formats/nanos_dsk.h,FORMATS["NANOS_DSK"] = true
--------------------------------------------------
-if (FORMATS["NANOS_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "NANOS_DSK") then
files {
MAME_DIR.. "src/lib/formats/nanos_dsk.cpp",
MAME_DIR.. "src/lib/formats/nanos_dsk.h",
@@ -1320,7 +1324,7 @@ end
--@src/lib/formats/nascom_dsk.h,FORMATS["NASCOM_DSK"] = true
--------------------------------------------------
-if (FORMATS["NASCOM_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "NASCOM_DSK") then
files {
MAME_DIR.. "src/lib/formats/nascom_dsk.cpp",
MAME_DIR.. "src/lib/formats/nascom_dsk.h",
@@ -1332,7 +1336,7 @@ end
--@src/lib/formats/naslite_dsk.h,FORMATS["NASLITE_DSK"] = true
--------------------------------------------------
-if (FORMATS["NASLITE_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "NASLITE_DSK") then
files {
MAME_DIR.. "src/lib/formats/naslite_dsk.cpp",
MAME_DIR.. "src/lib/formats/naslite_dsk.h",
@@ -1344,7 +1348,7 @@ end
--@src/lib/formats/nes_dsk.h,FORMATS["NES_DSK"] = true
--------------------------------------------------
-if (FORMATS["NES_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "NES_DSK") then
files {
MAME_DIR.. "src/lib/formats/nes_dsk.cpp",
MAME_DIR.. "src/lib/formats/nes_dsk.h",
@@ -1356,7 +1360,7 @@ end
--@src/lib/formats/nfd_dsk.h,FORMATS["NFD_DSK"] = true
--------------------------------------------------
-if (FORMATS["NFD_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "NFD_DSK") then
files {
MAME_DIR.. "src/lib/formats/nfd_dsk.cpp",
MAME_DIR.. "src/lib/formats/nfd_dsk.h",
@@ -1368,7 +1372,7 @@ end
--@src/lib/formats/opd_dsk.h,FORMATS["OPD_DSK"] = true
--------------------------------------------------
-if (FORMATS["OPD_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "OPD_DSK") then
files {
MAME_DIR.. "src/lib/formats/opd_dsk.cpp",
MAME_DIR.. "src/lib/formats/opd_dsk.h",
@@ -1380,7 +1384,7 @@ end
--@src/lib/formats/orao_cas.h,FORMATS["ORAO_CAS"] = true
--------------------------------------------------
-if (FORMATS["ORAO_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ORAO_CAS") then
files {
MAME_DIR.. "src/lib/formats/orao_cas.cpp",
MAME_DIR.. "src/lib/formats/orao_cas.h",
@@ -1392,7 +1396,7 @@ end
--@src/lib/formats/oric_dsk.h,FORMATS["ORIC_DSK"] = true
--------------------------------------------------
-if (FORMATS["ORIC_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ORIC_DSK") then
files {
MAME_DIR.. "src/lib/formats/oric_dsk.cpp",
MAME_DIR.. "src/lib/formats/oric_dsk.h",
@@ -1404,7 +1408,7 @@ end
--@src/lib/formats/oric_tap.h,FORMATS["ORIC_TAP"] = true
--------------------------------------------------
-if (FORMATS["ORIC_TAP"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ORIC_TAP") then
files {
MAME_DIR.. "src/lib/formats/oric_tap.cpp",
MAME_DIR.. "src/lib/formats/oric_tap.h",
@@ -1416,7 +1420,7 @@ end
--@src/lib/formats/ibmxdf_dsk.h,FORMATS["IBMXDF_DSK"] = true
--------------------------------------------------
-if (FORMATS["IBMXDF_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "IBMXDF_DSK") then
files {
MAME_DIR.. "src/lib/formats/ibmxdf_dsk.cpp",
MAME_DIR.. "src/lib/formats/ibmxdf_dsk.h",
@@ -1428,7 +1432,7 @@ end
--@src/lib/formats/p2000t_cas.h,FORMATS["P2000T_CAS"] = true
--------------------------------------------------
-if (FORMATS["P2000T_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "P2000T_CAS") then
files {
MAME_DIR.. "src/lib/formats/p2000t_cas.cpp",
MAME_DIR.. "src/lib/formats/p2000t_cas.h",
@@ -1441,7 +1445,7 @@ end
--@src/lib/formats/p6001_cas.h,FORMATS["P6001_CAS"] = true
--------------------------------------------------
-if (FORMATS["P6001_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "P6001_CAS") then
files {
MAME_DIR.. "src/lib/formats/p6001_cas.cpp",
MAME_DIR.. "src/lib/formats/p6001_cas.h",
@@ -1453,7 +1457,7 @@ end
--@src/lib/formats/pasti_dsk.h,FORMATS["PASTI_DSK"] = true
--------------------------------------------------
-if (FORMATS["PASTI_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PASTI_DSK") then
files {
MAME_DIR.. "src/lib/formats/pasti_dsk.cpp",
MAME_DIR.. "src/lib/formats/pasti_dsk.h",
@@ -1465,7 +1469,7 @@ end
--@src/lib/formats/pc98fdi_dsk.h,FORMATS["PC98FDI_DSK"] = true
--------------------------------------------------
-if (FORMATS["PC98FDI_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PC98FDI_DSK") then
files {
MAME_DIR.. "src/lib/formats/pc98fdi_dsk.cpp",
MAME_DIR.. "src/lib/formats/pc98fdi_dsk.h",
@@ -1477,7 +1481,7 @@ end
--@src/lib/formats/pc98_dsk.h,FORMATS["PC98_DSK"] = true
--------------------------------------------------
-if (FORMATS["PC98_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PC98_DSK") then
files {
MAME_DIR.. "src/lib/formats/pc98_dsk.cpp",
MAME_DIR.. "src/lib/formats/pc98_dsk.h",
@@ -1489,7 +1493,7 @@ end
--@src/lib/formats/ipf_dsk.h,FORMATS["IPF_DSK"] = true
--------------------------------------------------
-if (FORMATS["IPF_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "IPF_DSK") then
files {
MAME_DIR.. "src/lib/formats/ipf_dsk.cpp",
MAME_DIR.. "src/lib/formats/ipf_dsk.h",
@@ -1501,7 +1505,7 @@ end
--@src/lib/formats/phc25_cas.h,FORMATS["PHC25_CAS"] = true
--------------------------------------------------
-if (FORMATS["PHC25_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PHC25_CAS") then
files {
MAME_DIR.. "src/lib/formats/phc25_cas.cpp",
MAME_DIR.. "src/lib/formats/phc25_cas.h",
@@ -1513,7 +1517,7 @@ end
--@src/lib/formats/pk8020_dsk.h,FORMATS["PK8020_DSK"] = true
--------------------------------------------------
-if (FORMATS["PK8020_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PK8020_DSK") then
files {
MAME_DIR.. "src/lib/formats/pk8020_dsk.cpp",
MAME_DIR.. "src/lib/formats/pk8020_dsk.h",
@@ -1525,7 +1529,7 @@ end
--@src/lib/formats/pmd_cas.h,FORMATS["PMD_CAS"] = true
--------------------------------------------------
-if (FORMATS["PMD_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PMD_CAS") then
files {
MAME_DIR.. "src/lib/formats/pmd_cas.cpp",
MAME_DIR.. "src/lib/formats/pmd_cas.h",
@@ -1537,7 +1541,7 @@ end
--@src/lib/formats/poly_dsk.h,FORMATS["POLY_DSK"] = true
--------------------------------------------------
-if (FORMATS["POLY_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "POLY_DSK") then
files {
MAME_DIR.. "src/lib/formats/poly_dsk.cpp",
MAME_DIR.. "src/lib/formats/poly_dsk.h",
@@ -1549,7 +1553,7 @@ end
--@src/lib/formats/ppg_dsk.h,FORMATS["PPG_DSK"] = true
--------------------------------------------------
-if (FORMATS["PPG_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PPG_DSK") then
files {
MAME_DIR.. "src/lib/formats/ppg_dsk.cpp",
MAME_DIR.. "src/lib/formats/ppg_dsk.h",
@@ -1561,7 +1565,7 @@ end
--@src/lib/formats/primoptp.h,FORMATS["PRIMOPTP"] = true
--------------------------------------------------
-if (FORMATS["PRIMOPTP"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PRIMOPTP") then
files {
MAME_DIR.. "src/lib/formats/primoptp.cpp",
MAME_DIR.. "src/lib/formats/primoptp.h",
@@ -1573,7 +1577,7 @@ end
--@src/lib/formats/pyldin_dsk.h,FORMATS["PYLDIN_DSK"] = true
--------------------------------------------------
-if (FORMATS["PYLDIN_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PYLDIN_DSK") then
files {
MAME_DIR.. "src/lib/formats/pyldin_dsk.cpp",
MAME_DIR.. "src/lib/formats/pyldin_dsk.h",
@@ -1585,7 +1589,7 @@ end
--@src/lib/formats/ql_dsk.h,FORMATS["QL_DSK"] = true
--------------------------------------------------
-if (FORMATS["QL_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "QL_DSK") then
files {
MAME_DIR.. "src/lib/formats/ql_dsk.cpp",
MAME_DIR.. "src/lib/formats/ql_dsk.h",
@@ -1609,7 +1613,7 @@ end
--@src/lib/formats/rk_cas.h,FORMATS["RK_CAS"] = true
--------------------------------------------------
-if (FORMATS["RK_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "RK_CAS") then
files {
MAME_DIR.. "src/lib/formats/rk_cas.cpp",
MAME_DIR.. "src/lib/formats/rk_cas.h",
@@ -1621,7 +1625,7 @@ end
--@src/lib/formats/rx50_dsk.h,FORMATS["RX50_DSK"] = true
--------------------------------------------------
-if (FORMATS["RX50_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "RX50_DSK") then
files {
MAME_DIR.. "src/lib/formats/rx50_dsk.cpp",
MAME_DIR.. "src/lib/formats/rx50_dsk.h",
@@ -1633,7 +1637,7 @@ end
--@src/lib/formats/sc3000_bit.h,FORMATS["SC3000_BIT"] = true
--------------------------------------------------
-if (FORMATS["SC3000_BIT"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SC3000_BIT") then
files {
MAME_DIR.. "src/lib/formats/sc3000_bit.cpp",
MAME_DIR.. "src/lib/formats/sc3000_bit.h",
@@ -1645,7 +1649,7 @@ end
--@src/lib/formats/sdd_dsk.h,FORMATS["SDD_DSK"] = true
--------------------------------------------------
-if (FORMATS["SDD_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SDD_DSK") then
files {
MAME_DIR.. "src/lib/formats/sdd_dsk.cpp",
MAME_DIR.. "src/lib/formats/sdd_dsk.h",
@@ -1657,7 +1661,7 @@ end
--@src/lib/formats/sf7000_dsk.h,FORMATS["SF7000_DSK"] = true
--------------------------------------------------
-if (FORMATS["SF7000_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SF7000_DSK") then
files {
MAME_DIR.. "src/lib/formats/sf7000_dsk.cpp",
MAME_DIR.. "src/lib/formats/sf7000_dsk.h",
@@ -1669,7 +1673,7 @@ end
--@src/lib/formats/smx_dsk.h,FORMATS["SMX_DSK"] = true
--------------------------------------------------
-if (FORMATS["SMX_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SMX_DSK") then
files {
MAME_DIR.. "src/lib/formats/smx_dsk.cpp",
MAME_DIR.. "src/lib/formats/smx_dsk.h",
@@ -1681,7 +1685,7 @@ end
--@src/lib/formats/sol_cas.h,FORMATS["SOL_CAS"] = true
--------------------------------------------------
-if (FORMATS["SOL_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SOL_CAS") then
files {
MAME_DIR.. "src/lib/formats/sol_cas.cpp",
MAME_DIR.. "src/lib/formats/sol_cas.h",
@@ -1693,7 +1697,7 @@ end
--@src/lib/formats/sorc_cas.h,FORMATS["SORC_CAS"] = true
--------------------------------------------------
-if (FORMATS["SORC_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SORC_CAS") then
files {
MAME_DIR.. "src/lib/formats/sorc_cas.cpp",
MAME_DIR.. "src/lib/formats/sorc_cas.h",
@@ -1705,7 +1709,7 @@ end
--@src/lib/formats/sorc_dsk.h,FORMATS["SORC_DSK"] = true
--------------------------------------------------
-if (FORMATS["SORC_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SORC_DSK") then
files {
MAME_DIR.. "src/lib/formats/sorc_dsk.cpp",
MAME_DIR.. "src/lib/formats/sorc_dsk.h",
@@ -1717,7 +1721,7 @@ end
--@src/lib/formats/sord_cas.h,FORMATS["SORD_CAS"] = true
--------------------------------------------------
-if (FORMATS["SORD_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SORD_CAS") then
files {
MAME_DIR.. "src/lib/formats/sord_cas.cpp",
MAME_DIR.. "src/lib/formats/sord_cas.h",
@@ -1729,7 +1733,7 @@ end
--@src/lib/formats/spc1000_cas.h,FORMATS["SPC1000_CAS"] = true
--------------------------------------------------
-if (FORMATS["SPC1000_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SPC1000_CAS") then
files {
MAME_DIR.. "src/lib/formats/spc1000_cas.cpp",
MAME_DIR.. "src/lib/formats/spc1000_cas.h",
@@ -1741,7 +1745,7 @@ end
--@src/lib/formats/st_dsk.h,FORMATS["ST_DSK"] = true
--------------------------------------------------
-if (FORMATS["ST_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ST_DSK") then
files {
MAME_DIR.. "src/lib/formats/st_dsk.cpp",
MAME_DIR.. "src/lib/formats/st_dsk.h",
@@ -1753,7 +1757,7 @@ end
--@src/lib/formats/svi_cas.h,FORMATS["SVI_CAS"] = true
--------------------------------------------------
-if (FORMATS["SVI_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SVI_CAS") then
files {
MAME_DIR.. "src/lib/formats/svi_cas.cpp",
MAME_DIR.. "src/lib/formats/svi_cas.h",
@@ -1765,7 +1769,7 @@ end
--@src/lib/formats/svi_dsk.h,FORMATS["SVI_DSK"] = true
--------------------------------------------------
-if (FORMATS["SVI_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SVI_DSK") then
files {
MAME_DIR.. "src/lib/formats/svi_dsk.cpp",
MAME_DIR.. "src/lib/formats/svi_dsk.h",
@@ -1777,7 +1781,7 @@ end
--@src/lib/formats/swd_dsk.h,FORMATS["SWD_DSK"] = true
--------------------------------------------------
-if (FORMATS["SWD_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SWD_DSK") then
files {
MAME_DIR.. "src/lib/formats/swd_dsk.cpp",
MAME_DIR.. "src/lib/formats/swd_dsk.h",
@@ -1789,7 +1793,7 @@ end
--@src/lib/formats/tandy2k_dsk.h,FORMATS["TANDY2K_DSK"] = true
--------------------------------------------------
-if (FORMATS["TANDY2K_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TANDY2K_DSK") then
files {
MAME_DIR.. "src/lib/formats/tandy2k_dsk.cpp",
MAME_DIR.. "src/lib/formats/tandy2k_dsk.h",
@@ -1801,7 +1805,7 @@ end
--@src/lib/formats/thom_cas.h,FORMATS["THOM_CAS"] = true
--------------------------------------------------
-if (FORMATS["THOM_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "THOM_CAS") then
files {
MAME_DIR.. "src/lib/formats/thom_cas.cpp",
MAME_DIR.. "src/lib/formats/thom_cas.h",
@@ -1813,7 +1817,7 @@ end
--@src/lib/formats/thom_dsk.h,FORMATS["THOM_DSK"] = true
--------------------------------------------------
-if (FORMATS["THOM_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "THOM_DSK") then
files {
MAME_DIR.. "src/lib/formats/thom_dsk.cpp",
MAME_DIR.. "src/lib/formats/thom_dsk.h",
@@ -1825,7 +1829,7 @@ end
--@src/lib/formats/ti99_dsk.h,FORMATS["TI99_DSK"] = true
--------------------------------------------------
-if (FORMATS["TI99_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TI99_DSK") then
files {
MAME_DIR.. "src/lib/formats/ti99_dsk.cpp",
MAME_DIR.. "src/lib/formats/ti99_dsk.h",
@@ -1837,7 +1841,7 @@ end
--@src/lib/formats/tiki100_dsk.h,FORMATS["TIKI100_DSK"] = true
--------------------------------------------------
-if (FORMATS["TIKI100_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TIKI100_DSK") then
files {
MAME_DIR.. "src/lib/formats/tiki100_dsk.cpp",
MAME_DIR.. "src/lib/formats/tiki100_dsk.h",
@@ -1849,7 +1853,7 @@ end
--@src/lib/formats/trd_dsk.h,FORMATS["TRD_DSK"] = true
--------------------------------------------------
-if (FORMATS["TRD_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TRD_DSK") then
files {
MAME_DIR.. "src/lib/formats/trd_dsk.cpp",
MAME_DIR.. "src/lib/formats/trd_dsk.h",
@@ -1861,7 +1865,7 @@ end
--@src/lib/formats/trs80_dsk.h,FORMATS["TRS80_DSK"] = true
--------------------------------------------------
-if (FORMATS["TRS80_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TRS80_DSK") then
files {
MAME_DIR.. "src/lib/formats/trs80_dsk.cpp",
MAME_DIR.. "src/lib/formats/trs80_dsk.h",
@@ -1873,7 +1877,7 @@ end
--@src/lib/formats/trs_cas.h,FORMATS["TRS_CAS"] = true
--------------------------------------------------
-if (FORMATS["TRS_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TRS_CAS") then
files {
MAME_DIR.. "src/lib/formats/trs_cas.cpp",
MAME_DIR.. "src/lib/formats/trs_cas.h",
@@ -1885,7 +1889,7 @@ end
--@src/lib/formats/tvc_cas.h,FORMATS["TVC_CAS"] = true
--------------------------------------------------
-if (FORMATS["TVC_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TVC_CAS") then
files {
MAME_DIR.. "src/lib/formats/tvc_cas.cpp",
MAME_DIR.. "src/lib/formats/tvc_cas.h",
@@ -1897,7 +1901,7 @@ end
--@src/lib/formats/tvc_dsk.h,FORMATS["TVC_DSK"] = true
--------------------------------------------------
-if (FORMATS["TVC_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TVC_DSK") then
files {
MAME_DIR.. "src/lib/formats/tvc_dsk.cpp",
MAME_DIR.. "src/lib/formats/tvc_dsk.h",
@@ -1909,7 +1913,7 @@ end
--@src/lib/formats/tzx_cas.h,FORMATS["TZX_CAS"] = true
--------------------------------------------------
-if (FORMATS["TZX_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TZX_CAS") then
files {
MAME_DIR.. "src/lib/formats/tzx_cas.cpp",
MAME_DIR.. "src/lib/formats/tzx_cas.h",
@@ -1921,7 +1925,7 @@ end
--@src/lib/formats/uef_cas.h,FORMATS["UEF_CAS"] = true
--------------------------------------------------
-if (FORMATS["UEF_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "UEF_CAS") then
files {
MAME_DIR.. "src/lib/formats/uef_cas.cpp",
MAME_DIR.. "src/lib/formats/uef_cas.h",
@@ -1933,7 +1937,7 @@ end
--@src/lib/formats/vdk_dsk.h,FORMATS["VDK_DSK"] = true
--------------------------------------------------
-if (FORMATS["VDK_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "VDK_DSK") then
files {
MAME_DIR.. "src/lib/formats/vdk_dsk.cpp",
MAME_DIR.. "src/lib/formats/vdk_dsk.h",
@@ -1945,7 +1949,7 @@ end
--@src/lib/formats/vector06_dsk.h,FORMATS["VECTOR06_DSK"] = true
--------------------------------------------------
-if (FORMATS["VECTOR06_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "VECTOR06_DSK") then
files {
MAME_DIR.. "src/lib/formats/vector06_dsk.cpp",
MAME_DIR.. "src/lib/formats/vector06_dsk.h",
@@ -1957,7 +1961,7 @@ end
--@src/lib/formats/vg5k_cas.h,FORMATS["VG5K_CAS"] = true
--------------------------------------------------
-if (FORMATS["VG5K_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "VG5K_CAS") then
files {
MAME_DIR.. "src/lib/formats/vg5k_cas.cpp",
MAME_DIR.. "src/lib/formats/vg5k_cas.h",
@@ -1969,7 +1973,7 @@ end
--@src/lib/formats/victor9k_dsk.h,FORMATS["VICTOR9K_DSK"] = true
--------------------------------------------------
-if (FORMATS["VICTOR9K_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "VICTOR9K_DSK") then
files {
MAME_DIR.. "src/lib/formats/victor9k_dsk.cpp",
MAME_DIR.. "src/lib/formats/victor9k_dsk.h",
@@ -1981,7 +1985,7 @@ end
--@src/lib/formats/vt_cas.h,FORMATS["VT_CAS"] = true
--------------------------------------------------
-if (FORMATS["VT_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "VT_CAS") then
files {
MAME_DIR.. "src/lib/formats/vt_cas.cpp",
MAME_DIR.. "src/lib/formats/vt_cas.h",
@@ -1993,7 +1997,7 @@ end
--@src/lib/formats/wd177x_dsk.h,FORMATS["WD177X_DSK"] = true
--------------------------------------------------
-if (FORMATS["WD177X_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "WD177X_DSK") then
files {
MAME_DIR.. "src/lib/formats/wd177x_dsk.cpp",
MAME_DIR.. "src/lib/formats/wd177x_dsk.h",
@@ -2005,7 +2009,7 @@ end
--@src/lib/formats/x07_cas.h,FORMATS["X07_CAS"] = true
--------------------------------------------------
-if (FORMATS["X07_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "X07_CAS") then
files {
MAME_DIR.. "src/lib/formats/x07_cas.cpp",
MAME_DIR.. "src/lib/formats/x07_cas.h",
@@ -2017,7 +2021,7 @@ end
--@src/lib/formats/x1_tap.h,FORMATS["X1_TAP"] = true
--------------------------------------------------
-if (FORMATS["X1_TAP"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "X1_TAP") then
files {
MAME_DIR.. "src/lib/formats/x1_tap.cpp",
MAME_DIR.. "src/lib/formats/x1_tap.h",
@@ -2029,7 +2033,7 @@ end
--@src/lib/formats/xdf_dsk.h,FORMATS["XDF_DSK"] = true
--------------------------------------------------
-if (FORMATS["XDF_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "XDF_DSK") then
files {
MAME_DIR.. "src/lib/formats/xdf_dsk.cpp",
MAME_DIR.. "src/lib/formats/xdf_dsk.h",
@@ -2041,7 +2045,7 @@ end
--@src/lib/formats/zx81_p.h,FORMATS["ZX81_P"] = true
--------------------------------------------------
-if (FORMATS["ZX81_P"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ZX81_P") then
files {
MAME_DIR.. "src/lib/formats/zx81_p.cpp",
MAME_DIR.. "src/lib/formats/zx81_p.h",