trunk/scripts/target/ldplayer/ldplayer.lua
| r0 | r245169 | |
| 1 | --------------------------------------------------------------------------- |
| 2 | -- |
| 3 | -- ldplayer.lua |
| 4 | -- |
| 5 | -- Small makefile to build a standalone laserdisc player |
| 6 | -- |
| 7 | -- Copyright Nicola Salmoria and the MAME Team. |
| 8 | -- Visit http://mamedev.org for licensing and usage restrictions. |
| 9 | -- |
| 10 | --------------------------------------------------------------------------- |
| 11 | |
| 12 | -------------------------------------------------- |
| 13 | -- specify required CPU cores (none) |
| 14 | -------------------------------------------------- |
| 15 | |
| 16 | CPUS["MCS48"] = true |
| 17 | CPUS["Z80"] = true |
| 18 | |
| 19 | |
| 20 | |
| 21 | -------------------------------------------------- |
| 22 | -- specify required sound cores |
| 23 | -------------------------------------------------- |
| 24 | |
| 25 | SOUNDS["WAVE"] = true |
| 26 | |
| 27 | |
| 28 | -------------------------------------------------- |
| 29 | -- specify available video cores |
| 30 | -------------------------------------------------- |
| 31 | |
| 32 | -------------------------------------------------- |
| 33 | -- specify available machine cores |
| 34 | -------------------------------------------------- |
| 35 | |
| 36 | MACHINES["LDV1000"] = true |
| 37 | MACHINES["LDPR8210"] = true |
| 38 | |
| 39 | -------------------------------------------------- |
| 40 | -- specify available bus cores |
| 41 | -- |
| 42 | -- MIDI is here as dummy bus to allow libbus.a to |
| 43 | -- be created on OSX. |
| 44 | -------------------------------------------------- |
| 45 | |
| 46 | BUSES["MIDI"] = true |
| 47 | |
| 48 | -------------------------------------------------- |
| 49 | -- this is the list of driver libraries that |
| 50 | -- comprise MAME plus mamedriv.o which contains |
| 51 | -- the list of drivers |
| 52 | -------------------------------------------------- |
| 53 | |
| 54 | function createProjects(_target, _subtarget) |
| 55 | project ("drvldplayer") |
| 56 | targetsubdir(_target .."_" .. _subtarget) |
| 57 | kind "StaticLib" |
| 58 | uuid (os.uuid("drvldplayer")) |
| 59 | |
| 60 | options { |
| 61 | "ForceCPP", |
| 62 | } |
| 63 | |
| 64 | includedirs { |
| 65 | MAME_DIR .. "src/emu", |
| 66 | MAME_DIR .. "src/mame", |
| 67 | MAME_DIR .. "src/lib", |
| 68 | MAME_DIR .. "src/lib/util", |
| 69 | MAME_DIR .. "3rdparty", |
| 70 | MAME_DIR .. "3rdparty/zlib", |
| 71 | GEN_DIR .. "mame/layout", |
| 72 | } |
| 73 | |
| 74 | includeosd() |
| 75 | |
| 76 | files{ |
| 77 | MAME_DIR .. "src/emu/drivers/emudummy.c", |
| 78 | } |
| 79 | end |
| 80 | |
| 81 | function linkProjects(_target, _subtarget) |
| 82 | links { |
| 83 | "drvldplayer", |
| 84 | } |
| 85 | end |
| | No newline at end of file |