summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/target/ldplayer/ldplayer.lua
blob: 4348f3bd318c8b76c84ce816333ca462883f2c4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
-- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team

---------------------------------------------------------------------------
--
--   ldplayer.lua
--
--   Small makefile to build a standalone laserdisc player
--
---------------------------------------------------------------------------

--------------------------------------------------
-- 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 (LIBTYPE)
	uuid (os.uuid("drvldplayer"))

	includedirs {
		MAME_DIR .. "src/osd",
		MAME_DIR .. "src/emu",
		MAME_DIR .. "src/devices",
		MAME_DIR .. "src/mame",
		MAME_DIR .. "src/lib",
		MAME_DIR .. "src/lib/util",
		MAME_DIR .. "3rdparty",
		GEN_DIR  .. "mame/layout",
	}

	files{
		MAME_DIR .. "src/emu/drivers/emudummy.cpp",
	}

	dependency {
		{ MAME_DIR .. "src/emu/drivers/emudummy.cpp", GEN_DIR .. "ldplayer/layout/pr8210.lh" },
	}

	custombuildtask {
		layoutbuildtask("ldplayer/layout", "pr8210"),
	}
end

function linkProjects_ldplayer_ldplayer(_target, _subtarget)
	links {
		"drvldplayer",
	}
end