summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-05-01 14:02:26 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-05-01 14:02:26 +0200
commit77b6c7e3c5e1d544ca881040981a37b945a00db1 (patch)
tree098c183e01306302296da32ee68f4241c695e8a8 /scripts
parentda4b4152280b015cb3a6feff0adb4947146bc131 (diff)
fixed apple2 compile (nw)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/machine.lua34
-rw-r--r--scripts/target/mame/arcade.lua1
-rw-r--r--scripts/target/mame/mess.lua10
3 files changed, 38 insertions, 7 deletions
diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua
index 9597c310fd4..589bf746219 100644
--- a/scripts/src/machine.lua
+++ b/scripts/src/machine.lua
@@ -2841,4 +2841,36 @@ if (MACHINES["SMARTMEDIA"]~=null) then
MAME_DIR .. "src/devices/machine/smartmed.cpp",
MAME_DIR .. "src/devices/machine/smartmed.h",
}
-end \ No newline at end of file
+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
diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua
index 4a0116b1406..2d39af60ee9 100644
--- a/scripts/target/mame/arcade.lua
+++ b/scripts/target/mame/arcade.lua
@@ -3024,6 +3024,7 @@ files {
MAME_DIR .. "src/mame/machine/megadriv.cpp",
MAME_DIR .. "src/mame/includes/megadriv.h",
MAME_DIR .. "src/mame/drivers/megadrvb.cpp",
+ MAME_DIR .. "src/mame/includes/megadrvb.h",
MAME_DIR .. "src/mame/drivers/megaplay.cpp",
MAME_DIR .. "src/mame/drivers/megatech.cpp",
MAME_DIR .. "src/mame/drivers/model1.cpp",
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index f21fa753297..f2c19fa02a3 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -579,6 +579,9 @@ MACHINES["GENPC"] = true
MACHINES["GEN_LATCH"] = true
MACHINES["WATCHDOG"] = true
MACHINES["SMARTMEDIA"] = true
+MACHINES["APPLE_DRIVE"] = true
+MACHINES["APPLE_FDC"] = true
+MACHINES["SONY_DRIVE"] = true
--------------------------------------------------
-- specify available bus cores
@@ -1071,14 +1074,8 @@ createMESSProjects(_target, _subtarget, "messshared")
files {
MAME_DIR .. "src/mame/audio/mea8000.cpp",
MAME_DIR .. "src/mame/audio/mea8000.h",
- MAME_DIR .. "src/mame/machine/appldriv.cpp",
- MAME_DIR .. "src/mame/machine/appldriv.h",
- MAME_DIR .. "src/mame/machine/applefdc.cpp",
- MAME_DIR .. "src/mame/machine/applefdc.h",
MAME_DIR .. "src/mame/machine/microdrv.cpp",
MAME_DIR .. "src/mame/machine/microdrv.h",
- MAME_DIR .. "src/mame/machine/sonydriv.cpp",
- MAME_DIR .. "src/mame/machine/sonydriv.h",
MAME_DIR .. "src/mame/machine/teleprinter.cpp",
MAME_DIR .. "src/mame/machine/teleprinter.h",
MAME_DIR .. "src/mame/machine/z80bin.cpp",
@@ -1205,6 +1202,7 @@ files {
MAME_DIR .. "src/mame/drivers/apple2.cpp",
MAME_DIR .. "src/mame/includes/apple2.h",
MAME_DIR .. "src/mame/drivers/apple2e.cpp",
+ MAME_DIR .. "src/mame/includes/apple2e.h",
MAME_DIR .. "src/mame/machine/apple2.cpp",
MAME_DIR .. "src/mame/video/apple2.cpp",
MAME_DIR .. "src/mame/video/apple2.h",