mirror of
https://github.com/holub/mame
synced 2025-04-16 05:24:54 +03:00
92 lines
2.2 KiB
Lua
92 lines
2.2 KiB
Lua
---------------------------------------------------------------------------
|
|
--
|
|
-- ldplayer.lua
|
|
--
|
|
-- Small makefile to build a standalone laserdisc player
|
|
--
|
|
-- Copyright Nicola Salmoria and the MAME Team.
|
|
-- Visit http://mamedev.org for licensing and usage restrictions.
|
|
--
|
|
---------------------------------------------------------------------------
|
|
|
|
--------------------------------------------------
|
|
-- specify required CPU cores (none)
|
|
--------------------------------------------------
|
|
|
|
CPUS["MCS48"] = true
|
|
CPUS["Z80"] = true
|
|
|
|
|
|
|
|
--------------------------------------------------
|
|
-- specify required sound cores
|
|
--------------------------------------------------
|
|
|
|
SOUNDS["WAVE"] = true
|
|
|
|
|
|
--------------------------------------------------
|
|
-- specify available video cores
|
|
--------------------------------------------------
|
|
|
|
--------------------------------------------------
|
|
-- specify available machine cores
|
|
--------------------------------------------------
|
|
|
|
MACHINES["LDV1000"] = true
|
|
MACHINES["LDPR8210"] = true
|
|
|
|
--------------------------------------------------
|
|
-- specify available bus cores
|
|
--
|
|
-- MIDI is here as dummy bus to allow libbus.a to
|
|
-- be created on OSX.
|
|
--------------------------------------------------
|
|
|
|
BUSES["MIDI"] = true
|
|
|
|
--------------------------------------------------
|
|
-- this is the list of driver libraries that
|
|
-- comprise MAME plus mamedriv.o which contains
|
|
-- the list of drivers
|
|
--------------------------------------------------
|
|
|
|
function createProjects_ldplayer_ldplayer(_target, _subtarget)
|
|
project ("drvldplayer")
|
|
targetsubdir(_target .."_" .. _subtarget)
|
|
kind "StaticLib"
|
|
uuid (os.uuid("drvldplayer"))
|
|
|
|
options {
|
|
"ForceCPP",
|
|
}
|
|
|
|
includedirs {
|
|
MAME_DIR .. "src/osd",
|
|
MAME_DIR .. "src/emu",
|
|
MAME_DIR .. "src/mame",
|
|
MAME_DIR .. "src/lib",
|
|
MAME_DIR .. "src/lib/util",
|
|
MAME_DIR .. "3rdparty",
|
|
MAME_DIR .. "3rdparty/zlib",
|
|
GEN_DIR .. "mame/layout",
|
|
}
|
|
|
|
files{
|
|
MAME_DIR .. "src/emu/drivers/emudummy.c",
|
|
}
|
|
|
|
dependency {
|
|
{ MAME_DIR .. "src/emu/drivers/emudummy.c", GEN_DIR .. "ldplayer/layout/pr8210.lh" },
|
|
}
|
|
|
|
custombuildtask {
|
|
layoutbuildtask("ldplayer/layout", "pr8210"),
|
|
}
|
|
end
|
|
|
|
function linkProjects_ldplayer_ldplayer(_target, _subtarget)
|
|
links {
|
|
"drvldplayer",
|
|
}
|
|
end |