mirror of
https://github.com/libretro/mame2010-libretro.git
synced 2024-11-27 01:51:49 +00:00
4763 lines
125 KiB
Makefile
4763 lines
125 KiB
Makefile
SRC_DIR = $(CORE_DIR)/src
|
|
LIBRETRO_COMM_DIR = $(SRC_DIR)/osd/retro/libretro-common
|
|
DEPS_DIR = $(SRC_DIR)/lib
|
|
|
|
INCFLAGS := \
|
|
-I$(LIBRETRO_COMM_DIR)/include \
|
|
-I$(LIBRETRO_COMM_DIR)/include/compat/zlib \
|
|
-I$(SRC_DIR)/$(TARGET) \
|
|
-I$(OBJ)/$(TARGET)/layout \
|
|
-I$(SRC_DIR)/emu \
|
|
-I$(OBJ)/emu \
|
|
-I$(OBJ)/emu/layout \
|
|
-I$(DEPS_DIR)/util \
|
|
-I$(SRC_DIR)/lib \
|
|
-I$(SRC_DIR)/osd \
|
|
-I$(SRC_DIR)/osd/retro
|
|
|
|
# add expat XML library
|
|
INCFLAGS += -I$(DEPS_DIR)/expat
|
|
EXPAT = $(OBJ)/libexpat.a
|
|
|
|
# add ZLIB compression library
|
|
ifeq ($(BUILD_ZLIB),1)
|
|
INCFLAGS += -I$(DEPS_DIR)/zlib
|
|
ZLIB = $(OBJ)/libz.a
|
|
else
|
|
LIBS += -lz
|
|
ZLIB =
|
|
endif
|
|
|
|
# add flac library
|
|
INCFLAGS += -I$(DEPS_DIR)/util
|
|
FLAC_LIB = $(OBJ)/libflac.a
|
|
|
|
# add jpeglib image library
|
|
INCFLAGS += -I$(DEPS_DIR)/libjpeg
|
|
JPEG_LIB = $(OBJ)/libjpeg.a
|
|
|
|
# add SoftFloat floating point emulation library
|
|
SOFTFLOAT = $(OBJ)/libsoftfloat.a
|
|
|
|
# add formats emulation library
|
|
FORMATS_LIB = $(OBJ)/libformats.a
|
|
|
|
# add LUA library
|
|
LUA_LIB = $(OBJ)/liblua.a
|
|
|
|
# add PortMidi MIDI library
|
|
ifeq ($(BUILD_MIDILIB),1)
|
|
INCFLAGS += -I$(DEPS_DIR)/portmidi
|
|
MIDI_LIB = $(OBJ)/libportmidi.a
|
|
else
|
|
#LIBS += -lportmidi
|
|
MIDI_LIB =
|
|
endif
|
|
|
|
# then the various core pieces
|
|
|
|
###########################################################################
|
|
#
|
|
# mame.mak
|
|
#
|
|
# MAME target makefile
|
|
#
|
|
# Copyright Nicola Salmoria and the MAME Team.
|
|
# Visit http://mamedev.org for licensing and usage restrictions.
|
|
#
|
|
###########################################################################
|
|
|
|
|
|
MAMESRC = $(SRC_DIR)/mame
|
|
MAMEOBJ = $(OBJ)/mame
|
|
|
|
AUDIO = $(MAMEOBJ)/audio
|
|
DRIVERS = $(MAMEOBJ)/drivers
|
|
LAYOUT = $(MAMEOBJ)/layout
|
|
MACHINE = $(MAMEOBJ)/machine
|
|
VIDEO = $(MAMEOBJ)/video
|
|
|
|
OBJDIRS += \
|
|
$(AUDIO) \
|
|
$(DRIVERS) \
|
|
$(LAYOUT) \
|
|
$(MACHINE) \
|
|
$(VIDEO) \
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# specify available CPU cores; some of these are
|
|
# only for MESS, but are included so that they get
|
|
# updated with any MAME core changes
|
|
#-------------------------------------------------
|
|
|
|
CPUS += Z80
|
|
CPUS += Z180
|
|
CPUS += I8085
|
|
CPUS += M6502
|
|
CPUS += H6280
|
|
CPUS += I86
|
|
CPUS += I386
|
|
CPUS += NEC
|
|
CPUS += V30MZ
|
|
CPUS += V60
|
|
CPUS += MCS48
|
|
CPUS += MCS51
|
|
CPUS += M6800
|
|
CPUS += M6805
|
|
CPUS += HD6309
|
|
CPUS += M6809
|
|
CPUS += KONAMI
|
|
CPUS += M680X0
|
|
CPUS += T11
|
|
CPUS += S2650
|
|
CPUS += TMS340X0
|
|
CPUS += TMS9900
|
|
CPUS += Z8000
|
|
CPUS += TMS32010
|
|
CPUS += TMS32025
|
|
CPUS += TMS32031
|
|
CPUS += TMS32051
|
|
CPUS += TMS57002
|
|
CPUS += CCPU
|
|
CPUS += ADSP21XX
|
|
CPUS += ASAP
|
|
CPUS += AM29000
|
|
CPUS += UPD7810
|
|
CPUS += ARM
|
|
CPUS += ARM7
|
|
CPUS += JAGUAR
|
|
CPUS += CUBEQCPU
|
|
CPUS += ESRIP
|
|
CPUS += MIPS
|
|
CPUS += SH2
|
|
CPUS += SH4
|
|
CPUS += DSP32C
|
|
CPUS += PIC16C5X
|
|
CPUS += PIC16C62X
|
|
CPUS += G65816
|
|
CPUS += SPC700
|
|
CPUS += E1
|
|
CPUS += I860
|
|
CPUS += I960
|
|
CPUS += H83002
|
|
CPUS += H83334
|
|
CPUS += V810
|
|
CPUS += M37710
|
|
CPUS += POWERPC
|
|
CPUS += SE3208
|
|
CPUS += MC68HC11
|
|
CPUS += ADSP21062
|
|
CPUS += DSP56156
|
|
CPUS += RSP
|
|
CPUS += ALPHA8201
|
|
CPUS += CDP1802
|
|
CPUS += COP400
|
|
CPUS += TLCS90
|
|
CPUS += TLCS900
|
|
CPUS += MB88XX
|
|
CPUS += MB86233
|
|
CPUS += SSP1601
|
|
CPUS += APEXC
|
|
CPUS += CP1610
|
|
CPUS += F8
|
|
CPUS += LH5801
|
|
CPUS += PDP1
|
|
CPUS += SATURN
|
|
CPUS += SC61860
|
|
CPUS += LR35902
|
|
CPUS += TMS7000
|
|
CPUS += SM8500
|
|
CPUS += MINX
|
|
CPUS += SSEM
|
|
CPUS += AVR8
|
|
CPUS += TMS0980
|
|
CPUS += I4004
|
|
CPUS += SUPERFX
|
|
CPUS += Z8
|
|
CPUS += I8008
|
|
CPUS += SCMP
|
|
CPUS += MN10200
|
|
|
|
#-------------------------------------------------
|
|
# specify available sound cores; some of these are
|
|
# only for MESS and so aren't included
|
|
#-------------------------------------------------
|
|
|
|
SOUNDS += CUSTOM
|
|
SOUNDS += SAMPLES
|
|
SOUNDS += DAC
|
|
SOUNDS += DMADAC
|
|
SOUNDS += SPEAKER
|
|
SOUNDS += BEEP
|
|
SOUNDS += DISCRETE
|
|
SOUNDS += AY8910
|
|
SOUNDS += YM2151
|
|
SOUNDS += YM2203
|
|
SOUNDS += YM2413
|
|
SOUNDS += YM2608
|
|
SOUNDS += YM2610
|
|
SOUNDS += YM2610B
|
|
SOUNDS += YM2612
|
|
SOUNDS += YM3438
|
|
SOUNDS += YM3812
|
|
SOUNDS += YM3526
|
|
SOUNDS += Y8950
|
|
SOUNDS += YMF262
|
|
SOUNDS += YMF271
|
|
SOUNDS += YMF278B
|
|
SOUNDS += YMZ280B
|
|
SOUNDS += SN76477
|
|
SOUNDS += SN76496
|
|
SOUNDS += POKEY
|
|
SOUNDS += TIA
|
|
SOUNDS += NES
|
|
SOUNDS += ASTROCADE
|
|
SOUNDS += NAMCO
|
|
SOUNDS += NAMCO_15XX
|
|
SOUNDS += NAMCO_CUS30
|
|
SOUNDS += NAMCO_52XX
|
|
SOUNDS += NAMCO_63701X
|
|
SOUNDS += T6W28
|
|
SOUNDS += SNKWAVE
|
|
SOUNDS += C140
|
|
SOUNDS += C352
|
|
SOUNDS += TMS36XX
|
|
SOUNDS += TMS3615
|
|
SOUNDS += TMS5110
|
|
SOUNDS += TMS5220
|
|
SOUNDS += VLM5030
|
|
SOUNDS += ADPCM
|
|
SOUNDS += MSM5205
|
|
SOUNDS += MSM5232
|
|
SOUNDS += OKIM6258
|
|
SOUNDS += OKIM6295
|
|
SOUNDS += OKIM6376
|
|
SOUNDS += UPD7759
|
|
SOUNDS += HC55516
|
|
SOUNDS += K005289
|
|
SOUNDS += K007232
|
|
SOUNDS += K051649
|
|
SOUNDS += K053260
|
|
SOUNDS += K054539
|
|
SOUNDS += K056800
|
|
SOUNDS += SEGAPCM
|
|
SOUNDS += MULTIPCM
|
|
SOUNDS += SCSP
|
|
SOUNDS += AICA
|
|
SOUNDS += RF5C68
|
|
SOUNDS += RF5C400
|
|
SOUNDS += CEM3394
|
|
SOUNDS += QSOUND
|
|
SOUNDS += SAA1099
|
|
SOUNDS += IREMGA20
|
|
SOUNDS += ES5503
|
|
SOUNDS += ES5505
|
|
SOUNDS += ES5506
|
|
SOUNDS += BSMT2000
|
|
SOUNDS += GAELCO_CG1V
|
|
SOUNDS += GAELCO_GAE1
|
|
SOUNDS += C6280
|
|
SOUNDS += SP0250
|
|
SOUNDS += PSXSPU
|
|
SOUNDS += CDDA
|
|
SOUNDS += ICS2115
|
|
SOUNDS += ST0016
|
|
SOUNDS += NILE
|
|
SOUNDS += X1_010
|
|
SOUNDS += VRENDER0
|
|
#SOUNDS += VOTRAX
|
|
SOUNDS += ES8712
|
|
SOUNDS += CDP1869
|
|
SOUNDS += S14001A
|
|
SOUNDS += WAVE
|
|
#SOUNDS += SID6581
|
|
#SOUNDS += SID8580
|
|
SOUNDS += SP0256
|
|
SOUNDS += DIGITALKER
|
|
SOUNDS += CDP1863
|
|
SOUNDS += CDP1864
|
|
SOUNDS += ZSG2
|
|
SOUNDS += MOS656X
|
|
|
|
#-------------------------------------------------
|
|
# this is the list of driver libraries that
|
|
# comprise MAME plus mamedriv.o which contains
|
|
# the list of drivers
|
|
#-------------------------------------------------
|
|
|
|
DRVLIBS = \
|
|
$(MAMEOBJ)/mamedriv.o \
|
|
$(MAMEOBJ)/alba.a \
|
|
$(MAMEOBJ)/alliedl.a \
|
|
$(MAMEOBJ)/alpha.a \
|
|
$(MAMEOBJ)/amiga.a \
|
|
$(MAMEOBJ)/aristocr.a \
|
|
$(MAMEOBJ)/atari.a \
|
|
$(MAMEOBJ)/atlus.a \
|
|
$(MAMEOBJ)/barcrest.a \
|
|
$(MAMEOBJ)/bfm.a \
|
|
$(MAMEOBJ)/bmc.a \
|
|
$(MAMEOBJ)/capcom.a \
|
|
$(MAMEOBJ)/cinemat.a \
|
|
$(MAMEOBJ)/comad.a \
|
|
$(MAMEOBJ)/cvs.a \
|
|
$(MAMEOBJ)/dataeast.a \
|
|
$(MAMEOBJ)/dooyong.a \
|
|
$(MAMEOBJ)/dynax.a \
|
|
$(MAMEOBJ)/edevices.a \
|
|
$(MAMEOBJ)/eolith.a \
|
|
$(MAMEOBJ)/excelent.a \
|
|
$(MAMEOBJ)/exidy.a \
|
|
$(MAMEOBJ)/f32.a \
|
|
$(MAMEOBJ)/fuuki.a \
|
|
$(MAMEOBJ)/gaelco.a \
|
|
$(MAMEOBJ)/gameplan.a \
|
|
$(MAMEOBJ)/gametron.a \
|
|
$(MAMEOBJ)/gottlieb.a \
|
|
$(MAMEOBJ)/igs.a \
|
|
$(MAMEOBJ)/irem.a \
|
|
$(MAMEOBJ)/itech.a \
|
|
$(MAMEOBJ)/jaleco.a \
|
|
$(MAMEOBJ)/jpm.a \
|
|
$(MAMEOBJ)/kaneko.a \
|
|
$(MAMEOBJ)/konami.a \
|
|
$(MAMEOBJ)/maygay.a \
|
|
$(MAMEOBJ)/meadows.a \
|
|
$(MAMEOBJ)/merit.a \
|
|
$(MAMEOBJ)/metro.a \
|
|
$(MAMEOBJ)/midcoin.a \
|
|
$(MAMEOBJ)/midw8080.a \
|
|
$(MAMEOBJ)/midway.a \
|
|
$(MAMEOBJ)/msx.a \
|
|
$(MAMEOBJ)/namco.a \
|
|
$(MAMEOBJ)/nasco.a \
|
|
$(MAMEOBJ)/neogeo.a \
|
|
$(MAMEOBJ)/nichibut.a \
|
|
$(MAMEOBJ)/nintendo.a \
|
|
$(MAMEOBJ)/nix.a \
|
|
$(MAMEOBJ)/nmk.a \
|
|
$(MAMEOBJ)/omori.a \
|
|
$(MAMEOBJ)/olympia.a \
|
|
$(MAMEOBJ)/orca.a \
|
|
$(MAMEOBJ)/pacific.a \
|
|
$(MAMEOBJ)/pacman.a \
|
|
$(MAMEOBJ)/pce.a \
|
|
$(MAMEOBJ)/phoenix.a \
|
|
$(MAMEOBJ)/playmark.a \
|
|
$(MAMEOBJ)/psikyo.a \
|
|
$(MAMEOBJ)/ramtek.a \
|
|
$(MAMEOBJ)/rare.a \
|
|
$(MAMEOBJ)/sanritsu.a \
|
|
$(MAMEOBJ)/sega.a \
|
|
$(MAMEOBJ)/seibu.a \
|
|
$(MAMEOBJ)/seta.a \
|
|
$(MAMEOBJ)/sigma.a \
|
|
$(MAMEOBJ)/snk.a \
|
|
$(MAMEOBJ)/stern.a \
|
|
$(MAMEOBJ)/subsino.a \
|
|
$(MAMEOBJ)/sun.a \
|
|
$(MAMEOBJ)/suna.a \
|
|
$(MAMEOBJ)/taito.a \
|
|
$(MAMEOBJ)/tatsumi.a \
|
|
$(MAMEOBJ)/tch.a \
|
|
$(MAMEOBJ)/tecfri.a \
|
|
$(MAMEOBJ)/technos.a \
|
|
$(MAMEOBJ)/tehkan.a \
|
|
$(MAMEOBJ)/thepit.a \
|
|
$(MAMEOBJ)/toaplan.a \
|
|
$(MAMEOBJ)/tong.a \
|
|
$(MAMEOBJ)/unico.a \
|
|
$(MAMEOBJ)/univers.a \
|
|
$(MAMEOBJ)/upl.a \
|
|
$(MAMEOBJ)/valadon.a \
|
|
$(MAMEOBJ)/veltmjr.a \
|
|
$(MAMEOBJ)/venture.a \
|
|
$(MAMEOBJ)/vsystem.a \
|
|
$(MAMEOBJ)/yunsung.a \
|
|
$(MAMEOBJ)/zaccaria.a \
|
|
$(MAMEOBJ)/misc.a \
|
|
$(MAMEOBJ)/shared.a \
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# the following files are general components and
|
|
# shared across a number of drivers
|
|
#-------------------------------------------------
|
|
|
|
SHARED_OBJS := \
|
|
$(MACHINE)/nmk112.o \
|
|
$(MACHINE)/pckeybrd.o \
|
|
$(MACHINE)/pcshare.o \
|
|
$(MACHINE)/segacrpt.o \
|
|
$(MACHINE)/segacrp2.o \
|
|
$(MACHINE)/ticket.o \
|
|
$(VIDEO)/avgdvg.o
|
|
|
|
$(MAMEOBJ)/shared.a: $(SHARED_OBJS)
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# manufacturer-specific groupings for drivers
|
|
#-------------------------------------------------
|
|
|
|
ALBA_OBJS := \
|
|
$(DRIVERS)/albazc.o \
|
|
$(DRIVERS)/albazg.o \
|
|
$(DRIVERS)/rmhaihai.o
|
|
|
|
$(MAMEOBJ)/alba.a: $(ALBA_OBJS)
|
|
|
|
ALLIEDL_OBJS := \
|
|
$(DRIVERS)/ace.o \
|
|
$(DRIVERS)/clayshoo.o
|
|
|
|
$(MAMEOBJ)/alliedl.a: $(ALLIEDL_OBJS)
|
|
|
|
ALPHA_OBJS := \
|
|
$(DRIVERS)/alpha68k.o $(VIDEO)/alpha68k.o \
|
|
$(DRIVERS)/champbas.o $(VIDEO)/champbas.o \
|
|
$(DRIVERS)/equites.o $(VIDEO)/equites.o \
|
|
$(DRIVERS)/meijinsn.o \
|
|
$(DRIVERS)/shougi.o
|
|
|
|
$(MAMEOBJ)/alpha.a: $(ALPHA_OBJS)
|
|
|
|
AMIGA_OBJS := \
|
|
$(DRIVERS)/alg.o \
|
|
$(MACHINE)/amiga.o $(AUDIO)/amiga.o $(VIDEO)/amiga.o $(VIDEO)/amigaaga.o\
|
|
$(DRIVERS)/arcadia.o \
|
|
$(DRIVERS)/cubocd32.o $(MACHINE)/cubocd32.o \
|
|
$(DRIVERS)/mquake.o \
|
|
$(DRIVERS)/upscope.o
|
|
|
|
$(MAMEOBJ)/amiga.a: $(AMIGA_OBJS)
|
|
|
|
ARISTOCR_OBJS := \
|
|
$(DRIVERS)/86lions.o \
|
|
$(DRIVERS)/caswin.o \
|
|
$(DRIVERS)/aristmk4.o \
|
|
$(DRIVERS)/aristmk5.o \
|
|
$(MACHINE)/archimds.o
|
|
|
|
$(MAMEOBJ)/aristocr.a: $(ARISTOCR_OBJS)
|
|
|
|
ATARI_OBJS := \
|
|
$(DRIVERS)/atarigx2.o $(VIDEO)/atarigx2.o \
|
|
$(DRIVERS)/arcadecl.o $(VIDEO)/arcadecl.o \
|
|
$(DRIVERS)/asteroid.o $(MACHINE)/asteroid.o $(AUDIO)/asteroid.o $(AUDIO)/llander.o \
|
|
$(DRIVERS)/atarifb.o $(MACHINE)/atarifb.o $(AUDIO)/atarifb.o $(VIDEO)/atarifb.o \
|
|
$(DRIVERS)/atarig1.o $(VIDEO)/atarig1.o \
|
|
$(DRIVERS)/atarig42.o $(VIDEO)/atarig42.o \
|
|
$(DRIVERS)/atarigt.o $(VIDEO)/atarigt.o \
|
|
$(DRIVERS)/atarisy1.o $(VIDEO)/atarisy1.o \
|
|
$(DRIVERS)/atarisy2.o $(VIDEO)/atarisy2.o \
|
|
$(DRIVERS)/atetris.o $(VIDEO)/atetris.o \
|
|
$(DRIVERS)/avalnche.o $(AUDIO)/avalnche.o \
|
|
$(DRIVERS)/badlands.o $(VIDEO)/badlands.o \
|
|
$(DRIVERS)/batman.o $(VIDEO)/batman.o \
|
|
$(DRIVERS)/beathead.o $(VIDEO)/beathead.o \
|
|
$(DRIVERS)/blstroid.o $(VIDEO)/blstroid.o \
|
|
$(DRIVERS)/boxer.o \
|
|
$(DRIVERS)/bsktball.o $(MACHINE)/bsktball.o $(AUDIO)/bsktball.o $(VIDEO)/bsktball.o \
|
|
$(DRIVERS)/bwidow.o \
|
|
$(DRIVERS)/bzone.o $(AUDIO)/bzone.o \
|
|
$(DRIVERS)/canyon.o $(AUDIO)/canyon.o $(VIDEO)/canyon.o \
|
|
$(DRIVERS)/cball.o \
|
|
$(DRIVERS)/ccastles.o $(VIDEO)/ccastles.o \
|
|
$(DRIVERS)/centiped.o $(VIDEO)/centiped.o \
|
|
$(DRIVERS)/cloak.o $(VIDEO)/cloak.o \
|
|
$(DRIVERS)/cloud9.o $(VIDEO)/cloud9.o \
|
|
$(DRIVERS)/cmmb.o \
|
|
$(DRIVERS)/cojag.o $(AUDIO)/jaguar.o $(VIDEO)/jaguar.o \
|
|
$(DRIVERS)/copsnrob.o $(MACHINE)/copsnrob.o $(VIDEO)/copsnrob.o \
|
|
$(DRIVERS)/cyberbal.o $(AUDIO)/cyberbal.o $(VIDEO)/cyberbal.o \
|
|
$(DRIVERS)/destroyr.o \
|
|
$(DRIVERS)/dragrace.o $(AUDIO)/dragrace.o $(VIDEO)/dragrace.o \
|
|
$(DRIVERS)/eprom.o $(VIDEO)/eprom.o \
|
|
$(DRIVERS)/firefox.o \
|
|
$(DRIVERS)/firetrk.o $(AUDIO)/firetrk.o $(VIDEO)/firetrk.o \
|
|
$(DRIVERS)/flyball.o \
|
|
$(DRIVERS)/foodf.o $(VIDEO)/foodf.o \
|
|
$(DRIVERS)/gauntlet.o $(VIDEO)/gauntlet.o \
|
|
$(DRIVERS)/harddriv.o $(MACHINE)/harddriv.o $(AUDIO)/harddriv.o $(VIDEO)/harddriv.o \
|
|
$(DRIVERS)/irobot.o $(MACHINE)/irobot.o $(VIDEO)/irobot.o \
|
|
$(DRIVERS)/jedi.o $(AUDIO)/jedi.o $(VIDEO)/jedi.o \
|
|
$(DRIVERS)/klax.o $(VIDEO)/klax.o \
|
|
$(DRIVERS)/liberatr.o $(VIDEO)/liberatr.o \
|
|
$(DRIVERS)/mediagx.o \
|
|
$(DRIVERS)/metalmx.o \
|
|
$(DRIVERS)/mgolf.o \
|
|
$(DRIVERS)/mhavoc.o $(MACHINE)/mhavoc.o \
|
|
$(DRIVERS)/missile.o \
|
|
$(DRIVERS)/nitedrvr.o $(MACHINE)/nitedrvr.o $(AUDIO)/nitedrvr.o $(VIDEO)/nitedrvr.o \
|
|
$(DRIVERS)/offtwall.o $(VIDEO)/offtwall.o \
|
|
$(DRIVERS)/orbit.o $(AUDIO)/orbit.o $(VIDEO)/orbit.o \
|
|
$(DRIVERS)/poolshrk.o $(AUDIO)/poolshrk.o $(VIDEO)/poolshrk.o \
|
|
$(DRIVERS)/quantum.o \
|
|
$(DRIVERS)/rampart.o $(VIDEO)/rampart.o \
|
|
$(DRIVERS)/relief.o $(VIDEO)/relief.o \
|
|
$(DRIVERS)/runaway.o $(VIDEO)/runaway.o \
|
|
$(DRIVERS)/sbrkout.o \
|
|
$(DRIVERS)/shuuz.o $(VIDEO)/shuuz.o \
|
|
$(DRIVERS)/skullxbo.o $(VIDEO)/skullxbo.o \
|
|
$(DRIVERS)/skydiver.o $(AUDIO)/skydiver.o $(VIDEO)/skydiver.o \
|
|
$(DRIVERS)/skyraid.o $(AUDIO)/skyraid.o $(VIDEO)/skyraid.o \
|
|
$(DRIVERS)/sprint2.o $(AUDIO)/sprint2.o $(VIDEO)/sprint2.o \
|
|
$(DRIVERS)/sprint4.o $(VIDEO)/sprint4.o $(AUDIO)/sprint4.o \
|
|
$(DRIVERS)/sprint8.o $(AUDIO)/sprint8.o $(VIDEO)/sprint8.o \
|
|
$(DRIVERS)/starshp1.o $(AUDIO)/starshp1.o $(VIDEO)/starshp1.o \
|
|
$(DRIVERS)/starwars.o $(MACHINE)/starwars.o $(AUDIO)/starwars.o \
|
|
$(DRIVERS)/subs.o $(MACHINE)/subs.o $(AUDIO)/subs.o $(VIDEO)/subs.o \
|
|
$(DRIVERS)/tank8.o $(AUDIO)/tank8.o $(VIDEO)/tank8.o \
|
|
$(DRIVERS)/tempest.o \
|
|
$(DRIVERS)/thunderj.o $(VIDEO)/thunderj.o \
|
|
$(DRIVERS)/tomcat.o \
|
|
$(DRIVERS)/toobin.o $(VIDEO)/toobin.o \
|
|
$(DRIVERS)/tourtabl.o $(VIDEO)/tia.o \
|
|
$(DRIVERS)/triplhnt.o $(AUDIO)/triplhnt.o $(VIDEO)/triplhnt.o \
|
|
$(DRIVERS)/tunhunt.o $(VIDEO)/tunhunt.o \
|
|
$(DRIVERS)/ultratnk.o $(VIDEO)/ultratnk.o \
|
|
$(DRIVERS)/videopin.o $(AUDIO)/videopin.o $(VIDEO)/videopin.o \
|
|
$(DRIVERS)/vindictr.o $(VIDEO)/vindictr.o \
|
|
$(DRIVERS)/wolfpack.o $(VIDEO)/wolfpack.o \
|
|
$(DRIVERS)/xybots.o $(VIDEO)/xybots.o \
|
|
$(MACHINE)/asic65.o \
|
|
$(MACHINE)/atari_vg.o \
|
|
$(MACHINE)/atarigen.o \
|
|
$(MACHINE)/mathbox.o \
|
|
$(MACHINE)/slapstic.o \
|
|
$(AUDIO)/atarijsa.o \
|
|
$(AUDIO)/cage.o \
|
|
$(AUDIO)/redbaron.o \
|
|
$(VIDEO)/atarimo.o \
|
|
$(VIDEO)/atarirle.o
|
|
|
|
$(MAMEOBJ)/atari.a: $(ATARI_OBJS)
|
|
|
|
ATLUS_OBJS := \
|
|
$(DRIVERS)/blmbycar.o $(VIDEO)/blmbycar.o \
|
|
$(DRIVERS)/ohmygod.o $(VIDEO)/ohmygod.o \
|
|
$(DRIVERS)/powerins.o $(VIDEO)/powerins.o
|
|
|
|
$(MAMEOBJ)/atlus.a: $(ATLUS_OBJS)
|
|
|
|
BARCREST_OBJS := \
|
|
$(VIDEO)/awpvid.o \
|
|
$(MACHINE)/meters.o \
|
|
$(DRIVERS)/mpu4.o \
|
|
$(DRIVERS)/mpu5.o \
|
|
$(MACHINE)/steppers.o
|
|
|
|
$(MAMEOBJ)/barcrest.a: $(BARCREST_OBJS)
|
|
|
|
BFM_OBJS := \
|
|
$(DRIVERS)/bfm_sc1.o \
|
|
$(DRIVERS)/bfmsys85.o \
|
|
$(DRIVERS)/bfcobra.o \
|
|
$(DRIVERS)/bfm_sc2.o $(VIDEO)/bfm_adr2.o \
|
|
$(MACHINE)/bfm_bd1.o $(VIDEO)/bfm_dm01.o
|
|
|
|
$(MAMEOBJ)/bfm.a: $(BFM_OBJS)
|
|
|
|
BMC_OBJS := \
|
|
$(DRIVERS)/bmcbowl.o \
|
|
$(DRIVERS)/koftball.o
|
|
|
|
$(MAMEOBJ)/bmc.a: $(BMC_OBJS)
|
|
|
|
CAPCOM_OBJS := \
|
|
$(DRIVERS)/1942.o $(VIDEO)/1942.o \
|
|
$(DRIVERS)/1943.o $(VIDEO)/1943.o \
|
|
$(DRIVERS)/bionicc.o $(VIDEO)/bionicc.o \
|
|
$(DRIVERS)/blktiger.o $(VIDEO)/blktiger.o \
|
|
$(DRIVERS)/cbasebal.o $(VIDEO)/cbasebal.o \
|
|
$(DRIVERS)/commando.o $(VIDEO)/commando.o \
|
|
$(DRIVERS)/cps1.o $(VIDEO)/cps1.o \
|
|
$(DRIVERS)/cps2.o \
|
|
$(DRIVERS)/cps3.o $(AUDIO)/cps3.o \
|
|
$(DRIVERS)/egghunt.o \
|
|
$(DRIVERS)/fcrash.o \
|
|
$(DRIVERS)/gng.o $(VIDEO)/gng.o \
|
|
$(DRIVERS)/gunsmoke.o $(VIDEO)/gunsmoke.o \
|
|
$(DRIVERS)/exedexes.o $(VIDEO)/exedexes.o \
|
|
$(DRIVERS)/higemaru.o $(VIDEO)/higemaru.o \
|
|
$(DRIVERS)/lastduel.o $(VIDEO)/lastduel.o \
|
|
$(DRIVERS)/lwings.o $(VIDEO)/lwings.o \
|
|
$(DRIVERS)/mitchell.o $(VIDEO)/mitchell.o \
|
|
$(DRIVERS)/sf.o $(VIDEO)/sf.o \
|
|
$(DRIVERS)/sidearms.o $(VIDEO)/sidearms.o \
|
|
$(DRIVERS)/sonson.o $(VIDEO)/sonson.o \
|
|
$(DRIVERS)/srumbler.o $(VIDEO)/srumbler.o \
|
|
$(DRIVERS)/vulgus.o $(VIDEO)/vulgus.o \
|
|
$(DRIVERS)/tigeroad.o $(VIDEO)/tigeroad.o \
|
|
$(DRIVERS)/zn.o $(MACHINE)/znsec.o \
|
|
$(DRIVERS)/taitogn.o \
|
|
$(MACHINE)/cps2crpt.o \
|
|
$(MACHINE)/kabuki.o
|
|
|
|
$(MAMEOBJ)/capcom.a: $(CAPCOM_OBJS)
|
|
|
|
CINEMAT_OBJS := \
|
|
$(DRIVERS)/ataxx.o \
|
|
$(DRIVERS)/cinemat.o $(AUDIO)/cinemat.o $(VIDEO)/cinemat.o \
|
|
$(DRIVERS)/cchasm.o $(MACHINE)/cchasm.o $(AUDIO)/cchasm.o $(VIDEO)/cchasm.o \
|
|
$(DRIVERS)/dlair.o \
|
|
$(DRIVERS)/embargo.o \
|
|
$(DRIVERS)/jack.o $(VIDEO)/jack.o \
|
|
$(DRIVERS)/leland.o $(MACHINE)/leland.o $(AUDIO)/leland.o $(VIDEO)/leland.o
|
|
|
|
$(MAMEOBJ)/cinemat.a: $(CINEMAT_OBJS)
|
|
|
|
COMAD_OBJS := \
|
|
$(DRIVERS)/funybubl.o $(VIDEO)/funybubl.o \
|
|
$(DRIVERS)/galspnbl.o $(VIDEO)/galspnbl.o \
|
|
$(DRIVERS)/pushman.o $(VIDEO)/pushman.o \
|
|
$(DRIVERS)/zerozone.o $(VIDEO)/zerozone.o
|
|
|
|
$(MAMEOBJ)/comad.a: $(COMAD_OBJS)
|
|
|
|
CVS_OBJS := \
|
|
$(DRIVERS)/cvs.o $(VIDEO)/cvs.o \
|
|
$(DRIVERS)/quasar.o $(VIDEO)/quasar.o
|
|
|
|
$(MAMEOBJ)/cvs.a: $(CVS_OBJS)
|
|
|
|
DATAEAST_OBJS := \
|
|
$(DRIVERS)/actfancr.o $(VIDEO)/actfancr.o \
|
|
$(DRIVERS)/astrof.o $(AUDIO)/astrof.o \
|
|
$(DRIVERS)/backfire.o \
|
|
$(DRIVERS)/battlera.o $(VIDEO)/battlera.o \
|
|
$(DRIVERS)/boogwing.o $(VIDEO)/boogwing.o \
|
|
$(DRIVERS)/brkthru.o $(VIDEO)/brkthru.o \
|
|
$(DRIVERS)/btime.o $(MACHINE)/btime.o $(VIDEO)/btime.o \
|
|
$(DRIVERS)/chanbara.o \
|
|
$(DRIVERS)/bwing.o $(VIDEO)/bwing.o \
|
|
$(DRIVERS)/deshoros.o \
|
|
$(DRIVERS)/cbuster.o $(VIDEO)/cbuster.o \
|
|
$(DRIVERS)/cninja.o $(VIDEO)/cninja.o \
|
|
$(DRIVERS)/cntsteer.o \
|
|
$(DRIVERS)/compgolf.o $(VIDEO)/compgolf.o \
|
|
$(DRIVERS)/darkseal.o $(VIDEO)/darkseal.o \
|
|
$(DRIVERS)/dassault.o $(VIDEO)/dassault.o \
|
|
$(DRIVERS)/dblewing.o \
|
|
$(DRIVERS)/dec0.o $(MACHINE)/dec0.o $(VIDEO)/dec0.o \
|
|
$(DRIVERS)/dec8.o $(VIDEO)/dec8.o \
|
|
$(DRIVERS)/deco_ld.o \
|
|
$(DRIVERS)/deco_mlc.o $(VIDEO)/deco_mlc.o \
|
|
$(DRIVERS)/deco156.o $(MACHINE)/deco156.o \
|
|
$(DRIVERS)/deco32.o $(VIDEO)/deco32.o \
|
|
$(DRIVERS)/decocass.o $(MACHINE)/decocass.o $(VIDEO)/decocass.o \
|
|
$(DRIVERS)/dietgo.o $(VIDEO)/dietgo.o \
|
|
$(DRIVERS)/exprraid.o $(VIDEO)/exprraid.o \
|
|
$(DRIVERS)/firetrap.o $(VIDEO)/firetrap.o \
|
|
$(DRIVERS)/funkyjet.o $(VIDEO)/funkyjet.o \
|
|
$(DRIVERS)/karnov.o $(VIDEO)/karnov.o \
|
|
$(DRIVERS)/kchamp.o $(VIDEO)/kchamp.o \
|
|
$(DRIVERS)/kingobox.o $(VIDEO)/kingobox.o \
|
|
$(DRIVERS)/lemmings.o $(VIDEO)/lemmings.o \
|
|
$(DRIVERS)/liberate.o $(VIDEO)/liberate.o \
|
|
$(DRIVERS)/madalien.o $(AUDIO)/madalien.o $(VIDEO)/madalien.o \
|
|
$(DRIVERS)/madmotor.o $(VIDEO)/madmotor.o \
|
|
$(DRIVERS)/metlclsh.o $(VIDEO)/metlclsh.o \
|
|
$(DRIVERS)/pcktgal.o $(VIDEO)/pcktgal.o \
|
|
$(DRIVERS)/pktgaldx.o $(VIDEO)/pktgaldx.o \
|
|
$(DRIVERS)/pokechmp.o $(VIDEO)/pokechmp.o \
|
|
$(DRIVERS)/progolf.o \
|
|
$(DRIVERS)/rohga.o $(VIDEO)/rohga.o \
|
|
$(DRIVERS)/shootout.o $(VIDEO)/shootout.o \
|
|
$(DRIVERS)/sidepckt.o $(VIDEO)/sidepckt.o \
|
|
$(DRIVERS)/simpl156.o $(VIDEO)/simpl156.o \
|
|
$(DRIVERS)/sshangha.o $(VIDEO)/sshangha.o \
|
|
$(DRIVERS)/stadhero.o $(VIDEO)/stadhero.o \
|
|
$(DRIVERS)/supbtime.o $(VIDEO)/supbtime.o \
|
|
$(DRIVERS)/tryout.o $(VIDEO)/tryout.o \
|
|
$(DRIVERS)/tumbleb.o $(VIDEO)/tumbleb.o \
|
|
$(DRIVERS)/tumblep.o $(VIDEO)/tumblep.o \
|
|
$(DRIVERS)/vaportra.o $(VIDEO)/vaportra.o \
|
|
$(MACHINE)/deco102.o \
|
|
$(MACHINE)/decocrpt.o \
|
|
$(MACHINE)/decoprot.o \
|
|
$(VIDEO)/deco16ic.o
|
|
|
|
$(MAMEOBJ)/dataeast.a: $(DATAEAST_OBJS)
|
|
|
|
DOOYONG_OBJS := \
|
|
$(DRIVERS)/dooyong.o $(VIDEO)/dooyong.o \
|
|
$(DRIVERS)/gundealr.o $(VIDEO)/gundealr.o
|
|
|
|
$(MAMEOBJ)/dooyong.a: $(DOOYONG_OBJS)
|
|
|
|
DYNAX_OBJS := \
|
|
$(DRIVERS)/ddenlovr.o \
|
|
$(DRIVERS)/dynax.o $(VIDEO)/dynax.o \
|
|
$(DRIVERS)/hnayayoi.o $(VIDEO)/hnayayoi.o \
|
|
$(DRIVERS)/realbrk.o $(VIDEO)/realbrk.o \
|
|
$(DRIVERS)/royalmah.o
|
|
|
|
$(MAMEOBJ)/dynax.a: $(DYNAX_OBJS)
|
|
|
|
EDEVICES_OBJS := \
|
|
$(DRIVERS)/diverboy.o \
|
|
$(DRIVERS)/fantland.o $(VIDEO)/fantland.o \
|
|
$(DRIVERS)/mwarr.o \
|
|
$(DRIVERS)/mugsmash.o $(VIDEO)/mugsmash.o \
|
|
$(DRIVERS)/stlforce.o $(VIDEO)/stlforce.o \
|
|
$(DRIVERS)/ppmast93.o \
|
|
$(DRIVERS)/twins.o \
|
|
$(DRIVERS)/pzletime.o
|
|
|
|
$(MAMEOBJ)/edevices.a: $(EDEVICES_OBJS)
|
|
|
|
EOLITH_OBJS := \
|
|
$(DRIVERS)/eolith.o $(VIDEO)/eolith.o \
|
|
$(DRIVERS)/eolith16.o \
|
|
$(DRIVERS)/eolithsp.o \
|
|
$(DRIVERS)/ghosteo.o \
|
|
$(DRIVERS)/vegaeo.o
|
|
|
|
$(MAMEOBJ)/eolith.a: $(EOLITH_OBJS)
|
|
|
|
EXCELENT_OBJS := \
|
|
$(DRIVERS)/aquarium.o $(VIDEO)/aquarium.o \
|
|
$(DRIVERS)/d9final.o \
|
|
$(DRIVERS)/gcpinbal.o $(VIDEO)/gcpinbal.o \
|
|
$(DRIVERS)/vmetal.o
|
|
|
|
$(MAMEOBJ)/excelent.a: $(EXCELENT_OBJS)
|
|
|
|
EXIDY_OBJS := \
|
|
$(DRIVERS)/carpolo.o $(MACHINE)/carpolo.o $(VIDEO)/carpolo.o \
|
|
$(DRIVERS)/circus.o $(AUDIO)/circus.o $(VIDEO)/circus.o \
|
|
$(DRIVERS)/exidy.o $(AUDIO)/exidy.o $(VIDEO)/exidy.o \
|
|
$(DRIVERS)/exidy440.o $(AUDIO)/exidy440.o $(VIDEO)/exidy440.o \
|
|
$(DRIVERS)/maxaflex.o $(MACHINE)/atari.o $(VIDEO)/atari.o $(VIDEO)/antic.o $(VIDEO)/gtia.o \
|
|
$(DRIVERS)/starfire.o $(VIDEO)/starfire.o \
|
|
$(DRIVERS)/vertigo.o $(MACHINE)/vertigo.o $(VIDEO)/vertigo.o \
|
|
$(DRIVERS)/victory.o $(VIDEO)/victory.o \
|
|
$(AUDIO)/targ.o
|
|
|
|
$(MAMEOBJ)/exidy.a: $(EXIDY_OBJS)
|
|
|
|
F32_OBJS := \
|
|
$(DRIVERS)/crospang.o $(VIDEO)/crospang.o \
|
|
$(DRIVERS)/f-32.o
|
|
|
|
$(MAMEOBJ)/f32.a: $(F32_OBJS)
|
|
|
|
FUUKI_OBJS := \
|
|
$(DRIVERS)/fuukifg2.o $(VIDEO)/fuukifg2.o \
|
|
$(DRIVERS)/fuukifg3.o $(VIDEO)/fuukifg3.o
|
|
|
|
$(MAMEOBJ)/fuuki.a: $(FUUKI_OBJS)
|
|
|
|
GAELCO_OBJS := \
|
|
$(DRIVERS)/gaelco.o $(VIDEO)/gaelco.o $(MACHINE)/gaelcrpt.o \
|
|
$(DRIVERS)/gaelco2.o $(MACHINE)/gaelco2.o $(VIDEO)/gaelco2.o \
|
|
$(DRIVERS)/gaelco3d.o $(VIDEO)/gaelco3d.o \
|
|
$(DRIVERS)/glass.o $(VIDEO)/glass.o \
|
|
$(DRIVERS)/mastboy.o \
|
|
$(DRIVERS)/splash.o $(VIDEO)/splash.o \
|
|
$(DRIVERS)/targeth.o $(VIDEO)/targeth.o \
|
|
$(DRIVERS)/thoop2.o $(VIDEO)/thoop2.o \
|
|
$(DRIVERS)/xorworld.o $(VIDEO)/xorworld.o \
|
|
$(DRIVERS)/wrally.o $(MACHINE)/wrally.o $(VIDEO)/wrally.o \
|
|
$(DRIVERS)/tokyocop.o
|
|
|
|
$(MAMEOBJ)/gaelco.a: $(GAELCO_OBJS)
|
|
|
|
GAMEPLAN_OBJS := \
|
|
$(DRIVERS)/enigma2.o \
|
|
$(DRIVERS)/gameplan.o $(VIDEO)/gameplan.o \
|
|
$(DRIVERS)/toratora.o
|
|
|
|
$(MAMEOBJ)/gameplan.a: $(GAMEPLAN_OBJS)
|
|
|
|
GAMETRON_OBJS := \
|
|
$(DRIVERS)/gotya.o $(AUDIO)/gotya.o $(VIDEO)/gotya.o \
|
|
$(DRIVERS)/sbugger.o $(VIDEO)/sbugger.o \
|
|
$(DRIVERS)/gatron.o $(VIDEO)/gatron.o
|
|
|
|
$(MAMEOBJ)/gametron.a: $(GAMETRON_OBJS)
|
|
|
|
GOTTLIEB_OBJS := \
|
|
$(DRIVERS)/exterm.o $(VIDEO)/exterm.o \
|
|
$(DRIVERS)/gottlieb.o $(AUDIO)/gottlieb.o $(VIDEO)/gottlieb.o \
|
|
|
|
$(MAMEOBJ)/gottlieb.a: $(GOTTLIEB_OBJS)
|
|
|
|
IGS_OBJS := \
|
|
$(DRIVERS)/cabaret.o \
|
|
$(DRIVERS)/ddz.o \
|
|
$(DRIVERS)/dunhuang.o \
|
|
$(DRIVERS)/goldstar.o $(VIDEO)/goldstar.o \
|
|
$(DRIVERS)/jackie.o \
|
|
$(DRIVERS)/igspoker.o \
|
|
$(DRIVERS)/igs009.o \
|
|
$(DRIVERS)/igs011.o \
|
|
$(DRIVERS)/igs017.o \
|
|
$(DRIVERS)/igs_m027.o \
|
|
$(DRIVERS)/spoker.o \
|
|
$(DRIVERS)/iqblock.o $(VIDEO)/iqblock.o \
|
|
$(DRIVERS)/lordgun.o $(VIDEO)/lordgun.o \
|
|
$(DRIVERS)/pgm.o $(VIDEO)/pgm.o \
|
|
$(MACHINE)/pgmcrypt.o \
|
|
$(MACHINE)/pgmprot.o
|
|
|
|
$(MAMEOBJ)/igs.a: $(IGS_OBJS)
|
|
|
|
IREM_OBJS := \
|
|
$(DRIVERS)/m10.o $(VIDEO)/m10.o \
|
|
$(DRIVERS)/m14.o \
|
|
$(DRIVERS)/m52.o $(VIDEO)/m52.o \
|
|
$(DRIVERS)/m57.o $(VIDEO)/m57.o \
|
|
$(DRIVERS)/m58.o $(VIDEO)/m58.o \
|
|
$(DRIVERS)/m62.o $(VIDEO)/m62.o \
|
|
$(DRIVERS)/m63.o \
|
|
$(DRIVERS)/m72.o $(AUDIO)/m72.o $(VIDEO)/m72.o \
|
|
$(DRIVERS)/m90.o $(VIDEO)/m90.o \
|
|
$(DRIVERS)/m92.o $(VIDEO)/m92.o \
|
|
$(DRIVERS)/m107.o $(VIDEO)/m107.o \
|
|
$(DRIVERS)/olibochu.o \
|
|
$(DRIVERS)/redalert.o $(AUDIO)/redalert.o $(VIDEO)/redalert.o \
|
|
$(DRIVERS)/shisen.o $(VIDEO)/shisen.o \
|
|
$(DRIVERS)/travrusa.o $(VIDEO)/travrusa.o \
|
|
$(DRIVERS)/vigilant.o $(VIDEO)/vigilant.o \
|
|
$(MACHINE)/irem_cpu.o \
|
|
$(AUDIO)/irem.o
|
|
|
|
$(MAMEOBJ)/irem.a: $(IREM_OBJS)
|
|
|
|
ITECH_OBJS := \
|
|
$(DRIVERS)/capbowl.o $(VIDEO)/capbowl.o \
|
|
$(DRIVERS)/itech8.o $(MACHINE)/slikshot.o $(VIDEO)/itech8.o \
|
|
$(DRIVERS)/itech32.o $(VIDEO)/itech32.o
|
|
|
|
$(MAMEOBJ)/itech.a: $(ITECH_OBJS)
|
|
|
|
JALECO_OBJS := \
|
|
$(DRIVERS)/aeroboto.o $(VIDEO)/aeroboto.o \
|
|
$(DRIVERS)/argus.o $(VIDEO)/argus.o \
|
|
$(VIDEO)/jalblend.o \
|
|
$(DRIVERS)/bestleag.o \
|
|
$(DRIVERS)/bigstrkb.o $(VIDEO)/bigstrkb.o \
|
|
$(DRIVERS)/blueprnt.o $(VIDEO)/blueprnt.o \
|
|
$(DRIVERS)/bnstars.o \
|
|
$(DRIVERS)/cischeat.o $(VIDEO)/cischeat.o \
|
|
$(DRIVERS)/citycon.o $(VIDEO)/citycon.o \
|
|
$(DRIVERS)/ddayjlc.o \
|
|
$(DRIVERS)/exerion.o $(VIDEO)/exerion.o \
|
|
$(DRIVERS)/fcombat.o $(VIDEO)/fcombat.o \
|
|
$(DRIVERS)/ginganin.o $(VIDEO)/ginganin.o \
|
|
$(DRIVERS)/homerun.o $(VIDEO)/homerun.o \
|
|
$(DRIVERS)/megasys1.o $(VIDEO)/megasys1.o \
|
|
$(DRIVERS)/momoko.o $(VIDEO)/momoko.o \
|
|
$(DRIVERS)/ms32.o $(VIDEO)/ms32.o \
|
|
$(DRIVERS)/psychic5.o $(VIDEO)/psychic5.o \
|
|
$(DRIVERS)/pturn.o \
|
|
$(DRIVERS)/skyfox.o $(VIDEO)/skyfox.o \
|
|
$(DRIVERS)/stepstag.o \
|
|
$(DRIVERS)/tetrisp2.o $(VIDEO)/tetrisp2.o
|
|
|
|
$(MAMEOBJ)/jaleco.a: $(JALECO_OBJS)
|
|
|
|
JPM_OBJS := \
|
|
$(DRIVERS)/guab.o \
|
|
$(DRIVERS)/jpmsys5.o \
|
|
$(DRIVERS)/jpmimpct.o $(VIDEO)/jpmimpct.o
|
|
|
|
$(MAMEOBJ)/jpm.a: $(JPM_OBJS)
|
|
|
|
KANEKO_OBJS := \
|
|
$(DRIVERS)/airbustr.o $(VIDEO)/airbustr.o \
|
|
$(DRIVERS)/djboy.o $(VIDEO)/djboy.o \
|
|
$(DRIVERS)/galpanic.o $(VIDEO)/galpanic.o \
|
|
$(DRIVERS)/galpani2.o $(VIDEO)/galpani2.o \
|
|
$(DRIVERS)/galpani3.o \
|
|
$(DRIVERS)/hvyunit.o \
|
|
$(DRIVERS)/jchan.o \
|
|
$(DRIVERS)/kaneko16.o $(MACHINE)/kaneko16.o $(VIDEO)/kaneko16.o \
|
|
$(DRIVERS)/expro02.o \
|
|
$(DRIVERS)/sandscrp.o \
|
|
$(DRIVERS)/suprnova.o $(VIDEO)/suprnova.o
|
|
|
|
$(MAMEOBJ)/kaneko.a: $(KANEKO_OBJS)
|
|
|
|
KONAMI_OBJS := \
|
|
$(DRIVERS)/88games.o $(VIDEO)/88games.o \
|
|
$(DRIVERS)/ajax.o $(MACHINE)/ajax.o $(VIDEO)/ajax.o \
|
|
$(DRIVERS)/aliens.o $(VIDEO)/aliens.o \
|
|
$(DRIVERS)/asterix.o $(VIDEO)/asterix.o \
|
|
$(DRIVERS)/battlnts.o $(VIDEO)/battlnts.o \
|
|
$(DRIVERS)/bishi.o $(VIDEO)/bishi.o \
|
|
$(DRIVERS)/bladestl.o $(VIDEO)/bladestl.o \
|
|
$(DRIVERS)/blockhl.o $(VIDEO)/blockhl.o \
|
|
$(DRIVERS)/bottom9.o $(VIDEO)/bottom9.o \
|
|
$(DRIVERS)/chqflag.o $(VIDEO)/chqflag.o \
|
|
$(DRIVERS)/circusc.o $(VIDEO)/circusc.o \
|
|
$(DRIVERS)/combatsc.o $(VIDEO)/combatsc.o \
|
|
$(DRIVERS)/contra.o $(VIDEO)/contra.o \
|
|
$(DRIVERS)/crimfght.o $(VIDEO)/crimfght.o \
|
|
$(DRIVERS)/dbz.o $(VIDEO)/dbz.o \
|
|
$(DRIVERS)/ddribble.o $(VIDEO)/ddribble.o \
|
|
$(DRIVERS)/djmain.o $(VIDEO)/djmain.o \
|
|
$(DRIVERS)/fastfred.o $(VIDEO)/fastfred.o \
|
|
$(DRIVERS)/fastlane.o $(VIDEO)/fastlane.o \
|
|
$(DRIVERS)/finalizr.o $(VIDEO)/finalizr.o \
|
|
$(DRIVERS)/firebeat.o \
|
|
$(DRIVERS)/flkatck.o $(VIDEO)/flkatck.o \
|
|
$(DRIVERS)/gberet.o $(VIDEO)/gberet.o \
|
|
$(DRIVERS)/gbusters.o $(VIDEO)/gbusters.o \
|
|
$(DRIVERS)/gijoe.o $(VIDEO)/gijoe.o \
|
|
$(DRIVERS)/gradius3.o $(VIDEO)/gradius3.o \
|
|
$(DRIVERS)/gticlub.o $(VIDEO)/gticlub.o \
|
|
$(DRIVERS)/gyruss.o $(VIDEO)/gyruss.o \
|
|
$(DRIVERS)/hcastle.o $(VIDEO)/hcastle.o \
|
|
$(DRIVERS)/hexion.o $(VIDEO)/hexion.o \
|
|
$(DRIVERS)/hornet.o $(MACHINE)/konppc.o \
|
|
$(DRIVERS)/hyperspt.o $(VIDEO)/hyperspt.o \
|
|
$(DRIVERS)/ironhors.o $(VIDEO)/ironhors.o \
|
|
$(DRIVERS)/jackal.o $(VIDEO)/jackal.o \
|
|
$(DRIVERS)/jailbrek.o $(VIDEO)/jailbrek.o \
|
|
$(DRIVERS)/junofrst.o \
|
|
$(DRIVERS)/konamigq.o \
|
|
$(DRIVERS)/konamigv.o \
|
|
$(DRIVERS)/konamigx.o $(MACHINE)/konamigx.o $(VIDEO)/konamigx.o \
|
|
$(DRIVERS)/konamim2.o \
|
|
$(DRIVERS)/kongambl.o \
|
|
$(DRIVERS)/ksys573.o $(MACHINE)/zs01.o \
|
|
$(DRIVERS)/twinkle.o \
|
|
$(DRIVERS)/labyrunr.o $(VIDEO)/labyrunr.o \
|
|
$(DRIVERS)/lethal.o $(VIDEO)/lethal.o \
|
|
$(DRIVERS)/mainevt.o $(VIDEO)/mainevt.o \
|
|
$(DRIVERS)/megazone.o $(VIDEO)/megazone.o \
|
|
$(DRIVERS)/mikie.o $(VIDEO)/mikie.o \
|
|
$(DRIVERS)/mogura.o \
|
|
$(DRIVERS)/moo.o $(VIDEO)/moo.o \
|
|
$(DRIVERS)/mystwarr.o $(VIDEO)/mystwarr.o \
|
|
$(DRIVERS)/nemesis.o $(VIDEO)/nemesis.o \
|
|
$(DRIVERS)/nwk-tr.o \
|
|
$(DRIVERS)/overdriv.o $(VIDEO)/overdriv.o \
|
|
$(DRIVERS)/pandoras.o $(VIDEO)/pandoras.o \
|
|
$(DRIVERS)/parodius.o $(VIDEO)/parodius.o \
|
|
$(DRIVERS)/pingpong.o $(VIDEO)/pingpong.o \
|
|
$(DRIVERS)/plygonet.o $(VIDEO)/plygonet.o \
|
|
$(DRIVERS)/pooyan.o $(VIDEO)/pooyan.o \
|
|
$(DRIVERS)/qdrmfgp.o $(VIDEO)/qdrmfgp.o \
|
|
$(DRIVERS)/rockrage.o $(VIDEO)/rockrage.o \
|
|
$(DRIVERS)/rocnrope.o $(VIDEO)/rocnrope.o \
|
|
$(DRIVERS)/rollerg.o $(VIDEO)/rollerg.o \
|
|
$(DRIVERS)/rungun.o $(VIDEO)/rungun.o \
|
|
$(DRIVERS)/sbasketb.o $(VIDEO)/sbasketb.o \
|
|
$(DRIVERS)/scobra.o \
|
|
$(DRIVERS)/scotrsht.o $(VIDEO)/scotrsht.o \
|
|
$(DRIVERS)/scramble.o $(MACHINE)/scramble.o $(AUDIO)/scramble.o \
|
|
$(DRIVERS)/shaolins.o $(VIDEO)/shaolins.o \
|
|
$(DRIVERS)/simpsons.o $(MACHINE)/simpsons.o $(VIDEO)/simpsons.o \
|
|
$(DRIVERS)/spy.o $(VIDEO)/spy.o \
|
|
$(DRIVERS)/surpratk.o $(VIDEO)/surpratk.o \
|
|
$(DRIVERS)/tgtpanic.o \
|
|
$(DRIVERS)/thunderx.o $(VIDEO)/thunderx.o \
|
|
$(DRIVERS)/timeplt.o $(AUDIO)/timeplt.o $(VIDEO)/timeplt.o \
|
|
$(DRIVERS)/tmnt.o $(VIDEO)/tmnt.o \
|
|
$(DRIVERS)/tp84.o $(VIDEO)/tp84.o \
|
|
$(DRIVERS)/trackfld.o $(MACHINE)/konami1.o $(AUDIO)/trackfld.o $(VIDEO)/trackfld.o \
|
|
$(DRIVERS)/tutankhm.o $(VIDEO)/tutankhm.o \
|
|
$(DRIVERS)/twin16.o $(VIDEO)/twin16.o \
|
|
$(DRIVERS)/ultrsprt.o \
|
|
$(DRIVERS)/ultraman.o $(VIDEO)/ultraman.o \
|
|
$(DRIVERS)/vendetta.o $(VIDEO)/vendetta.o \
|
|
$(DRIVERS)/viper.o \
|
|
$(DRIVERS)/wecleman.o $(VIDEO)/wecleman.o \
|
|
$(DRIVERS)/xexex.o $(VIDEO)/xexex.o \
|
|
$(DRIVERS)/xmen.o $(VIDEO)/xmen.o \
|
|
$(DRIVERS)/yiear.o $(VIDEO)/yiear.o \
|
|
$(DRIVERS)/zr107.o \
|
|
$(VIDEO)/konamiic.o $(VIDEO)/konicdev.o
|
|
|
|
$(MAMEOBJ)/konami.a: $(KONAMI_OBJS)
|
|
|
|
MAYGAY_OBJS := \
|
|
$(DRIVERS)/maygay1b.o \
|
|
$(DRIVERS)/maygayv1.o
|
|
|
|
$(MAMEOBJ)/maygay.a: $(MAYGAY_OBJS)
|
|
|
|
MEADOWS_OBJS := \
|
|
$(DRIVERS)/lazercmd.o $(VIDEO)/lazercmd.o \
|
|
$(DRIVERS)/meadows.o $(AUDIO)/meadows.o $(VIDEO)/meadows.o
|
|
|
|
$(MAMEOBJ)/meadows.a: $(MEADOWS_OBJS)
|
|
|
|
MERIT_OBJS := \
|
|
$(DRIVERS)/mpoker.o \
|
|
$(DRIVERS)/merit.o \
|
|
$(DRIVERS)/meritm.o
|
|
|
|
$(MAMEOBJ)/merit.a: $(MERIT_OBJS)
|
|
|
|
METRO_OBJS := \
|
|
$(DRIVERS)/hyprduel.o $(VIDEO)/hyprduel.o \
|
|
$(DRIVERS)/metro.o $(VIDEO)/metro.o \
|
|
$(DRIVERS)/rabbit.o \
|
|
$(DRIVERS)/tmmjprd.o
|
|
|
|
$(MAMEOBJ)/metro.a: $(METRO_OBJS)
|
|
|
|
MIDCOIN_OBJS := \
|
|
$(DRIVERS)/wallc.o \
|
|
$(DRIVERS)/wink.o
|
|
|
|
$(MAMEOBJ)/midcoin.a: $(MIDCOIN_OBJS)
|
|
|
|
MIDW8080_OBJS := \
|
|
$(DRIVERS)/8080bw.o $(AUDIO)/8080bw.o $(VIDEO)/8080bw.o \
|
|
$(DRIVERS)/m79amb.o $(AUDIO)/m79amb.o \
|
|
$(DRIVERS)/mw8080bw.o $(MACHINE)/mw8080bw.o $(AUDIO)/mw8080bw.o $(VIDEO)/mw8080bw.o \
|
|
$(DRIVERS)/rotaryf.o \
|
|
$(DRIVERS)/sspeedr.o $(VIDEO)/sspeedr.o
|
|
|
|
$(MAMEOBJ)/midw8080.a: $(MIDW8080_OBJS)
|
|
|
|
MIDWAY_OBJS := \
|
|
$(DRIVERS)/astrocde.o $(VIDEO)/astrocde.o \
|
|
$(DRIVERS)/balsente.o $(MACHINE)/balsente.o $(VIDEO)/balsente.o \
|
|
$(DRIVERS)/gridlee.o $(AUDIO)/gridlee.o $(VIDEO)/gridlee.o \
|
|
$(DRIVERS)/mcr.o $(MACHINE)/mcr.o $(AUDIO)/mcr.o $(VIDEO)/mcr.o \
|
|
$(DRIVERS)/mcr3.o $(VIDEO)/mcr3.o \
|
|
$(DRIVERS)/mcr68.o $(VIDEO)/mcr68.o \
|
|
$(DRIVERS)/midtunit.o $(MACHINE)/midtunit.o $(VIDEO)/midtunit.o \
|
|
$(DRIVERS)/midvunit.o $(VIDEO)/midvunit.o \
|
|
$(DRIVERS)/midwunit.o $(MACHINE)/midwunit.o \
|
|
$(DRIVERS)/midxunit.o \
|
|
$(DRIVERS)/midyunit.o $(MACHINE)/midyunit.o $(VIDEO)/midyunit.o \
|
|
$(DRIVERS)/midzeus.o $(VIDEO)/midzeus.o $(VIDEO)/midzeus2.o \
|
|
$(DRIVERS)/omegrace.o \
|
|
$(DRIVERS)/seattle.o \
|
|
$(DRIVERS)/tmaster.o \
|
|
$(DRIVERS)/vegas.o \
|
|
$(DRIVERS)/williams.o $(MACHINE)/williams.o $(AUDIO)/williams.o $(VIDEO)/williams.o \
|
|
$(MACHINE)/midwayic.o \
|
|
$(AUDIO)/dcs.o \
|
|
$(AUDIO)/gorf.o \
|
|
$(AUDIO)/wow.o
|
|
|
|
$(MAMEOBJ)/midway.a: $(MIDWAY_OBJS)
|
|
|
|
MSX_OBJS := \
|
|
$(DRIVERS)/big10.o \
|
|
$(DRIVERS)/forte2.o \
|
|
$(DRIVERS)/pengadvb.o \
|
|
$(DRIVERS)/sangho.o \
|
|
$(DRIVERS)/sfkick.o
|
|
|
|
$(MAMEOBJ)/msx.a: $(MSX_OBJS)
|
|
|
|
NAMCO_OBJS := \
|
|
$(DRIVERS)/20pacgal.o $(VIDEO)/20pacgal.o \
|
|
$(DRIVERS)/baraduke.o $(VIDEO)/baraduke.o \
|
|
$(DRIVERS)/dambustr.o \
|
|
$(DRIVERS)/gal3.o \
|
|
$(DRIVERS)/galaga.o $(AUDIO)/galaga.o $(VIDEO)/galaga.o \
|
|
$(DRIVERS)/galaxian.o $(AUDIO)/galaxian.o $(VIDEO)/galaxian.o \
|
|
$(DRIVERS)/galaxold.o $(MACHINE)/galaxold.o $(VIDEO)/galaxold.o \
|
|
$(DRIVERS)/gaplus.o $(MACHINE)/gaplus.o $(VIDEO)/gaplus.o \
|
|
$(DRIVERS)/kungfur.o \
|
|
$(DRIVERS)/mappy.o $(VIDEO)/mappy.o \
|
|
$(DRIVERS)/namcofl.o $(VIDEO)/namcofl.o \
|
|
$(DRIVERS)/namcoic.o \
|
|
$(DRIVERS)/namcona1.o $(VIDEO)/namcona1.o \
|
|
$(DRIVERS)/namconb1.o $(VIDEO)/namconb1.o \
|
|
$(DRIVERS)/namcond1.o $(MACHINE)/namcond1.o $(VIDEO)/ygv608.o \
|
|
$(DRIVERS)/namcos1.o $(MACHINE)/namcos1.o $(VIDEO)/namcos1.o \
|
|
$(DRIVERS)/namcos10.o \
|
|
$(DRIVERS)/namcos11.o \
|
|
$(DRIVERS)/namcos12.o \
|
|
$(DRIVERS)/namcos2.o $(MACHINE)/namcos2.o $(VIDEO)/namcos2.o \
|
|
$(DRIVERS)/namcos21.o $(VIDEO)/namcos21.o \
|
|
$(DRIVERS)/namcos22.o $(VIDEO)/namcos22.o \
|
|
$(DRIVERS)/namcos23.o \
|
|
$(DRIVERS)/namcos86.o $(VIDEO)/namcos86.o \
|
|
$(DRIVERS)/pacland.o $(VIDEO)/pacland.o \
|
|
$(DRIVERS)/polepos.o $(AUDIO)/polepos.o $(VIDEO)/polepos.o \
|
|
$(DRIVERS)/rallyx.o $(VIDEO)/rallyx.o \
|
|
$(DRIVERS)/skykid.o $(VIDEO)/skykid.o \
|
|
$(DRIVERS)/tankbatt.o $(VIDEO)/tankbatt.o \
|
|
$(DRIVERS)/tceptor.o $(VIDEO)/tceptor.o \
|
|
$(DRIVERS)/toypop.o $(VIDEO)/toypop.o \
|
|
$(DRIVERS)/turrett.o \
|
|
$(DRIVERS)/warpwarp.o $(AUDIO)/warpwarp.o $(VIDEO)/warpwarp.o \
|
|
$(MACHINE)/namcoio.o \
|
|
$(AUDIO)/geebee.o \
|
|
$(MACHINE)/namco06.o \
|
|
$(MACHINE)/namco50.o \
|
|
$(MACHINE)/namco51.o \
|
|
$(MACHINE)/namco53.o \
|
|
$(AUDIO)/namco52.o \
|
|
$(AUDIO)/namco54.o \
|
|
$(AUDIO)/namcoc7x.o \
|
|
$(VIDEO)/bosco.o \
|
|
$(VIDEO)/digdug.o \
|
|
$(MACHINE)/psx.o $(VIDEO)/psx.o \
|
|
$(MACHINE)/xevious.o $(VIDEO)/xevious.o \
|
|
$(DRIVERS)/namcops2.o
|
|
|
|
$(MAMEOBJ)/namco.a: $(NAMCO_OBJS)
|
|
|
|
NASCO_OBJS := \
|
|
$(DRIVERS)/crgolf.o $(VIDEO)/crgolf.o \
|
|
$(DRIVERS)/suprgolf.o
|
|
|
|
$(MAMEOBJ)/nasco.a: $(NASCO_OBJS)
|
|
|
|
NEOGEO_OBJS := \
|
|
$(DRIVERS)/neogeo.o $(VIDEO)/neogeo.o \
|
|
$(MACHINE)/neoboot.o \
|
|
$(MACHINE)/neocrypt.o \
|
|
$(MACHINE)/neoprot.o
|
|
|
|
$(MAMEOBJ)/neogeo.a: $(NEOGEO_OBJS)
|
|
|
|
NICHIBUT_OBJS := \
|
|
$(DRIVERS)/armedf.o $(VIDEO)/armedf.o \
|
|
$(DRIVERS)/bigfghtr.o \
|
|
$(DRIVERS)/cclimber.o $(MACHINE)/cclimber.o $(AUDIO)/cclimber.o $(VIDEO)/cclimber.o \
|
|
$(DRIVERS)/clshroad.o $(VIDEO)/clshroad.o \
|
|
$(DRIVERS)/cop01.o $(VIDEO)/cop01.o \
|
|
$(DRIVERS)/dacholer.o \
|
|
$(DRIVERS)/galivan.o $(VIDEO)/galivan.o \
|
|
$(DRIVERS)/gomoku.o $(AUDIO)/gomoku.o $(VIDEO)/gomoku.o \
|
|
$(DRIVERS)/hyhoo.o $(VIDEO)/hyhoo.o \
|
|
$(DRIVERS)/jangou.o \
|
|
$(DRIVERS)/magmax.o $(VIDEO)/magmax.o \
|
|
$(DRIVERS)/nbmj8688.o $(VIDEO)/nbmj8688.o \
|
|
$(DRIVERS)/nbmj8891.o $(VIDEO)/nbmj8891.o \
|
|
$(DRIVERS)/nbmj8900.o $(VIDEO)/nbmj8900.o \
|
|
$(DRIVERS)/nbmj8991.o $(VIDEO)/nbmj8991.o \
|
|
$(DRIVERS)/nbmj9195.o $(VIDEO)/nbmj9195.o \
|
|
$(DRIVERS)/nightgal.o \
|
|
$(DRIVERS)/niyanpai.o $(MACHINE)/m68kfmly.o $(VIDEO)/niyanpai.o \
|
|
$(DRIVERS)/pastelg.o $(VIDEO)/pastelg.o \
|
|
$(DRIVERS)/seicross.o $(VIDEO)/seicross.o \
|
|
$(DRIVERS)/terracre.o $(VIDEO)/terracre.o \
|
|
$(DRIVERS)/tubep.o $(VIDEO)/tubep.o \
|
|
$(DRIVERS)/wiping.o $(AUDIO)/wiping.o $(VIDEO)/wiping.o \
|
|
$(MACHINE)/nb1413m3.o
|
|
|
|
$(MAMEOBJ)/nichibut.a: $(NICHIBUT_OBJS)
|
|
|
|
NINTENDO_OBJS := \
|
|
$(DRIVERS)/dkong.o $(AUDIO)/dkong.o $(VIDEO)/dkong.o \
|
|
$(DRIVERS)/cham24.o \
|
|
$(DRIVERS)/snesb.o \
|
|
$(DRIVERS)/mario.o $(AUDIO)/mario.o $(VIDEO)/mario.o \
|
|
$(DRIVERS)/multigam.o \
|
|
$(DRIVERS)/n8080.o $(AUDIO)/n8080.o $(VIDEO)/n8080.o \
|
|
$(DRIVERS)/nss.o $(MACHINE)/snes.o $(AUDIO)/snes_snd.o $(VIDEO)/snes.o \
|
|
$(DRIVERS)/playch10.o $(MACHINE)/playch10.o $(VIDEO)/playch10.o \
|
|
$(DRIVERS)/popeye.o $(VIDEO)/popeye.o \
|
|
$(DRIVERS)/punchout.o $(VIDEO)/punchout.o \
|
|
$(DRIVERS)/sfcbox.o \
|
|
$(DRIVERS)/spacefb.o $(AUDIO)/spacefb.o $(VIDEO)/spacefb.o \
|
|
$(DRIVERS)/vsnes.o $(MACHINE)/vsnes.o $(VIDEO)/vsnes.o \
|
|
$(VIDEO)/ppu2c0x.o
|
|
|
|
$(MAMEOBJ)/nintendo.a: $(NINTENDO_OBJS)
|
|
|
|
NIX_OBJS := \
|
|
$(DRIVERS)/fitfight.o $(VIDEO)/fitfight.o \
|
|
$(DRIVERS)/pirates.o $(VIDEO)/pirates.o
|
|
|
|
$(MAMEOBJ)/nix.a: $(NIX_OBJS)
|
|
|
|
NMK_OBJS := \
|
|
$(DRIVERS)/acommand.o \
|
|
$(DRIVERS)/cultures.o \
|
|
$(DRIVERS)/ddealer.o \
|
|
$(DRIVERS)/jalmah.o \
|
|
$(DRIVERS)/macrossp.o $(VIDEO)/macrossp.o \
|
|
$(DRIVERS)/nmk16.o $(MACHINE)/nmk004.o $(VIDEO)/nmk16.o \
|
|
$(DRIVERS)/quizdna.o $(VIDEO)/quizdna.o \
|
|
$(DRIVERS)/quizpani.o $(VIDEO)/quizpani.o
|
|
|
|
$(MAMEOBJ)/nmk.a: $(NMK_OBJS)
|
|
|
|
OLYMPIA_OBJS := \
|
|
$(DRIVERS)/dday.o $(VIDEO)/dday.o \
|
|
$(DRIVERS)/monzagp.o \
|
|
$(DRIVERS)/portrait.o $(VIDEO)/portrait.o \
|
|
$(DRIVERS)/vega.o
|
|
|
|
$(MAMEOBJ)/olympia.a: $(OLYMPIA_OBJS)
|
|
|
|
OMORI_OBJS := \
|
|
$(DRIVERS)/battlex.o $(VIDEO)/battlex.o \
|
|
$(DRIVERS)/carjmbre.o $(VIDEO)/carjmbre.o \
|
|
$(DRIVERS)/popper.o $(VIDEO)/popper.o \
|
|
$(DRIVERS)/spaceg.o
|
|
|
|
$(MAMEOBJ)/omori.a: $(OMORI_OBJS)
|
|
|
|
ORCA_OBJS := \
|
|
$(DRIVERS)/espial.o $(VIDEO)/espial.o \
|
|
$(DRIVERS)/funkybee.o $(VIDEO)/funkybee.o \
|
|
$(DRIVERS)/marineb.o $(VIDEO)/marineb.o \
|
|
$(DRIVERS)/vastar.o $(VIDEO)/vastar.o \
|
|
$(DRIVERS)/zodiack.o $(VIDEO)/zodiack.o
|
|
|
|
$(MAMEOBJ)/orca.a: $(ORCA_OBJS)
|
|
|
|
PACIFIC_OBJS := \
|
|
$(DRIVERS)/mrflea.o $(VIDEO)/mrflea.o \
|
|
$(DRIVERS)/thief.o $(VIDEO)/thief.o
|
|
|
|
$(MAMEOBJ)/pacific.a: $(PACIFIC_OBJS)
|
|
|
|
PACMAN_OBJS := \
|
|
$(DRIVERS)/jrpacman.o \
|
|
$(DRIVERS)/pacman.o $(VIDEO)/pacman.o \
|
|
$(DRIVERS)/pengo.o \
|
|
$(MACHINE)/acitya.o \
|
|
$(MACHINE)/jumpshot.o \
|
|
$(MACHINE)/pacplus.o \
|
|
$(MACHINE)/theglobp.o
|
|
|
|
$(MAMEOBJ)/pacman.a: $(PACMAN_OBJS)
|
|
|
|
PCE_OBJS := \
|
|
$(DRIVERS)/uapce.o \
|
|
$(DRIVERS)/paranoia.o \
|
|
$(DRIVERS)/ggconnie.o \
|
|
$(MACHINE)/pcecommn.o $(VIDEO)/vdc.o
|
|
|
|
$(MAMEOBJ)/pce.a: $(PCE_OBJS)
|
|
|
|
PHOENIX_OBJS := \
|
|
$(DRIVERS)/naughtyb.o $(VIDEO)/naughtyb.o \
|
|
$(DRIVERS)/phoenix.o $(AUDIO)/phoenix.o $(VIDEO)/phoenix.o \
|
|
$(DRIVERS)/safarir.o \
|
|
$(AUDIO)/pleiads.o
|
|
|
|
$(MAMEOBJ)/phoenix.a: $(PHOENIX_OBJS)
|
|
|
|
PLAYMARK_OBJS := \
|
|
$(DRIVERS)/drtomy.o \
|
|
$(DRIVERS)/playmark.o $(VIDEO)/playmark.o \
|
|
$(DRIVERS)/powerbal.o \
|
|
$(DRIVERS)/sderby.o $(VIDEO)/sderby.o \
|
|
$(DRIVERS)/sslam.o $(VIDEO)/sslam.o
|
|
|
|
$(MAMEOBJ)/playmark.a: $(PLAYMARK_OBJS)
|
|
|
|
PSIKYO_OBJS := \
|
|
$(DRIVERS)/psikyo.o $(VIDEO)/psikyo.o \
|
|
$(DRIVERS)/psikyo4.o $(VIDEO)/psikyo4.o \
|
|
$(DRIVERS)/psikyosh.o $(VIDEO)/psikyosh.o
|
|
|
|
$(MAMEOBJ)/psikyo.a: $(PSIKYO_OBJS)
|
|
|
|
RAMTEK_OBJS := \
|
|
$(DRIVERS)/hitme.o $(AUDIO)/hitme.o \
|
|
$(DRIVERS)/starcrus.o $(VIDEO)/starcrus.o
|
|
|
|
$(MAMEOBJ)/ramtek.a: $(RAMTEK_OBJS)
|
|
|
|
RARE_OBJS := \
|
|
$(DRIVERS)/btoads.o $(VIDEO)/btoads.o \
|
|
$(DRIVERS)/kinst.o \
|
|
$(DRIVERS)/xtheball.o
|
|
|
|
$(MAMEOBJ)/rare.a: $(RARE_OBJS)
|
|
|
|
SANRITSU_OBJS := \
|
|
$(DRIVERS)/appoooh.o $(VIDEO)/appoooh.o \
|
|
$(DRIVERS)/bankp.o $(VIDEO)/bankp.o \
|
|
$(DRIVERS)/chinsan.o \
|
|
$(DRIVERS)/drmicro.o $(VIDEO)/drmicro.o \
|
|
$(DRIVERS)/jantotsu.o \
|
|
$(DRIVERS)/mayumi.o \
|
|
$(DRIVERS)/mermaid.o $(VIDEO)/mermaid.o \
|
|
$(DRIVERS)/mjkjidai.o $(VIDEO)/mjkjidai.o
|
|
|
|
$(MAMEOBJ)/sanritsu.a: $(SANRITSU_OBJS)
|
|
|
|
SEGA_OBJS := \
|
|
$(DRIVERS)/aladbl.o \
|
|
$(DRIVERS)/angelkds.o $(VIDEO)/angelkds.o \
|
|
$(DRIVERS)/bingoc.o \
|
|
$(DRIVERS)/blockade.o $(AUDIO)/blockade.o $(VIDEO)/blockade.o \
|
|
$(DRIVERS)/calorie.o \
|
|
$(DRIVERS)/coolridr.o \
|
|
$(DRIVERS)/deniam.o $(VIDEO)/deniam.o \
|
|
$(DRIVERS)/dotrikun.o \
|
|
$(VIDEO)/genesis.o \
|
|
$(DRIVERS)/gpworld.o \
|
|
$(DRIVERS)/hikaru.o \
|
|
$(DRIVERS)/hshavoc.o \
|
|
$(DRIVERS)/kopunch.o $(VIDEO)/kopunch.o \
|
|
$(DRIVERS)/megadriv.o \
|
|
$(DRIVERS)/megaplay.o \
|
|
$(DRIVERS)/megatech.o \
|
|
$(DRIVERS)/model1.o $(MACHINE)/model1.o $(VIDEO)/model1.o \
|
|
$(DRIVERS)/model2.o $(VIDEO)/model2.o \
|
|
$(DRIVERS)/model3.o $(VIDEO)/model3.o $(MACHINE)/model3.o \
|
|
$(DRIVERS)/naomi.o $(MACHINE)/dc.o $(VIDEO)/dc.o $(MACHINE)/gdcrypt.o $(MACHINE)/naomibd.o $(MACHINE)/naomi.o \
|
|
$(DRIVERS)/triforce.o $(DRIVERS)/chihiro.o \
|
|
$(DRIVERS)/puckpkmn.o \
|
|
$(DRIVERS)/segac2.o \
|
|
$(DRIVERS)/segag80r.o $(MACHINE)/segag80.o $(AUDIO)/segag80r.o $(VIDEO)/segag80r.o \
|
|
$(DRIVERS)/segag80v.o $(AUDIO)/segag80v.o $(VIDEO)/segag80v.o \
|
|
$(DRIVERS)/segahang.o $(VIDEO)/segahang.o \
|
|
$(DRIVERS)/segald.o \
|
|
$(DRIVERS)/segaorun.o $(VIDEO)/segaorun.o \
|
|
$(DRIVERS)/segas16a.o $(VIDEO)/segas16a.o \
|
|
$(DRIVERS)/segas16b.o $(VIDEO)/segas16b.o \
|
|
$(DRIVERS)/segas18.o $(VIDEO)/segas18.o \
|
|
$(DRIVERS)/segas24.o $(MACHINE)/segas24.o $(VIDEO)/segas24.o \
|
|
$(DRIVERS)/segas32.o $(MACHINE)/segas32.o $(VIDEO)/segas32.o \
|
|
$(DRIVERS)/segamsys.o $(DRIVERS)/segae.o \
|
|
$(DRIVERS)/segaxbd.o $(VIDEO)/segaxbd.o \
|
|
$(DRIVERS)/segaybd.o $(VIDEO)/segaybd.o \
|
|
$(DRIVERS)/ssf2md.o \
|
|
$(DRIVERS)/ssgbl.o \
|
|
$(DRIVERS)/sg1000a.o \
|
|
$(DRIVERS)/stactics.o $(VIDEO)/stactics.o \
|
|
$(DRIVERS)/stv.o $(DRIVERS)/stvinit.o $(MACHINE)/stvprot.o $(MACHINE)/stvcd.o \
|
|
$(DRIVERS)/suprloco.o $(VIDEO)/suprloco.o \
|
|
$(DRIVERS)/system1.o $(VIDEO)/system1.o \
|
|
$(DRIVERS)/system16.o $(VIDEO)/system16.o \
|
|
$(DRIVERS)/timetrv.o \
|
|
$(DRIVERS)/topshoot.o \
|
|
$(DRIVERS)/turbo.o $(AUDIO)/turbo.o $(VIDEO)/turbo.o \
|
|
$(DRIVERS)/vicdual.o $(AUDIO)/vicdual.o $(VIDEO)/vicdual.o \
|
|
$(DRIVERS)/zaxxon.o $(AUDIO)/zaxxon.o $(VIDEO)/zaxxon.o \
|
|
$(MACHINE)/fd1089.o \
|
|
$(MACHINE)/fd1094.o \
|
|
$(MACHINE)/fddebug.o \
|
|
$(MACHINE)/mc8123.o \
|
|
$(MACHINE)/s16fd.o \
|
|
$(MACHINE)/s24fd.o \
|
|
$(MACHINE)/scudsp.o \
|
|
$(MACHINE)/segaic16.o \
|
|
$(AUDIO)/carnival.o \
|
|
$(AUDIO)/depthch.o \
|
|
$(AUDIO)/invinco.o \
|
|
$(AUDIO)/pulsar.o \
|
|
$(AUDIO)/segasnd.o \
|
|
$(VIDEO)/segaic16.o \
|
|
$(VIDEO)/sega16sp.o \
|
|
$(VIDEO)/segaic24.o \
|
|
$(VIDEO)/stvvdp1.o $(VIDEO)/stvvdp2.o
|
|
|
|
$(MAMEOBJ)/sega.a: $(SEGA_OBJS)
|
|
|
|
SEIBU_OBJS := \
|
|
$(DRIVERS)/cshooter.o \
|
|
$(DRIVERS)/dcon.o $(VIDEO)/dcon.o \
|
|
$(DRIVERS)/deadang.o $(VIDEO)/deadang.o \
|
|
$(DRIVERS)/dynduke.o $(VIDEO)/dynduke.o \
|
|
$(DRIVERS)/kncljoe.o $(VIDEO)/kncljoe.o \
|
|
$(DRIVERS)/mustache.o $(VIDEO)/mustache.o \
|
|
$(DRIVERS)/panicr.o \
|
|
$(DRIVERS)/raiden.o $(VIDEO)/raiden.o \
|
|
$(DRIVERS)/raiden2.o $(MACHINE)/r2crypt.o \
|
|
$(DRIVERS)/seibuspi.o $(MACHINE)/seibuspi.o $(VIDEO)/seibuspi.o \
|
|
$(VIDEO)/sei_crtc.o \
|
|
$(DRIVERS)/sengokmj.o \
|
|
$(DRIVERS)/goodejan.o \
|
|
$(DRIVERS)/stfight.o $(MACHINE)/stfight.o $(VIDEO)/stfight.o \
|
|
$(DRIVERS)/wiz.o $(VIDEO)/wiz.o \
|
|
$(MACHINE)/spisprit.o \
|
|
$(AUDIO)/seibu.o \
|
|
$(DRIVERS)/bloodbro.o $(VIDEO)/bloodbro.o \
|
|
$(DRIVERS)/cabal.o $(VIDEO)/cabal.o \
|
|
$(DRIVERS)/goal92.o $(VIDEO)/goal92.o \
|
|
$(DRIVERS)/legionna.o $(VIDEO)/legionna.o \
|
|
$(MACHINE)/seicop.o \
|
|
$(DRIVERS)/toki.o $(VIDEO)/toki.o \
|
|
$(DRIVERS)/feversoc.o
|
|
|
|
$(MAMEOBJ)/seibu.a: $(SEIBU_OBJS)
|
|
|
|
SETA_OBJS := \
|
|
$(DRIVERS)/aleck64.o $(MACHINE)/n64.o $(VIDEO)/n64.o $(VIDEO)/rdpblend.o $(VIDEO)/rdpfb.o $(VIDEO)/rdpspn16.o $(VIDEO)/rdptrect.o $(VIDEO)/rdpfrect.o $(VIDEO)/rdpfetch.o $(VIDEO)/rdptpipe.o \
|
|
$(DRIVERS)/darkhors.o \
|
|
$(DRIVERS)/hanaawas.o $(VIDEO)/hanaawas.o \
|
|
$(DRIVERS)/macs.o \
|
|
$(DRIVERS)/seta.o $(VIDEO)/seta.o \
|
|
$(DRIVERS)/seta2.o $(VIDEO)/seta2.o \
|
|
$(DRIVERS)/speglsht.o \
|
|
$(DRIVERS)/speedatk.o $(VIDEO)/speedatk.o \
|
|
$(DRIVERS)/srmp2.o $(VIDEO)/srmp2.o \
|
|
$(DRIVERS)/srmp5.o \
|
|
$(DRIVERS)/srmp6.o \
|
|
$(DRIVERS)/ssv.o $(VIDEO)/ssv.o \
|
|
$(DRIVERS)/st0016.o $(VIDEO)/st0016.o
|
|
|
|
$(MAMEOBJ)/seta.a: $(SETA_OBJS)
|
|
|
|
SIGMA_OBJS := \
|
|
$(DRIVERS)/nyny.o \
|
|
$(DRIVERS)/r2dtank.o \
|
|
$(DRIVERS)/sigmab52.o \
|
|
$(DRIVERS)/sigmab98.o \
|
|
$(DRIVERS)/spiders.o $(AUDIO)/spiders.o \
|
|
$(DRIVERS)/sub.o
|
|
|
|
$(MAMEOBJ)/sigma.a: $(SIGMA_OBJS)
|
|
|
|
SNK_OBJS := \
|
|
$(DRIVERS)/bbusters.o $(VIDEO)/bbusters.o \
|
|
$(DRIVERS)/dmndrby.o \
|
|
$(DRIVERS)/hng64.o $(VIDEO)/hng64.o \
|
|
$(DRIVERS)/lasso.o $(VIDEO)/lasso.o \
|
|
$(DRIVERS)/mainsnk.o $(VIDEO)/mainsnk.o \
|
|
$(DRIVERS)/munchmo.o $(VIDEO)/munchmo.o \
|
|
$(DRIVERS)/prehisle.o $(VIDEO)/prehisle.o \
|
|
$(DRIVERS)/snk6502.o $(AUDIO)/snk6502.o $(VIDEO)/snk6502.o \
|
|
$(DRIVERS)/snk.o $(VIDEO)/snk.o \
|
|
$(DRIVERS)/snk68.o $(VIDEO)/snk68.o
|
|
|
|
$(MAMEOBJ)/snk.a: $(SNK_OBJS)
|
|
|
|
STERN_OBJS := \
|
|
$(DRIVERS)/astinvad.o \
|
|
$(DRIVERS)/berzerk.o \
|
|
$(DRIVERS)/cliffhgr.o $(AUDIO)/cliffhgr.o \
|
|
$(DRIVERS)/mazerbla.o \
|
|
$(DRIVERS)/supdrapo.o
|
|
|
|
$(MAMEOBJ)/stern.a: $(STERN_OBJS)
|
|
|
|
SUBSINO_OBJS := \
|
|
$(DRIVERS)/bishjan.o \
|
|
$(DRIVERS)/lastfght.o \
|
|
$(DRIVERS)/subsino.o
|
|
|
|
$(MAMEOBJ)/subsino.a: $(SUBSINO_OBJS)
|
|
|
|
SUN_OBJS := \
|
|
$(DRIVERS)/arabian.o $(VIDEO)/arabian.o \
|
|
$(DRIVERS)/ikki.o $(VIDEO)/ikki.o \
|
|
$(DRIVERS)/kangaroo.o $(VIDEO)/kangaroo.o \
|
|
$(DRIVERS)/markham.o $(VIDEO)/markham.o \
|
|
$(DRIVERS)/route16.o $(VIDEO)/route16.o \
|
|
$(DRIVERS)/shanghai.o \
|
|
$(DRIVERS)/shangha3.o $(VIDEO)/shangha3.o \
|
|
$(DRIVERS)/strnskil.o $(VIDEO)/strnskil.o
|
|
|
|
$(MAMEOBJ)/sun.a: $(SUN_OBJS)
|
|
|
|
SUNA_OBJS := \
|
|
$(DRIVERS)/goindol.o $(VIDEO)/goindol.o \
|
|
$(DRIVERS)/suna8.o $(AUDIO)/suna8.o $(VIDEO)/suna8.o \
|
|
$(DRIVERS)/suna16.o $(VIDEO)/suna16.o \
|
|
$(DRIVERS)/go2000.o
|
|
|
|
$(MAMEOBJ)/suna.a: $(SUNA_OBJS)
|
|
|
|
TAITO_OBJS := \
|
|
$(DRIVERS)/40love.o $(VIDEO)/40love.o \
|
|
$(DRIVERS)/arkanoid.o $(MACHINE)/arkanoid.o $(VIDEO)/arkanoid.o\
|
|
$(DRIVERS)/ashnojoe.o $(VIDEO)/ashnojoe.o \
|
|
$(DRIVERS)/asuka.o $(MACHINE)/bonzeadv.o $(VIDEO)/asuka.o \
|
|
$(DRIVERS)/bigevglf.o $(MACHINE)/bigevglf.o $(VIDEO)/bigevglf.o \
|
|
$(DRIVERS)/bking.o $(VIDEO)/bking.o \
|
|
$(DRIVERS)/bublbobl.o $(MACHINE)/bublbobl.o $(VIDEO)/bublbobl.o \
|
|
$(DRIVERS)/buggychl.o $(MACHINE)/buggychl.o $(VIDEO)/buggychl.o \
|
|
$(DRIVERS)/cchance.o \
|
|
$(DRIVERS)/chaknpop.o $(MACHINE)/chaknpop.o $(VIDEO)/chaknpop.o \
|
|
$(DRIVERS)/champbwl.o \
|
|
$(DRIVERS)/changela.o $(VIDEO)/changela.o \
|
|
$(DRIVERS)/crbaloon.o $(VIDEO)/crbaloon.o $(AUDIO)/crbaloon.o \
|
|
$(DRIVERS)/cyclemb.o \
|
|
$(DRIVERS)/darius.o $(VIDEO)/darius.o \
|
|
$(DRIVERS)/darkmist.o $(VIDEO)/darkmist.o \
|
|
$(DRIVERS)/exzisus.o $(VIDEO)/exzisus.o \
|
|
$(DRIVERS)/fgoal.o $(VIDEO)/fgoal.o \
|
|
$(DRIVERS)/flstory.o $(MACHINE)/flstory.o $(VIDEO)/flstory.o \
|
|
$(DRIVERS)/galastrm.o $(VIDEO)/galastrm.o \
|
|
$(DRIVERS)/gladiatr.o $(VIDEO)/gladiatr.o \
|
|
$(DRIVERS)/grchamp.o $(AUDIO)/grchamp.o $(VIDEO)/grchamp.o \
|
|
$(DRIVERS)/groundfx.o $(VIDEO)/groundfx.o \
|
|
$(DRIVERS)/gsword.o $(MACHINE)/tait8741.o $(VIDEO)/gsword.o \
|
|
$(DRIVERS)/gunbustr.o $(VIDEO)/gunbustr.o \
|
|
$(DRIVERS)/halleys.o \
|
|
$(DRIVERS)/jollyjgr.o \
|
|
$(DRIVERS)/ksayakyu.o $(VIDEO)/ksayakyu.o \
|
|
$(DRIVERS)/lgp.o \
|
|
$(DRIVERS)/lkage.o $(MACHINE)/lkage.o $(VIDEO)/lkage.o \
|
|
$(DRIVERS)/lsasquad.o $(MACHINE)/lsasquad.o $(VIDEO)/lsasquad.o \
|
|
$(DRIVERS)/marinedt.o \
|
|
$(DRIVERS)/mexico86.o $(MACHINE)/mexico86.o $(VIDEO)/mexico86.o \
|
|
$(DRIVERS)/minivadr.o \
|
|
$(DRIVERS)/missb2.o \
|
|
$(DRIVERS)/mlanding.o \
|
|
$(DRIVERS)/msisaac.o $(VIDEO)/msisaac.o \
|
|
$(DRIVERS)/ninjaw.o $(VIDEO)/ninjaw.o \
|
|
$(DRIVERS)/nycaptor.o $(MACHINE)/nycaptor.o $(VIDEO)/nycaptor.o \
|
|
$(DRIVERS)/opwolf.o $(MACHINE)/opwolf.o \
|
|
$(DRIVERS)/othunder.o $(VIDEO)/othunder.o \
|
|
$(DRIVERS)/pitnrun.o $(MACHINE)/pitnrun.o $(VIDEO)/pitnrun.o \
|
|
$(DRIVERS)/qix.o $(MACHINE)/qix.o $(AUDIO)/qix.o $(VIDEO)/qix.o \
|
|
$(DRIVERS)/rainbow.o $(MACHINE)/rainbow.o \
|
|
$(DRIVERS)/rastan.o $(VIDEO)/rastan.o \
|
|
$(DRIVERS)/retofinv.o $(MACHINE)/retofinv.o $(VIDEO)/retofinv.o \
|
|
$(DRIVERS)/rollrace.o $(VIDEO)/rollrace.o \
|
|
$(DRIVERS)/sbowling.o \
|
|
$(DRIVERS)/slapshot.o $(VIDEO)/slapshot.o \
|
|
$(DRIVERS)/ssrj.o $(VIDEO)/ssrj.o \
|
|
$(DRIVERS)/superchs.o $(VIDEO)/superchs.o \
|
|
$(DRIVERS)/superqix.o $(VIDEO)/superqix.o \
|
|
$(DRIVERS)/taito_b.o $(VIDEO)/taito_b.o \
|
|
$(DRIVERS)/taito_f2.o $(VIDEO)/taito_f2.o \
|
|
$(DRIVERS)/taito_f3.o $(VIDEO)/taito_f3.o $(AUDIO)/taito_en.o \
|
|
$(DRIVERS)/taito_h.o $(VIDEO)/taito_h.o \
|
|
$(DRIVERS)/taito_l.o $(VIDEO)/taito_l.o \
|
|
$(DRIVERS)/taito_x.o $(MACHINE)/cchip.o \
|
|
$(DRIVERS)/taito_z.o $(VIDEO)/taito_z.o \
|
|
$(DRIVERS)/taito_o.o $(VIDEO)/taito_o.o \
|
|
$(DRIVERS)/taitoair.o $(VIDEO)/taitoair.o \
|
|
$(DRIVERS)/taitojc.o $(VIDEO)/taitojc.o \
|
|
$(DRIVERS)/taitopjc.o $\
|
|
$(DRIVERS)/taitosj.o $(MACHINE)/taitosj.o $(VIDEO)/taitosj.o \
|
|
$(DRIVERS)/taitotz.o \
|
|
$(DRIVERS)/taitowlf.o \
|
|
$(DRIVERS)/tnzs.o $(MACHINE)/tnzs.o $(VIDEO)/tnzs.o \
|
|
$(DRIVERS)/topspeed.o $(VIDEO)/topspeed.o \
|
|
$(DRIVERS)/tsamurai.o $(VIDEO)/tsamurai.o \
|
|
$(DRIVERS)/undrfire.o $(VIDEO)/undrfire.o \
|
|
$(DRIVERS)/volfied.o $(MACHINE)/volfied.o $(VIDEO)/volfied.o \
|
|
$(DRIVERS)/warriorb.o $(VIDEO)/warriorb.o \
|
|
$(DRIVERS)/wgp.o $(VIDEO)/wgp.o \
|
|
$(AUDIO)/taitosnd.o \
|
|
$(AUDIO)/t5182.o \
|
|
$(MACHINE)/taitoio.o \
|
|
$(VIDEO)/taitoic.o \
|
|
$(AUDIO)/taito_zm.o
|
|
|
|
$(MAMEOBJ)/taito.a: $(TAITO_OBJS)
|
|
|
|
TATSUMI_OBJS := \
|
|
$(DRIVERS)/kingdrby.o \
|
|
$(DRIVERS)/tx1.o $(MACHINE)/tx1.o $(AUDIO)/tx1.o $(VIDEO)/tx1.o \
|
|
$(DRIVERS)/lockon.o $(VIDEO)/lockon.o \
|
|
$(DRIVERS)/tatsumi.o $(MACHINE)/tatsumi.o $(VIDEO)/tatsumi.o
|
|
|
|
$(MAMEOBJ)/tatsumi.a: $(TATSUMI_OBJS)
|
|
|
|
TCH_OBJS := \
|
|
$(DRIVERS)/kickgoal.o $(VIDEO)/kickgoal.o \
|
|
$(DRIVERS)/littlerb.o \
|
|
$(DRIVERS)/speedspn.o $(VIDEO)/speedspn.o \
|
|
$(DRIVERS)/wheelfir.o
|
|
|
|
$(MAMEOBJ)/tch.a: $(TCH_OBJS)
|
|
|
|
TECFRI_OBJS := \
|
|
$(DRIVERS)/holeland.o $(VIDEO)/holeland.o \
|
|
$(DRIVERS)/sauro.o $(VIDEO)/sauro.o \
|
|
$(DRIVERS)/speedbal.o $(VIDEO)/speedbal.o
|
|
|
|
$(MAMEOBJ)/tecfri.a: $(TECFRI_OBJS)
|
|
|
|
TECHNOS_OBJS := \
|
|
$(DRIVERS)/battlane.o $(VIDEO)/battlane.o \
|
|
$(DRIVERS)/blockout.o $(VIDEO)/blockout.o \
|
|
$(DRIVERS)/bogeyman.o $(VIDEO)/bogeyman.o \
|
|
$(DRIVERS)/chinagat.o \
|
|
$(DRIVERS)/ddragon.o $(VIDEO)/ddragon.o \
|
|
$(DRIVERS)/ddragon3.o $(VIDEO)/ddragon3.o \
|
|
$(DRIVERS)/dogfgt.o $(VIDEO)/dogfgt.o \
|
|
$(DRIVERS)/matmania.o $(MACHINE)/maniach.o $(VIDEO)/matmania.o \
|
|
$(DRIVERS)/mystston.o $(VIDEO)/mystston.o \
|
|
$(DRIVERS)/renegade.o $(VIDEO)/renegade.o \
|
|
$(DRIVERS)/scregg.o \
|
|
$(DRIVERS)/shadfrce.o $(VIDEO)/shadfrce.o \
|
|
$(DRIVERS)/spdodgeb.o $(VIDEO)/spdodgeb.o \
|
|
$(DRIVERS)/ssozumo.o $(VIDEO)/ssozumo.o \
|
|
$(DRIVERS)/tagteam.o $(VIDEO)/tagteam.o \
|
|
$(DRIVERS)/vball.o $(VIDEO)/vball.o \
|
|
$(DRIVERS)/wwfsstar.o $(VIDEO)/wwfsstar.o \
|
|
$(DRIVERS)/wwfwfest.o $(VIDEO)/wwfwfest.o \
|
|
$(DRIVERS)/xain.o $(VIDEO)/xain.o
|
|
|
|
$(MAMEOBJ)/technos.a: $(TECHNOS_OBJS)
|
|
|
|
TEHKAN_OBJS := \
|
|
$(DRIVERS)/bombjack.o $(VIDEO)/bombjack.o \
|
|
$(DRIVERS)/gaiden.o $(VIDEO)/gaiden.o \
|
|
$(DRIVERS)/lvcards.o $(VIDEO)/lvcards.o \
|
|
$(DRIVERS)/pbaction.o $(VIDEO)/pbaction.o \
|
|
$(DRIVERS)/senjyo.o $(AUDIO)/senjyo.o $(VIDEO)/senjyo.o \
|
|
$(DRIVERS)/solomon.o $(VIDEO)/solomon.o \
|
|
$(DRIVERS)/spbactn.o $(VIDEO)/spbactn.o \
|
|
$(DRIVERS)/tbowl.o $(VIDEO)/tbowl.o \
|
|
$(DRIVERS)/tecmo.o $(VIDEO)/tecmo.o \
|
|
$(DRIVERS)/tecmo16.o $(VIDEO)/tecmo16.o \
|
|
$(DRIVERS)/tecmosys.o $(MACHINE)/tecmosys.o \
|
|
$(DRIVERS)/tehkanwc.o $(VIDEO)/tehkanwc.o \
|
|
$(DRIVERS)/wc90.o $(VIDEO)/wc90.o \
|
|
$(DRIVERS)/wc90b.o $(VIDEO)/wc90b.o
|
|
|
|
$(MAMEOBJ)/tehkan.a: $(TEHKAN_OBJS)
|
|
|
|
THEPIT_OBJS := \
|
|
$(DRIVERS)/thepit.o $(VIDEO)/thepit.o \
|
|
$(DRIVERS)/timelimt.o $(VIDEO)/timelimt.o
|
|
|
|
$(MAMEOBJ)/thepit.a: $(THEPIT_OBJS)
|
|
|
|
TOAPLAN_OBJS := \
|
|
$(DRIVERS)/mjsister.o \
|
|
$(DRIVERS)/slapfght.o $(MACHINE)/slapfght.o $(VIDEO)/slapfght.o \
|
|
$(DRIVERS)/snowbros.o $(VIDEO)/kan_pand.o $(VIDEO)/kan_panb.o \
|
|
$(DRIVERS)/toaplan1.o $(MACHINE)/toaplan1.o $(VIDEO)/toaplan1.o \
|
|
$(DRIVERS)/toaplan2.o $(AUDIO)/toaplan2.o $(VIDEO)/toaplan2.o \
|
|
$(DRIVERS)/twincobr.o $(MACHINE)/twincobr.o $(VIDEO)/twincobr.o \
|
|
$(DRIVERS)/wardner.o
|
|
|
|
$(MAMEOBJ)/toaplan.a: $(TOAPLAN_OBJS)
|
|
|
|
TONG_OBJS := \
|
|
$(DRIVERS)/beezer.o $(MACHINE)/beezer.o $(VIDEO)/beezer.o
|
|
|
|
$(MAMEOBJ)/tong.a: $(TONG_OBJS)
|
|
|
|
UNICO_OBJS := \
|
|
$(DRIVERS)/drgnmst.o $(VIDEO)/drgnmst.o \
|
|
$(DRIVERS)/silkroad.o $(VIDEO)/silkroad.o \
|
|
$(DRIVERS)/unico.o $(VIDEO)/unico.o
|
|
|
|
$(MAMEOBJ)/unico.a: $(UNICO_OBJS)
|
|
|
|
UNIVERS_OBJS := \
|
|
$(DRIVERS)/cheekyms.o $(VIDEO)/cheekyms.o \
|
|
$(DRIVERS)/cosmic.o $(VIDEO)/cosmic.o \
|
|
$(DRIVERS)/docastle.o $(MACHINE)/docastle.o $(VIDEO)/docastle.o \
|
|
$(DRIVERS)/ladybug.o $(VIDEO)/ladybug.o \
|
|
$(DRIVERS)/mrdo.o $(VIDEO)/mrdo.o \
|
|
$(DRIVERS)/redclash.o $(VIDEO)/redclash.o \
|
|
$(DRIVERS)/superdq.o
|
|
|
|
$(MAMEOBJ)/univers.a: $(UNIVERS_OBJS)
|
|
|
|
UPL_OBJS := \
|
|
$(DRIVERS)/mouser.o $(VIDEO)/mouser.o \
|
|
$(DRIVERS)/ninjakd2.o $(VIDEO)/ninjakd2.o \
|
|
$(DRIVERS)/nova2001.o $(VIDEO)/nova2001.o \
|
|
$(DRIVERS)/xxmissio.o $(VIDEO)/xxmissio.o
|
|
|
|
$(MAMEOBJ)/upl.a: $(UPL_OBJS)
|
|
|
|
VALADON_OBJS := \
|
|
$(DRIVERS)/bagman.o $(MACHINE)/bagman.o $(VIDEO)/bagman.o \
|
|
$(DRIVERS)/tankbust.o $(VIDEO)/tankbust.o
|
|
|
|
$(MAMEOBJ)/valadon.a: $(VALADON_OBJS)
|
|
|
|
VELTMJR_OBJS := \
|
|
$(DRIVERS)/cardline.o \
|
|
$(DRIVERS)/witch.o
|
|
|
|
$(MAMEOBJ)/veltmjr.a: $(VELTMJR_OBJS)
|
|
|
|
VENTURE_OBJS := \
|
|
$(DRIVERS)/looping.o \
|
|
$(DRIVERS)/spcforce.o $(VIDEO)/spcforce.o \
|
|
$(DRIVERS)/suprridr.o $(VIDEO)/suprridr.o
|
|
|
|
$(MAMEOBJ)/venture.a: $(VENTURE_OBJS)
|
|
|
|
VSYSTEM_OBJS := \
|
|
$(DRIVERS)/aerofgt.o $(VIDEO)/aerofgt.o \
|
|
$(DRIVERS)/crshrace.o $(VIDEO)/crshrace.o \
|
|
$(DRIVERS)/f1gp.o $(VIDEO)/f1gp.o \
|
|
$(DRIVERS)/fromance.o $(VIDEO)/fromance.o \
|
|
$(DRIVERS)/fromanc2.o $(VIDEO)/fromanc2.o \
|
|
$(DRIVERS)/gstriker.o $(VIDEO)/gstriker.o \
|
|
$(DRIVERS)/inufuku.o $(VIDEO)/inufuku.o \
|
|
$(DRIVERS)/ojankohs.o $(VIDEO)/ojankohs.o \
|
|
$(DRIVERS)/pipedrm.o \
|
|
$(DRIVERS)/rpunch.o $(VIDEO)/rpunch.o \
|
|
$(DRIVERS)/suprslam.o $(VIDEO)/suprslam.o \
|
|
$(DRIVERS)/tail2nos.o $(VIDEO)/tail2nos.o \
|
|
$(DRIVERS)/taotaido.o $(VIDEO)/taotaido.o \
|
|
$(DRIVERS)/welltris.o $(VIDEO)/welltris.o
|
|
|
|
$(MAMEOBJ)/vsystem.a: $(VSYSTEM_OBJS)
|
|
|
|
YUNSUNG_OBJS := \
|
|
$(DRIVERS)/nmg5.o \
|
|
$(DRIVERS)/paradise.o $(VIDEO)/paradise.o \
|
|
$(DRIVERS)/yunsung8.o $(VIDEO)/yunsung8.o \
|
|
$(DRIVERS)/yunsun16.o $(VIDEO)/yunsun16.o
|
|
|
|
$(MAMEOBJ)/yunsung.a: $(YUNSUNG_OBJS)
|
|
|
|
ZACCARIA_OBJS := \
|
|
$(DRIVERS)/galaxia.o \
|
|
$(DRIVERS)/laserbat.o $(AUDIO)/laserbat.o \
|
|
$(DRIVERS)/zac2650.o $(VIDEO)/zac2650.o \
|
|
$(DRIVERS)/zaccaria.o $(VIDEO)/zaccaria.o
|
|
|
|
$(MAMEOBJ)/zaccaria.a: $(ZACCARIA_OBJS)
|
|
|
|
#-------------------------------------------------
|
|
# remaining drivers
|
|
#-------------------------------------------------
|
|
|
|
MISC_OBJS := \
|
|
$(DRIVERS)/39in1.o \
|
|
$(DRIVERS)/1945kiii.o \
|
|
$(DRIVERS)/2mindril.o \
|
|
$(DRIVERS)/3super8.o \
|
|
$(DRIVERS)/4enraya.o $(VIDEO)/4enraya.o \
|
|
$(DRIVERS)/4roses.o \
|
|
$(DRIVERS)/5clown.o \
|
|
$(DRIVERS)/acefruit.o \
|
|
$(DRIVERS)/adp.o \
|
|
$(DRIVERS)/amaticmg.o \
|
|
$(DRIVERS)/ambush.o $(VIDEO)/ambush.o \
|
|
$(DRIVERS)/ampoker2.o $(VIDEO)/ampoker2.o \
|
|
$(DRIVERS)/amspdwy.o $(VIDEO)/amspdwy.o \
|
|
$(DRIVERS)/artmagic.o $(VIDEO)/artmagic.o \
|
|
$(DRIVERS)/astrocorp.o \
|
|
$(DRIVERS)/attckufo.o \
|
|
$(DRIVERS)/aztarac.o $(AUDIO)/aztarac.o $(VIDEO)/aztarac.o \
|
|
$(DRIVERS)/beaminv.o \
|
|
$(DRIVERS)/bingor.o \
|
|
$(DRIVERS)/blackt96.o \
|
|
$(DRIVERS)/buster.o \
|
|
$(DRIVERS)/calchase.o \
|
|
$(DRIVERS)/calomega.o $(VIDEO)/calomega.o \
|
|
$(DRIVERS)/carrera.o \
|
|
$(DRIVERS)/cave.o $(VIDEO)/cave.o \
|
|
$(DRIVERS)/cb2001.o \
|
|
$(DRIVERS)/cdi.o \
|
|
$(DRIVERS)/chsuper.o \
|
|
$(DRIVERS)/cidelsa.o $(VIDEO)/cidelsa.o \
|
|
$(DRIVERS)/coinmstr.o \
|
|
$(DRIVERS)/coinmvga.o \
|
|
$(DRIVERS)/comebaby.o \
|
|
$(DRIVERS)/coolpool.o \
|
|
$(DRIVERS)/crystal.o $(DRIVERS)/psattack.o $(VIDEO)/vrender0.o \
|
|
$(DRIVERS)/cubeqst.o \
|
|
$(DRIVERS)/cybertnk.o \
|
|
$(DRIVERS)/dcheese.o $(VIDEO)/dcheese.o \
|
|
$(DRIVERS)/dgpix.o \
|
|
$(DRIVERS)/discoboy.o \
|
|
$(DRIVERS)/dominob.o \
|
|
$(DRIVERS)/dorachan.o \
|
|
$(DRIVERS)/dreamwld.o \
|
|
$(DRIVERS)/dribling.o $(VIDEO)/dribling.o \
|
|
$(DRIVERS)/drw80pkr.o \
|
|
$(DRIVERS)/dwarfd.o \
|
|
$(DRIVERS)/dynadice.o \
|
|
$(DRIVERS)/epos.o $(VIDEO)/epos.o \
|
|
$(DRIVERS)/ertictac.o \
|
|
$(DRIVERS)/esd16.o $(VIDEO)/esd16.o \
|
|
$(DRIVERS)/esh.o \
|
|
$(DRIVERS)/esripsys.o $(VIDEO)/esripsys.o \
|
|
$(DRIVERS)/ettrivia.o \
|
|
$(DRIVERS)/flower.o $(AUDIO)/flower.o $(VIDEO)/flower.o \
|
|
$(DRIVERS)/fortecar.o \
|
|
$(DRIVERS)/freekick.o $(VIDEO)/freekick.o \
|
|
$(DRIVERS)/funworld.o $(VIDEO)/funworld.o \
|
|
$(DRIVERS)/galaxi.o \
|
|
$(DRIVERS)/gamecstl.o \
|
|
$(DRIVERS)/gei.o \
|
|
$(DRIVERS)/good.o \
|
|
$(DRIVERS)/goldnpkr.o \
|
|
$(DRIVERS)/gotcha.o $(VIDEO)/gotcha.o \
|
|
$(DRIVERS)/gstream.o \
|
|
$(DRIVERS)/gumbo.o $(VIDEO)/gumbo.o \
|
|
$(DRIVERS)/gunpey.o \
|
|
$(DRIVERS)/highvdeo.o \
|
|
$(DRIVERS)/himesiki.o $(VIDEO)/himesiki.o \
|
|
$(DRIVERS)/hitpoker.o \
|
|
$(DRIVERS)/homedata.o $(VIDEO)/homedata.o \
|
|
$(DRIVERS)/hotblock.o \
|
|
$(DRIVERS)/ilpag.o \
|
|
$(DRIVERS)/imolagp.o \
|
|
$(DRIVERS)/intrscti.o \
|
|
$(DRIVERS)/istellar.o \
|
|
$(DRIVERS)/itgambl2.o \
|
|
$(DRIVERS)/itgambl3.o \
|
|
$(DRIVERS)/itgamble.o \
|
|
$(DRIVERS)/jackpool.o \
|
|
$(DRIVERS)/jokrwild.o \
|
|
$(DRIVERS)/jongkyo.o \
|
|
$(DRIVERS)/kingpin.o \
|
|
$(DRIVERS)/koikoi.o \
|
|
$(DRIVERS)/kyugo.o $(VIDEO)/kyugo.o \
|
|
$(DRIVERS)/ladyfrog.o $(VIDEO)/ladyfrog.o \
|
|
$(DRIVERS)/laserbas.o \
|
|
$(DRIVERS)/lethalj.o $(VIDEO)/lethalj.o \
|
|
$(DRIVERS)/limenko.o \
|
|
$(DRIVERS)/ltcasino.o \
|
|
$(DRIVERS)/lucky74.o $(VIDEO)/lucky74.o \
|
|
$(DRIVERS)/luckgrln.o \
|
|
$(DRIVERS)/magic10.o \
|
|
$(DRIVERS)/magicard.o \
|
|
$(DRIVERS)/magicfly.o \
|
|
$(DRIVERS)/magictg.o \
|
|
$(DRIVERS)/malzak.o $(VIDEO)/malzak.o \
|
|
$(DRIVERS)/mcatadv.o $(VIDEO)/mcatadv.o \
|
|
$(DRIVERS)/micro3d.o $(MACHINE)/micro3d.o $(VIDEO)/micro3d.o $(AUDIO)/micro3d.o \
|
|
$(DRIVERS)/midas.o \
|
|
$(DRIVERS)/mil4000.o \
|
|
$(DRIVERS)/miniboy7.o \
|
|
$(DRIVERS)/mirage.o \
|
|
$(DRIVERS)/mirax.o \
|
|
$(DRIVERS)/mole.o \
|
|
$(DRIVERS)/mosaic.o $(VIDEO)/mosaic.o \
|
|
$(DRIVERS)/mrjong.o $(VIDEO)/mrjong.o \
|
|
$(DRIVERS)/multfish.o \
|
|
$(DRIVERS)/murogem.o \
|
|
$(DRIVERS)/murogmbl.o \
|
|
$(DRIVERS)/neptunp2.o \
|
|
$(DRIVERS)/news.o $(VIDEO)/news.o \
|
|
$(DRIVERS)/norautp.o $(AUDIO)/norautp.o \
|
|
$(DRIVERS)/oneshot.o $(VIDEO)/oneshot.o \
|
|
$(DRIVERS)/onetwo.o \
|
|
$(DRIVERS)/othello.o \
|
|
$(DRIVERS)/othldrby.o $(VIDEO)/othldrby.o \
|
|
$(DRIVERS)/pachifev.o \
|
|
$(DRIVERS)/pangofun.o \
|
|
$(DRIVERS)/pasha2.o \
|
|
$(DRIVERS)/pass.o $(VIDEO)/pass.o \
|
|
$(DRIVERS)/pcat_dyn.o \
|
|
$(DRIVERS)/pcat_nit.o \
|
|
$(DRIVERS)/pcxt.o \
|
|
$(DRIVERS)/peplus.o \
|
|
$(DRIVERS)/photon.o $(VIDEO)/pk8000.o \
|
|
$(DRIVERS)/photon2.o \
|
|
$(DRIVERS)/photoply.o \
|
|
$(DRIVERS)/pinkiri8.o \
|
|
$(DRIVERS)/pipeline.o \
|
|
$(DRIVERS)/pkscram.o \
|
|
$(DRIVERS)/pntnpuzl.o \
|
|
$(DRIVERS)/policetr.o $(VIDEO)/policetr.o \
|
|
$(DRIVERS)/polyplay.o $(AUDIO)/polyplay.o $(VIDEO)/polyplay.o \
|
|
$(DRIVERS)/poker72.o \
|
|
$(DRIVERS)/poo.o \
|
|
$(DRIVERS)/quakeat.o \
|
|
$(DRIVERS)/queen.o \
|
|
$(DRIVERS)/quizo.o \
|
|
$(DRIVERS)/quizpun2.o \
|
|
$(DRIVERS)/rbmk.o \
|
|
$(DRIVERS)/rcorsair.o \
|
|
$(DRIVERS)/re900.o \
|
|
$(DRIVERS)/rgum.o \
|
|
$(DRIVERS)/roul.o \
|
|
$(DRIVERS)/sfbonus.o \
|
|
$(DRIVERS)/shangkid.o $(VIDEO)/shangkid.o \
|
|
$(DRIVERS)/skeetsht.o \
|
|
$(DRIVERS)/skimaxx.o \
|
|
$(DRIVERS)/skyarmy.o \
|
|
$(DRIVERS)/skylncr.o \
|
|
$(DRIVERS)/sliver.o \
|
|
$(DRIVERS)/slotcarn.o \
|
|
$(DRIVERS)/sms.o \
|
|
$(DRIVERS)/snookr10.o $(VIDEO)/snookr10.o \
|
|
$(DRIVERS)/sothello.o \
|
|
$(DRIVERS)/spool99.o \
|
|
$(DRIVERS)/sprcros2.o $(VIDEO)/sprcros2.o \
|
|
$(DRIVERS)/ssfindo.o \
|
|
$(DRIVERS)/ssingles.o \
|
|
$(DRIVERS)/sstrangr.o \
|
|
$(DRIVERS)/statriv2.o \
|
|
$(DRIVERS)/supertnk.o \
|
|
$(DRIVERS)/tattack.o \
|
|
$(DRIVERS)/taxidrvr.o $(VIDEO)/taxidrvr.o \
|
|
$(DRIVERS)/tcl.o \
|
|
$(DRIVERS)/thayers.o \
|
|
$(DRIVERS)/thedeep.o $(VIDEO)/thedeep.o \
|
|
$(DRIVERS)/tiamc1.o $(VIDEO)/tiamc1.o $(AUDIO)/tiamc1.o \
|
|
$(DRIVERS)/tickee.o \
|
|
$(DRIVERS)/truco.o $(VIDEO)/truco.o \
|
|
$(DRIVERS)/trucocl.o $(VIDEO)/trucocl.o \
|
|
$(DRIVERS)/trvmadns.o \
|
|
$(DRIVERS)/trvquest.o \
|
|
$(DRIVERS)/ttchamp.o \
|
|
$(DRIVERS)/tugboat.o \
|
|
$(DRIVERS)/usgames.o $(VIDEO)/usgames.o \
|
|
$(DRIVERS)/vamphalf.o \
|
|
$(DRIVERS)/vcombat.o \
|
|
$(DRIVERS)/videopkr.o \
|
|
$(DRIVERS)/vp101.o \
|
|
$(DRIVERS)/vpoker.o \
|
|
$(DRIVERS)/vroulet.o \
|
|
$(DRIVERS)/wldarrow.o \
|
|
$(DRIVERS)/xyonix.o $(VIDEO)/xyonix.o
|
|
|
|
$(MAMEOBJ)/misc.a: $(MISC_OBJS)
|
|
|
|
#-------------------------------------------------
|
|
# misc dependencies
|
|
#-------------------------------------------------
|
|
|
|
$(DRIVERS)/galaxian.o: $(MAMESRC)/drivers/galdrvr.c
|
|
$(DRIVERS)/mpu4.o: $(MAMESRC)/drivers/mpu4drvr.c
|
|
$(DRIVERS)/neogeo.o: $(MAMESRC)/drivers/neodrvr.c
|
|
$(MACHINE)/snes.o: $(MAMESRC)/machine/snesdsp1.c \
|
|
$(MAMESRC)/machine/snesdsp2.c \
|
|
$(MAMESRC)/machine/snesdsp3.c \
|
|
$(MAMESRC)/machine/snesdsp4.c \
|
|
$(MAMESRC)/machine/snescx4.c \
|
|
$(MAMESRC)/machine/cx4ops.c \
|
|
$(MAMESRC)/machine/cx4oam.c \
|
|
$(MAMESRC)/machine/cx4fn.c \
|
|
$(MAMESRC)/machine/cx4data.c \
|
|
$(MAMESRC)/machine/snesrtc.c \
|
|
$(MAMESRC)/machine/snessdd1.c \
|
|
$(MAMESRC)/machine/snesst10.c \
|
|
$(MAMESRC)/machine/snes7110.c \
|
|
$(MAMESRC)/machine/snesbsx.c
|
|
$(VIDEO)/jaguar.o: $(MAMESRC)/video/jagobj.c \
|
|
$(MAMESRC)/video/jagblit.c
|
|
$(VIDEO)/model2.o: $(MAMESRC)/video/model2rd.c
|
|
$(VIDEO)/model3.o: $(MAMESRC)/video/m3raster.c
|
|
$(VIDEO)/n64.o: $(MAMESRC)/video/rdpfiltr.c
|
|
|
|
###########################################################################
|
|
#
|
|
# emu.mak
|
|
#
|
|
# MAME emulation core makefile
|
|
#
|
|
# Copyright Nicola Salmoria and the MAME Team.
|
|
# Visit http://mamedev.org for licensing and usage restrictions.
|
|
#
|
|
###########################################################################
|
|
|
|
|
|
EMUSRC = $(SRC_DIR)/emu
|
|
EMUOBJ = $(OBJ)/emu
|
|
|
|
EMUAUDIO = $(EMUOBJ)/audio
|
|
EMUDRIVERS = $(EMUOBJ)/drivers
|
|
EMULAYOUT = $(EMUOBJ)/layout
|
|
EMUMACHINE = $(EMUOBJ)/machine
|
|
EMUVIDEO = $(EMUOBJ)/video
|
|
|
|
OBJDIRS += \
|
|
$(EMUOBJ)/cpu \
|
|
$(EMUOBJ)/sound \
|
|
$(EMUOBJ)/debug \
|
|
$(EMUOBJ)/debugint \
|
|
$(EMUOBJ)/audio \
|
|
$(EMUOBJ)/drivers \
|
|
$(EMUOBJ)/machine \
|
|
$(EMUOBJ)/layout \
|
|
$(EMUOBJ)/video \
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# emulator core objects
|
|
#-------------------------------------------------
|
|
|
|
EMUOBJS = \
|
|
$(EMUOBJ)/attotime.o \
|
|
$(EMUOBJ)/audit.o \
|
|
$(EMUOBJ)/cheat.o \
|
|
$(EMUOBJ)/clifront.o \
|
|
$(EMUOBJ)/config.o \
|
|
$(EMUOBJ)/crsshair.o \
|
|
$(EMUOBJ)/debugger.o \
|
|
$(EMUOBJ)/devcb.o \
|
|
$(EMUOBJ)/devcpu.o \
|
|
$(EMUOBJ)/devimage.o \
|
|
$(EMUOBJ)/devlegcy.o \
|
|
$(EMUOBJ)/devintrf.o \
|
|
$(EMUOBJ)/didisasm.o \
|
|
$(EMUOBJ)/diexec.o \
|
|
$(EMUOBJ)/diimage.o \
|
|
$(EMUOBJ)/dimemory.o \
|
|
$(EMUOBJ)/dinvram.o \
|
|
$(EMUOBJ)/disound.o \
|
|
$(EMUOBJ)/distate.o \
|
|
$(EMUOBJ)/drawgfx.o \
|
|
$(EMUOBJ)/driver.o \
|
|
$(EMUOBJ)/emualloc.o \
|
|
$(EMUOBJ)/emucore.o \
|
|
$(EMUOBJ)/emuopts.o \
|
|
$(EMUOBJ)/emupal.o \
|
|
$(EMUOBJ)/fileio.o \
|
|
$(EMUOBJ)/hash.o \
|
|
$(EMUOBJ)/hashfile.o \
|
|
$(EMUOBJ)/hiscore.o \
|
|
$(EMUOBJ)/image.o \
|
|
$(EMUOBJ)/info.o \
|
|
$(EMUOBJ)/input.o \
|
|
$(EMUOBJ)/inputseq.o \
|
|
$(EMUOBJ)/inptport.o \
|
|
$(EMUOBJ)/ioprocs.o \
|
|
$(EMUOBJ)/mame.o \
|
|
$(EMUOBJ)/machine.o \
|
|
$(EMUOBJ)/mconfig.o \
|
|
$(EMUOBJ)/memory.o \
|
|
$(EMUOBJ)/output.o \
|
|
$(EMUOBJ)/render.o \
|
|
$(EMUOBJ)/rendfont.o \
|
|
$(EMUOBJ)/rendlay.o \
|
|
$(EMUOBJ)/rendutil.o \
|
|
$(EMUOBJ)/romload.o \
|
|
$(EMUOBJ)/schedule.o \
|
|
$(EMUOBJ)/softlist.o \
|
|
$(EMUOBJ)/sound.o \
|
|
$(EMUOBJ)/state.o \
|
|
$(EMUOBJ)/streams.o \
|
|
$(EMUOBJ)/tilemap.o \
|
|
$(EMUOBJ)/timer.o \
|
|
$(EMUOBJ)/ui.o \
|
|
$(EMUOBJ)/uigfx.o \
|
|
$(EMUOBJ)/uiimage.o \
|
|
$(EMUOBJ)/uiinput.o \
|
|
$(EMUOBJ)/uimenu.o \
|
|
$(EMUOBJ)/validity.o \
|
|
$(EMUOBJ)/video.o \
|
|
$(EMUOBJ)/watchdog.o \
|
|
$(EMUOBJ)/debug/debugcmd.o \
|
|
$(EMUOBJ)/debug/debugcmt.o \
|
|
$(EMUOBJ)/debug/debugcon.o \
|
|
$(EMUOBJ)/debug/debugcpu.o \
|
|
$(EMUOBJ)/debug/debughlp.o \
|
|
$(EMUOBJ)/debug/debugvw.o \
|
|
$(EMUOBJ)/debug/dvdisasm.o \
|
|
$(EMUOBJ)/debug/dvmemory.o \
|
|
$(EMUOBJ)/debug/dvstate.o \
|
|
$(EMUOBJ)/debug/dvtext.o \
|
|
$(EMUOBJ)/debug/express.o \
|
|
$(EMUOBJ)/debug/textbuf.o \
|
|
$(EMUOBJ)/debugint/debugint.o
|
|
|
|
ifdef PROFILER
|
|
EMUOBJS += \
|
|
$(EMUOBJ)/profiler.o
|
|
endif
|
|
|
|
EMUSOUNDOBJS = \
|
|
$(EMUOBJ)/sound/filter.o \
|
|
$(EMUOBJ)/sound/flt_vol.o \
|
|
$(EMUOBJ)/sound/flt_rc.o \
|
|
$(EMUOBJ)/sound/wavwrite.o \
|
|
|
|
EMUAUDIOOBJS = \
|
|
$(EMUAUDIO)/generic.o \
|
|
|
|
EMUDRIVEROBJS = \
|
|
$(EMUDRIVERS)/empty.o \
|
|
|
|
EMUMACHINEOBJS = \
|
|
$(EMUMACHINE)/53c810.o \
|
|
$(EMUMACHINE)/6532riot.o \
|
|
$(EMUMACHINE)/6522via.o \
|
|
$(EMUMACHINE)/6526cia.o \
|
|
$(EMUMACHINE)/6821pia.o \
|
|
$(EMUMACHINE)/6840ptm.o \
|
|
$(EMUMACHINE)/6850acia.o \
|
|
$(EMUMACHINE)/68681.o \
|
|
$(EMUMACHINE)/7474.o \
|
|
$(EMUMACHINE)/74123.o \
|
|
$(EMUMACHINE)/74148.o \
|
|
$(EMUMACHINE)/74153.o \
|
|
$(EMUMACHINE)/74181.o \
|
|
$(EMUMACHINE)/8042kbdc.o \
|
|
$(EMUMACHINE)/8237dma.o \
|
|
$(EMUMACHINE)/8257dma.o \
|
|
$(EMUMACHINE)/8255ppi.o \
|
|
$(EMUMACHINE)/adc083x.o \
|
|
$(EMUMACHINE)/adc1038.o \
|
|
$(EMUMACHINE)/adc1213x.o \
|
|
$(EMUMACHINE)/am53cf96.o \
|
|
$(EMUMACHINE)/at28c16.o \
|
|
$(EMUMACHINE)/cdp1852.o \
|
|
$(EMUMACHINE)/ds1302.o \
|
|
$(EMUMACHINE)/ds2401.o \
|
|
$(EMUMACHINE)/ds2404.o \
|
|
$(EMUMACHINE)/eeprom.o \
|
|
$(EMUMACHINE)/f3853.o \
|
|
$(EMUMACHINE)/generic.o \
|
|
$(EMUMACHINE)/i8243.o \
|
|
$(EMUMACHINE)/i8255a.o \
|
|
$(EMUMACHINE)/i2cmem.o \
|
|
$(EMUMACHINE)/idectrl.o \
|
|
$(EMUMACHINE)/ins8154.o \
|
|
$(EMUMACHINE)/ins8250.o \
|
|
$(EMUMACHINE)/intelfsh.o \
|
|
$(EMUMACHINE)/k033906.o \
|
|
$(EMUMACHINE)/k056230.o \
|
|
$(EMUMACHINE)/latch8.o \
|
|
$(EMUMACHINE)/ldcore.o \
|
|
$(EMUMACHINE)/ldpr8210.o \
|
|
$(EMUMACHINE)/ldv1000.o \
|
|
$(EMUMACHINE)/ldvp931.o \
|
|
$(EMUMACHINE)/mb14241.o \
|
|
$(EMUMACHINE)/mb3773.o \
|
|
$(EMUMACHINE)/mb87078.o \
|
|
$(EMUMACHINE)/mc146818.o \
|
|
$(EMUMACHINE)/microtch.o \
|
|
$(EMUMACHINE)/msm6242.o \
|
|
$(EMUMACHINE)/pc16552d.o \
|
|
$(EMUMACHINE)/pci.o \
|
|
$(EMUMACHINE)/pic8259.o \
|
|
$(EMUMACHINE)/pit8253.o \
|
|
$(EMUMACHINE)/pd4990a.o \
|
|
$(EMUMACHINE)/roc10937.o \
|
|
$(EMUMACHINE)/rp5h01.o \
|
|
$(EMUMACHINE)/rtc65271.o \
|
|
$(EMUMACHINE)/scsi.o \
|
|
$(EMUMACHINE)/scsicd.o \
|
|
$(EMUMACHINE)/scsidev.o \
|
|
$(EMUMACHINE)/scsihd.o \
|
|
$(EMUMACHINE)/cr589.o \
|
|
$(EMUMACHINE)/smc91c9x.o \
|
|
$(EMUMACHINE)/timekpr.o \
|
|
$(EMUMACHINE)/tmp68301.o \
|
|
$(EMUMACHINE)/tms6100.o \
|
|
$(EMUMACHINE)/upd4701.o \
|
|
$(EMUMACHINE)/wd33c93.o \
|
|
$(EMUMACHINE)/x2212.o \
|
|
$(EMUMACHINE)/x76f041.o \
|
|
$(EMUMACHINE)/x76f100.o \
|
|
$(EMUMACHINE)/z80ctc.o \
|
|
$(EMUMACHINE)/z80dart.o \
|
|
$(EMUMACHINE)/z80dma.o \
|
|
$(EMUMACHINE)/z80pio.o \
|
|
$(EMUMACHINE)/z80sio.o \
|
|
$(EMUMACHINE)/z80sti.o \
|
|
|
|
EMUVIDEOOBJS = \
|
|
$(EMUVIDEO)/generic.o \
|
|
$(EMUVIDEO)/hd63484.o \
|
|
$(EMUVIDEO)/mc6845.o \
|
|
$(EMUVIDEO)/pc_vga.o \
|
|
$(EMUVIDEO)/pc_video.o \
|
|
$(EMUVIDEO)/poly.o \
|
|
$(EMUVIDEO)/resnet.o \
|
|
$(EMUVIDEO)/rgbutil.o \
|
|
$(EMUVIDEO)/s2636.o \
|
|
$(EMUVIDEO)/saa5050.o \
|
|
$(EMUVIDEO)/tlc34076.o \
|
|
$(EMUVIDEO)/tms34061.o \
|
|
$(EMUVIDEO)/tms9927.o \
|
|
$(EMUVIDEO)/tms9928a.o \
|
|
$(EMUVIDEO)/v9938.o \
|
|
$(EMUVIDEO)/vector.o \
|
|
$(EMUVIDEO)/voodoo.o \
|
|
|
|
LIBEMU_OBJS = $(EMUOBJS) $(EMUSOUNDOBJS) $(EMUAUDIOOBJS) $(EMUDRIVEROBJS) $(EMUMACHINEOBJS) $(EMUVIDEOOBJS)
|
|
|
|
$(LIBEMU): $(LIBEMU_OBJS)
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# CPU core objects
|
|
#-------------------------------------------------
|
|
|
|
###########################################################################
|
|
#
|
|
# cpu.mak
|
|
#
|
|
# Rules for building CPU cores
|
|
#
|
|
# Copyright Nicola Salmoria and the MAME Team.
|
|
# Visit http://mamedev.org for licensing and usage restrictions.
|
|
#
|
|
###########################################################################
|
|
|
|
|
|
CPUSRC = $(EMUSRC)/cpu
|
|
CPUOBJ = $(EMUOBJ)/cpu
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Shared code
|
|
#-------------------------------------------------
|
|
|
|
OBJDIRS += $(CPUOBJ)
|
|
CPUOBJS += $(CPUOBJ)/vtlb.o
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Dynamic recompiler objects
|
|
#-------------------------------------------------
|
|
|
|
DRCOBJ = \
|
|
$(CPUOBJ)/drcbec.o \
|
|
$(CPUOBJ)/drcbeut.o \
|
|
$(CPUOBJ)/drccache.o \
|
|
$(CPUOBJ)/drcfe.o \
|
|
$(CPUOBJ)/drcuml.o \
|
|
|
|
DRCDEPS = \
|
|
$(CPUSRC)/drcbeut.h \
|
|
$(CPUSRC)/drccache.h \
|
|
$(CPUSRC)/drcfe.h \
|
|
$(CPUSRC)/drcuml.h \
|
|
$(CPUSRC)/drcumlsh.h \
|
|
|
|
# fixme - need to make this work for other target architectures (PPC)
|
|
|
|
ifndef FORCE_DRC_C_BACKEND
|
|
ifeq ($(PTR64),1)
|
|
|
|
DRCOBJ += \
|
|
$(CPUOBJ)/drcbex64.o \
|
|
$(CPUOBJ)/x86log.o $(CPUOBJ)/i386/i386dasm.o
|
|
|
|
DRCDEPS += \
|
|
$(CPUSRC)/x86emit.h
|
|
|
|
DEFS += -DNATIVE_DRC=drcbe_x64_be_interface
|
|
|
|
else
|
|
|
|
DRCOBJ += \
|
|
$(CPUOBJ)/drcbex86.o \
|
|
$(CPUOBJ)/x86log.o $(CPUOBJ)/i386/i386dasm.o
|
|
|
|
DRCDEPS += \
|
|
$(CPUSRC)/x86emit.h
|
|
|
|
DEFS += -DNATIVE_DRC=drcbe_x86_be_interface
|
|
|
|
endif
|
|
endif
|
|
|
|
|
|
$(DRCOBJ): $(DRCDEPS)
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Acorn ARM series
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter ARM,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/arm
|
|
CPUOBJS += $(CPUOBJ)/arm/arm.o
|
|
DASMOBJS += $(CPUOBJ)/arm/armdasm.o
|
|
endif
|
|
|
|
ifneq ($(filter ARM7,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/arm7
|
|
CPUOBJS += $(CPUOBJ)/arm7/arm7.o
|
|
DASMOBJS += $(CPUOBJ)/arm7/arm7dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/arm/arm.o: $(CPUSRC)/arm/arm.c \
|
|
$(CPUSRC)/arm/arm.h
|
|
|
|
$(CPUOBJ)/arm7/arm7.o: $(CPUSRC)/arm7/arm7.c \
|
|
$(CPUSRC)/arm7/arm7.h \
|
|
$(CPUSRC)/arm7/arm7exec.c \
|
|
$(CPUSRC)/arm7/arm7core.c
|
|
|
|
#-------------------------------------------------
|
|
# Advanced Digital Chips SE3208
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SE3208,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/se3208
|
|
CPUOBJS += $(CPUOBJ)/se3208/se3208.o
|
|
DASMOBJS += $(CPUOBJ)/se3208/se3208dis.o
|
|
endif
|
|
|
|
$(CPUOBJ)/se3208/se3208.o: $(CPUSRC)/se3208/se3208.c \
|
|
$(CPUSRC)/se3208/se3208.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Alpha 8201
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter ALPHA8201,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/alph8201
|
|
CPUOBJS += $(CPUOBJ)/alph8201/alph8201.o
|
|
DASMOBJS += $(CPUOBJ)/alph8201/8201dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/alph8201/alph8201.o: $(CPUSRC)/alph8201/alph8201.c \
|
|
$(CPUSRC)/alph8201/alph8201.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Analog Devices ADSP21xx series
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter ADSP21XX,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/adsp2100
|
|
CPUOBJS += $(CPUOBJ)/adsp2100/adsp2100.o
|
|
DASMOBJS += $(CPUOBJ)/adsp2100/2100dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/adsp2100/adsp2100.o: $(CPUSRC)/adsp2100/adsp2100.c \
|
|
$(CPUSRC)/adsp2100/adsp2100.h \
|
|
$(CPUSRC)/adsp2100/2100ops.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Analog Devices "Sharc" ADSP21062
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter ADSP21062,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/sharc
|
|
CPUOBJS += $(CPUOBJ)/sharc/sharc.o
|
|
DASMOBJS += $(CPUOBJ)/sharc/sharcdsm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/sharc/sharc.o: $(CPUSRC)/sharc/sharc.c \
|
|
$(CPUSRC)/sharc/sharc.h \
|
|
$(CPUSRC)/sharc/sharcops.c \
|
|
$(CPUSRC)/sharc/sharcops.h \
|
|
$(CPUSRC)/sharc/sharcdsm.c \
|
|
$(CPUSRC)/sharc/sharcdsm.h \
|
|
$(CPUSRC)/sharc/compute.c \
|
|
$(CPUSRC)/sharc/sharcdma.c \
|
|
$(CPUSRC)/sharc/sharcmem.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# APEXC
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter APEXC,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/apexc
|
|
CPUOBJS += $(CPUOBJ)/apexc/apexc.o
|
|
DASMOBJS += $(CPUOBJ)/apexc/apexcdsm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/apexc/apexc.o: $(CPUSRC)/apexc/apexc.c \
|
|
$(CPUSRC)/apexc/apexc.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# AT&T DSP32C
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter DSP32C,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/dsp32
|
|
CPUOBJS += $(CPUOBJ)/dsp32/dsp32.o
|
|
DASMOBJS += $(CPUOBJ)/dsp32/dsp32dis.o
|
|
endif
|
|
|
|
$(CPUOBJ)/dsp32/dsp32.o: $(CPUSRC)/dsp32/dsp32.c \
|
|
$(CPUSRC)/dsp32/dsp32.h \
|
|
$(CPUSRC)/dsp32/dsp32ops.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Atari custom RISC processor
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter ASAP,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/asap
|
|
CPUOBJS += $(CPUOBJ)/asap/asap.o
|
|
DASMOBJS += $(CPUOBJ)/asap/asapdasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/asap/asap.o: $(CPUSRC)/asap/asap.c \
|
|
$(CPUSRC)/asap/asap.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# AMD Am29000
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter AM29000,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/am29000
|
|
CPUOBJS += $(CPUOBJ)/am29000/am29000.o
|
|
DASMOBJS += $(CPUOBJ)/am29000/am29dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/am29000/am29000.o: $(CPUSRC)/am29000/am29000.c \
|
|
$(CPUSRC)/am29000/am29000.h \
|
|
$(CPUSRC)/am29000/am29ops.h \
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Atari Jaguar custom DSPs
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter JAGUAR,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/jaguar
|
|
CPUOBJS += $(CPUOBJ)/jaguar/jaguar.o
|
|
DASMOBJS += $(CPUOBJ)/jaguar/jagdasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/jaguar/jaguar.o: $(CPUSRC)/jaguar/jaguar.c \
|
|
$(CPUSRC)/jaguar/jaguar.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Simutrek Cube Quest bit-sliced CPUs
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter CUBEQCPU,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/cubeqcpu
|
|
CPUOBJS += $(CPUOBJ)/cubeqcpu/cubeqcpu.o
|
|
DASMOBJS += $(CPUOBJ)/cubeqcpu/cubedasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/cubeqcpu/cubeqcpu.o: $(CPUSRC)/cubeqcpu/cubeqcpu.c \
|
|
$(CPUSRC)/cubeqcpu/cubeqcpu.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Entertainment Sciences AM29116-based RIP
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter ESRIP,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/esrip
|
|
CPUOBJS += $(CPUOBJ)/esrip/esrip.o
|
|
DASMOBJS += $(CPUOBJ)/esrip/esripdsm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/esrip/esrip.o: $(CPUSRC)/esrip/esrip.c \
|
|
$(CPUSRC)/esrip/esrip.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# RCA CDP1802
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter CDP1802,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/cdp1802
|
|
CPUOBJS += $(CPUOBJ)/cdp1802/cdp1802.o
|
|
DASMOBJS += $(CPUOBJ)/cdp1802/1802dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/cdp1802/cdp1802.o: $(CPUSRC)/cdp1802/cdp1802.c \
|
|
$(CPUSRC)/cdp1802/cdp1802.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# National Semiconductor COP400 family
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter COP400,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/cop400
|
|
CPUOBJS += $(CPUOBJ)/cop400/cop400.o
|
|
DASMOBJS += $(CPUOBJ)/cop400/cop410ds.o
|
|
DASMOBJS += $(CPUOBJ)/cop400/cop420ds.o
|
|
DASMOBJS += $(CPUOBJ)/cop400/cop440ds.o
|
|
endif
|
|
|
|
$(CPUOBJ)/cop400/cop400.o: $(CPUSRC)/cop400/cop400.c \
|
|
$(CPUSRC)/cop400/cop400.h \
|
|
$(CPUSRC)/cop400/cop400op.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# CP1610
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter CP1610,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/cp1610
|
|
CPUOBJS += $(CPUOBJ)/cp1610/cp1610.o
|
|
DASMOBJS += $(CPUOBJ)/cp1610/1610dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/cp1610/cp1610.o: $(CPUSRC)/cp1610/cp1610.c \
|
|
$(CPUSRC)/cp1610/cp1610.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Cinematronics vector "CPU"
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter CCPU,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/ccpu
|
|
CPUOBJS += $(CPUOBJ)/ccpu/ccpu.o
|
|
DASMOBJS += $(CPUOBJ)/ccpu/ccpudasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/ccpu/ccpu.o: $(CPUSRC)/ccpu/ccpu.c \
|
|
$(CPUSRC)/ccpu/ccpu.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# DEC T-11
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter T11,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/t11
|
|
CPUOBJS += $(CPUOBJ)/t11/t11.o
|
|
DASMOBJS += $(CPUOBJ)/t11/t11dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/t11/t11.o: $(CPUSRC)/t11/t11.c \
|
|
$(CPUSRC)/t11/t11.h \
|
|
$(CPUSRC)/t11/t11ops.c \
|
|
$(CPUSRC)/t11/t11table.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# F8
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter F8,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/f8
|
|
CPUOBJS += $(CPUOBJ)/f8/f8.o
|
|
DASMOBJS += $(CPUOBJ)/f8/f8dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/f8/f8.o: $(CPUSRC)/f8/f8.c \
|
|
$(CPUSRC)/f8/f8.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# G65816
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter G65816,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/g65816
|
|
CPUOBJS += \
|
|
$(CPUOBJ)/g65816/g65816.o \
|
|
$(CPUOBJ)/g65816/g65816o0.o \
|
|
$(CPUOBJ)/g65816/g65816o1.o \
|
|
$(CPUOBJ)/g65816/g65816o2.o \
|
|
$(CPUOBJ)/g65816/g65816o3.o \
|
|
$(CPUOBJ)/g65816/g65816o4.o
|
|
DASMOBJS += $(CPUOBJ)/g65816/g65816ds.o
|
|
endif
|
|
|
|
G65816DEPS = \
|
|
$(CPUSRC)/g65816/g65816.h \
|
|
$(CPUSRC)/g65816/g65816cm.h \
|
|
$(CPUSRC)/g65816/g65816op.h
|
|
|
|
$(CPUOBJ)/g65816/g65816.o: $(CPUSRC)/g65816/g65816.c \
|
|
$(G65816DEPS)
|
|
|
|
$(CPUOBJ)/g65816/g65816o0.o: $(CPUSRC)/g65816/g65816o0.c \
|
|
$(G65816DEPS)
|
|
|
|
$(CPUOBJ)/g65816/g65816o1.o: $(CPUSRC)/g65816/g65816o1.c \
|
|
$(G65816DEPS)
|
|
|
|
$(CPUOBJ)/g65816/g65816o2.o: $(CPUSRC)/g65816/g65816o2.c \
|
|
$(G65816DEPS)
|
|
|
|
$(CPUOBJ)/g65816/g65816o3.o: $(CPUSRC)/g65816/g65816o3.c \
|
|
$(G65816DEPS)
|
|
|
|
$(CPUOBJ)/g65816/g65816o4.o: $(CPUSRC)/g65816/g65816o4.c \
|
|
$(G65816DEPS)
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Hitachi 6309
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter HD6309,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/hd6309
|
|
CPUOBJS += $(CPUOBJ)/hd6309/hd6309.o
|
|
DASMOBJS += $(CPUOBJ)/hd6309/6309dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/hd6309/hd6309.o: $(CPUSRC)/hd6309/hd6309.c \
|
|
$(CPUSRC)/hd6309/hd6309.h \
|
|
$(CPUSRC)/hd6309/6309ops.c \
|
|
$(CPUSRC)/hd6309/6309tbl.c
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Hitachi H8/30xx (16/32-bit H8/3xx series)
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter H83002,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/h83002
|
|
CPUOBJS += $(CPUOBJ)/h83002/h8_16.o $(CPUOBJ)/h83002/h8periph.o
|
|
DASMOBJS += $(CPUOBJ)/h83002/h8disasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/h83002/h8_16.o: $(CPUSRC)/h83002/h8_16.c \
|
|
$(CPUSRC)/h83002/h8.h \
|
|
$(CPUSRC)/h83002/h8ops.h \
|
|
$(CPUSRC)/h83002/h8priv.h
|
|
|
|
$(CPUOBJ)/h83002/h8disasm.o: $(CPUSRC)/h83002/h8disasm.c
|
|
|
|
$(CPUOBJ)/h83002/h8periph.o: $(CPUSRC)/h83002/h8periph.c \
|
|
$(CPUSRC)/h83002/h8priv.h
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Hitachi H8/3334 (8/16-bit H8/3xx series)
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter H83334,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/h83002
|
|
CPUOBJS += $(CPUOBJ)/h83002/h8_8.o $(CPUOBJ)/h83002/h8periph.o
|
|
DASMOBJS += $(CPUOBJ)/h83002/h8disasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/h83002/h8_8.o: $(CPUSRC)/h83002/h8_8.c \
|
|
$(CPUSRC)/h83002/h8.h \
|
|
$(CPUSRC)/h83002/h8ops.h \
|
|
$(CPUSRC)/h83002/h8priv.h
|
|
|
|
$(CPUOBJ)/h83002/h8disasm.o: $(CPUSRC)/h83002/h8disasm.c
|
|
|
|
$(CPUOBJ)/h83002/h8periph.o: $(CPUSRC)/h83002/h8periph.c \
|
|
$(CPUSRC)/h83002/h8priv.h
|
|
|
|
#-------------------------------------------------
|
|
# Hitachi SH1/SH2
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SH2,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/sh2
|
|
CPUOBJS += $(CPUOBJ)/sh2/sh2.o $(CPUOBJ)/sh2/sh2comn.o $(CPUOBJ)/sh2/sh2drc.o $(CPUOBJ)/sh2/sh2fe.o $(DRCOBJ)
|
|
DASMOBJS += $(CPUOBJ)/sh2/sh2dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/sh2/sh2.o: $(CPUSRC)/sh2/sh2.c \
|
|
$(CPUSRC)/sh2/sh2.h \
|
|
$(CPUSRC)/sh2/sh2comn.h
|
|
|
|
$(CPUOBJ)/sh2/sh2comn.o: $(CPUSRC)/sh2/sh2comn.c \
|
|
$(CPUSRC)/sh2/sh2comn.h \
|
|
$(CPUSRC)/sh2/sh2.h
|
|
|
|
$(CPUOBJ)/sh2/sh2drc.o: $(CPUSRC)/sh2/sh2drc.c \
|
|
$(CPUSRC)/sh2/sh2.h \
|
|
$(CPUSRC)/sh2/sh2comn.h
|
|
|
|
$(CPUOBJ)/sh2/sh2fe.o: $(CPUSRC)/sh2/sh2fe.c \
|
|
$(CPUSRC)/sh2/sh2.h \
|
|
$(CPUSRC)/sh2/sh2comn.h
|
|
|
|
#-------------------------------------------------
|
|
# Hitachi SH4
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SH4,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/sh4
|
|
CPUOBJS += $(CPUOBJ)/sh4/sh4.o $(CPUOBJ)/sh4/sh4comn.o
|
|
DASMOBJS += $(CPUOBJ)/sh4/sh4dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/sh4/sh4.o: $(CPUSRC)/sh4/sh4.c \
|
|
$(CPUSRC)/sh4/sh4.h \
|
|
$(CPUSRC)/sh4/sh4regs.h \
|
|
$(CPUSRC)/sh4/sh4comn.h
|
|
|
|
$(CPUOBJ)/sh4/sh4comn.o: $(CPUSRC)/sh4/sh4comn.c \
|
|
$(CPUSRC)/sh4/sh4comn.h \
|
|
$(CPUSRC)/sh4/sh4regs.h \
|
|
$(CPUSRC)/sh4/sh4.h
|
|
|
|
#-------------------------------------------------
|
|
# Hudsonsoft 6280
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter H6280,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/h6280
|
|
CPUOBJS += $(CPUOBJ)/h6280/h6280.o
|
|
DASMOBJS += $(CPUOBJ)/h6280/6280dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/h6280/h6280.o: $(CPUSRC)/h6280/h6280.c \
|
|
$(CPUSRC)/h6280/h6280.h \
|
|
$(CPUSRC)/h6280/h6280ops.h \
|
|
$(CPUSRC)/h6280/tblh6280.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Hyperstone E1 series
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter E1,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/e132xs
|
|
CPUOBJS += $(CPUOBJ)/e132xs/e132xs.o
|
|
DASMOBJS += $(CPUOBJ)/e132xs/32xsdasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/e132xs/e132xs.o: $(CPUSRC)/e132xs/e132xs.c \
|
|
$(CPUSRC)/e132xs/e132xs.h \
|
|
$(CPUSRC)/e132xs/e132xsop.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Intel 4004
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter I4004,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/i4004
|
|
CPUOBJS += $(CPUOBJ)/i4004/i4004.o
|
|
DASMOBJS += $(CPUOBJ)/i4004/4004dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/i4004/i4004.o: $(CPUSRC)/i4004/i4004.c \
|
|
$(CPUSRC)/i4004/i4004.h
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Intel 8008
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter I8008,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/i8008
|
|
CPUOBJS += $(CPUOBJ)/i8008/i8008.o
|
|
DASMOBJS += $(CPUOBJ)/i8008/8008dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/i8008/i8008.o: $(CPUSRC)/i8008/i8008.c \
|
|
$(CPUSRC)/i8008/i8008.h
|
|
|
|
#-------------------------------------------------
|
|
# National Semiconductor SC/MP
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SCMP,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/scmp
|
|
CPUOBJS += $(CPUOBJ)/scmp/scmp.o
|
|
DASMOBJS += $(CPUOBJ)/scmp/scmpdasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/scmp/scmp.o: $(CPUSRC)/scmp/scmp.c \
|
|
$(CPUSRC)/scmp/scmp.h
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Intel 8080/8085A
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter I8085,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/i8085
|
|
CPUOBJS += $(CPUOBJ)/i8085/i8085.o
|
|
DASMOBJS += $(CPUOBJ)/i8085/8085dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/i8085/i8085.o: $(CPUSRC)/i8085/i8085.c \
|
|
$(CPUSRC)/i8085/i8085.h \
|
|
$(CPUSRC)/i8085/i8085cpu.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Intel MCS-48 (8039 and derivatives)
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter MCS48,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/mcs48
|
|
CPUOBJS += $(CPUOBJ)/mcs48/mcs48.o
|
|
DASMOBJS += $(CPUOBJ)/mcs48/mcs48dsm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/mcs48/mcs48.o: $(CPUSRC)/mcs48/mcs48.c \
|
|
$(CPUSRC)/mcs48/mcs48.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Intel 8051 and derivatives
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter MCS51,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/mcs51
|
|
CPUOBJS += $(CPUOBJ)/mcs51/mcs51.o
|
|
DASMOBJS += $(CPUOBJ)/mcs51/mcs51dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/mcs51/mcs51.o: $(CPUSRC)/mcs51/mcs51.c \
|
|
$(CPUSRC)/mcs51/mcs51.h \
|
|
$(CPUSRC)/mcs51/mcs51ops.c
|
|
|
|
#-------------------------------------------------
|
|
# Intel 80x86 series
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter I86,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/i86 $(CPUOBJ)/i386
|
|
CPUOBJS += $(CPUOBJ)/i86/i86.o
|
|
CPUOBJS += $(CPUOBJ)/i86/i286.o
|
|
DASMOBJS += $(CPUOBJ)/i386/i386dasm.o
|
|
endif
|
|
|
|
ifneq ($(filter I386,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/i386
|
|
CPUOBJS += $(CPUOBJ)/i386/i386.o
|
|
DASMOBJS += $(CPUOBJ)/i386/i386dasm.o
|
|
endif
|
|
|
|
I86DEPS = \
|
|
$(CPUSRC)/i86/i86priv.h \
|
|
$(CPUSRC)/i86/ea.h \
|
|
$(CPUSRC)/i86/host.h \
|
|
$(CPUSRC)/i86/modrm.h
|
|
|
|
$(CPUOBJ)/i86/i86.o: $(CPUSRC)/i86/i86.c \
|
|
$(CPUSRC)/i86/i86.h \
|
|
$(CPUSRC)/i86/i86mem.c \
|
|
$(CPUSRC)/i86/i86time.c \
|
|
$(CPUSRC)/i86/instr86.c \
|
|
$(CPUSRC)/i86/instr186.c \
|
|
$(I86DEPS)
|
|
|
|
$(CPUOBJ)/i86/i286.o: $(CPUSRC)/i86/i286.c \
|
|
$(CPUSRC)/i86/i286.h \
|
|
$(CPUSRC)/i86/i86mem.c \
|
|
$(CPUSRC)/i86/i86time.c \
|
|
$(CPUSRC)/i86/instr86.c \
|
|
$(CPUSRC)/i86/instr186.c \
|
|
$(CPUSRC)/i86/instr286.c \
|
|
$(I86DEPS)
|
|
|
|
$(CPUOBJ)/i386/i386.o: $(CPUSRC)/i386/i386.c \
|
|
$(CPUSRC)/i386/i386.h \
|
|
$(CPUSRC)/i386/i386priv.h \
|
|
$(CPUSRC)/i386/i386op16.c \
|
|
$(CPUSRC)/i386/i386op32.c \
|
|
$(CPUSRC)/i386/i386ops.c \
|
|
$(CPUSRC)/i386/i486ops.c \
|
|
$(CPUSRC)/i386/pentops.c \
|
|
$(CPUSRC)/i386/x87ops.c \
|
|
$(CPUSRC)/i386/i386ops.h \
|
|
$(CPUSRC)/i386/cycles.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Intel i860
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter I860,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/i860
|
|
CPUOBJS += $(CPUOBJ)/i860/i860.o
|
|
DASMOBJS += $(CPUOBJ)/i860/i860dis.o
|
|
endif
|
|
|
|
$(CPUOBJ)/i860/i860.o: $(CPUSRC)/i860/i860.c \
|
|
$(CPUSRC)/i860/i860.h \
|
|
$(CPUSRC)/i860/i860dec.c
|
|
|
|
#-------------------------------------------------
|
|
# Intel i960
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter I960,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/i960
|
|
CPUOBJS += $(CPUOBJ)/i960/i960.o
|
|
DASMOBJS += $(CPUOBJ)/i960/i960dis.o
|
|
endif
|
|
|
|
$(CPUOBJ)/i960/i960.o: $(CPUSRC)/i960/i960.c \
|
|
$(CPUSRC)/i960/i960.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Konami custom CPU (6809-based)
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter KONAMI,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/konami
|
|
CPUOBJS += $(CPUOBJ)/konami/konami.o
|
|
DASMOBJS += $(CPUOBJ)/konami/knmidasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/konami/konami.o: $(CPUSRC)/konami/konami.c \
|
|
$(CPUSRC)/konami/konami.h \
|
|
$(CPUSRC)/konami/konamops.c \
|
|
$(CPUSRC)/konami/konamtbl.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# LH5801
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter LH5801,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/lh5801
|
|
CPUOBJS += $(CPUOBJ)/lh5801/lh5801.o
|
|
DASMOBJS += $(CPUOBJ)/lh5801/5801dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/lh5801/lh5801.o: $(CPUSRC)/lh5801/lh5801.c \
|
|
$(CPUSRC)/lh5801/5801tbl.c \
|
|
$(CPUSRC)/lh5801/lh5801.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Manchester Small-Scale Experimental Machine
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SSEM,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/ssem
|
|
CPUOBJS += $(CPUOBJ)/ssem/ssem.o
|
|
DASMOBJS += $(CPUOBJ)/ssem/ssemdasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/ssem/ssem.o: $(CPUSRC)/ssem/ssem.c \
|
|
$(CPUSRC)/ssem/ssem.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Fujitsu MB88xx
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter MB88XX,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/mb88xx
|
|
CPUOBJS += $(CPUOBJ)/mb88xx/mb88xx.o
|
|
DASMOBJS += $(CPUOBJ)/mb88xx/mb88dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/mb88xx/mb88xx.o: $(CPUSRC)/mb88xx/mb88xx.c \
|
|
$(CPUSRC)/mb88xx/mb88xx.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Fujitsu MB86233
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter MB86233,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/mb86233
|
|
CPUOBJS += $(CPUOBJ)/mb86233/mb86233.o
|
|
DASMOBJS += $(CPUOBJ)/mb86233/mb86233d.o
|
|
endif
|
|
|
|
$(CPUOBJ)/mb86233/mb86233.o: $(CPUSRC)/mb86233/mb86233.c \
|
|
$(CPUSRC)/mb86233/mb86233.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Microchip PIC16C5x
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter PIC16C5X,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/pic16c5x
|
|
CPUOBJS += $(CPUOBJ)/pic16c5x/pic16c5x.o
|
|
DASMOBJS += $(CPUOBJ)/pic16c5x/16c5xdsm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/pic16c5x/pic16c5x.o: $(CPUSRC)/pic16c5x/pic16c5x.c \
|
|
$(CPUSRC)/pic16c5x/pic16c5x.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Microchip PIC16C62x
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter PIC16C62X,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/pic16c62x
|
|
CPUOBJS += $(CPUOBJ)/pic16c62x/pic16c62x.o
|
|
DASMOBJS += $(CPUOBJ)/pic16c62x/16c62xdsm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/pic16c62x/pic16c62x.o: $(CPUSRC)/pic16c62x/pic16c62x.c \
|
|
$(CPUSRC)/pic16c62x/pic16c62x.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# MIPS R3000 (MIPS I/II) series
|
|
# MIPS R4000 (MIPS III/IV) series
|
|
# Sony PlayStation CPU (R3000-based + GTE)
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter MIPS,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/mips
|
|
CPUOBJS += $(CPUOBJ)/mips/r3000.o
|
|
CPUOBJS += $(CPUOBJ)/mips/mips3com.o $(CPUOBJ)/mips/mips3fe.o $(CPUOBJ)/mips/mips3drc.o $(DRCOBJ)
|
|
CPUOBJS += $(CPUOBJ)/mips/psx.o
|
|
DASMOBJS += $(CPUOBJ)/mips/r3kdasm.o
|
|
DASMOBJS += $(CPUOBJ)/mips/mips3dsm.o
|
|
DASMOBJS += $(CPUOBJ)/mips/psxdasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/mips/r3000.o: $(CPUSRC)/mips/r3000.c \
|
|
$(CPUSRC)/mips/r3000.h
|
|
|
|
$(CPUOBJ)/mips/mips3com.o: $(CPUSRC)/mips/mips3.h \
|
|
$(CPUSRC)/mips/mips3com.h
|
|
|
|
$(CPUOBJ)/mips/mips3fe.o: $(CPUSRC)/mips/mips3.h \
|
|
$(CPUSRC)/mips/mips3com.h \
|
|
$(CPUSRC)/mips/mips3fe.h
|
|
|
|
$(CPUOBJ)/mips/mips3drc.o: $(CPUSRC)/mips/mips3drc.c \
|
|
$(CPUSRC)/mips/mips3.h \
|
|
$(CPUSRC)/mips/mips3com.h \
|
|
$(CPUSRC)/mips/mips3fe.h \
|
|
$(DRCDEPS)
|
|
|
|
$(CPUOBJ)/mips/psx.o: $(CPUSRC)/mips/psx.c \
|
|
$(CPUSRC)/mips/psx.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Mitsubishi M37702 and M37710 (based on 65C816)
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter M37710,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/m37710
|
|
CPUOBJS += \
|
|
$(CPUOBJ)/m37710/m37710.o \
|
|
$(CPUOBJ)/m37710/m37710o0.o \
|
|
$(CPUOBJ)/m37710/m37710o1.o \
|
|
$(CPUOBJ)/m37710/m37710o2.o \
|
|
$(CPUOBJ)/m37710/m37710o3.o
|
|
DASMOBJS += $(CPUOBJ)/m37710/m7700ds.o
|
|
endif
|
|
|
|
M37710DEPS = \
|
|
$(CPUSRC)/m37710/m37710.h \
|
|
$(CPUSRC)/m37710/m37710op.h \
|
|
$(CPUSRC)/m37710/m7700ds.h
|
|
|
|
$(CPUOBJ)/m37710/m37710.o: $(CPUSRC)/m37710/m37710.c \
|
|
$(M37710DEPS)
|
|
|
|
$(CPUOBJ)/m37710/m37710o0.o: $(CPUSRC)/m37710/m37710o0.c \
|
|
$(M37710DEPS)
|
|
|
|
$(CPUOBJ)/m37710/m37710o1.o: $(CPUSRC)/m37710/m37710o1.c \
|
|
$(M37710DEPS)
|
|
|
|
$(CPUOBJ)/m37710/m37710o2.o: $(CPUSRC)/m37710/m37710o2.c \
|
|
$(M37710DEPS)
|
|
|
|
$(CPUOBJ)/m37710/m37710o3.o: $(CPUSRC)/m37710/m37710o3.c \
|
|
$(M37710DEPS)
|
|
|
|
$(CPUOBJ)/m37710/m7700ds.o: $(CPUSRC)/m37710/m7700ds.c \
|
|
$(CPUSRC)/m37710/m7700ds.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Mostek 6502 and its many derivatives
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter M6502,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/m6502
|
|
CPUOBJS += $(CPUOBJ)/m6502/m6502.o
|
|
CPUOBJS += $(CPUOBJ)/m6502/m6509.o
|
|
CPUOBJS += $(CPUOBJ)/m6502/m65ce02.o
|
|
CPUOBJS += $(CPUOBJ)/m6502/m4510.o
|
|
DASMOBJS += $(CPUOBJ)/m6502/6502dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/m6502/m4510.o: $(CPUSRC)/m6502/m4510.c \
|
|
$(CPUSRC)/m6502/t65ce02.c
|
|
|
|
$(CPUOBJ)/m6502/m6502.o: $(CPUSRC)/m6502/m6502.c \
|
|
$(CPUSRC)/m6502/m6502.h \
|
|
$(CPUSRC)/m6502/ops02.h \
|
|
$(CPUSRC)/m6502/t6502.c \
|
|
$(CPUSRC)/m6502/t65c02.c \
|
|
$(CPUSRC)/m6502/t65sc02.c \
|
|
$(CPUSRC)/m6502/t6510.c \
|
|
$(CPUSRC)/m6502/tn2a03.c \
|
|
$(CPUSRC)/m6502/tdeco16.c
|
|
|
|
$(CPUOBJ)/m6502/m65ce02.o: $(CPUSRC)/m6502/m65ce02.c \
|
|
$(CPUSRC)/m6502/m65ce02.h \
|
|
$(CPUSRC)/m6502/opsce02.h \
|
|
$(CPUSRC)/m6502/t65ce02.c
|
|
|
|
$(CPUOBJ)/m6502/m6509.o: $(CPUSRC)/m6502/m6509.c \
|
|
$(CPUSRC)/m6502/m6509.h \
|
|
$(CPUSRC)/m6502/ops09.h \
|
|
$(CPUSRC)/m6502/t6509.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Motorola 680x
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter M6800,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/m6800
|
|
CPUOBJS += $(CPUOBJ)/m6800/m6800.o
|
|
DASMOBJS += $(CPUOBJ)/m6800/6800dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/m6800/m6800.o: $(CPUSRC)/m6800/m6800.c \
|
|
$(CPUSRC)/m6800/m6800.h \
|
|
$(CPUSRC)/m6800/6800ops.c \
|
|
$(CPUSRC)/m6800/6800tbl.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Motorola 6805
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter M6805,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/m6805
|
|
CPUOBJS += $(CPUOBJ)/m6805/m6805.o
|
|
DASMOBJS += $(CPUOBJ)/m6805/6805dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/m6805/m6805.o: $(CPUSRC)/m6805/m6805.c \
|
|
$(CPUSRC)/m6805/m6805.h \
|
|
$(CPUSRC)/m6805/6805ops.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Motorola 6809
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter M6809,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/m6809
|
|
CPUOBJS += $(CPUOBJ)/m6809/m6809.o
|
|
DASMOBJS += $(CPUOBJ)/m6809/6809dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/m6809/m6809.o: $(CPUSRC)/m6809/m6809.c \
|
|
$(CPUSRC)/m6809/m6809.h \
|
|
$(CPUSRC)/m6809/6809ops.c \
|
|
$(CPUSRC)/m6809/6809tbl.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Motorola 68HC11
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter MC68HC11,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/mc68hc11
|
|
CPUOBJS += $(CPUOBJ)/mc68hc11/mc68hc11.o
|
|
DASMOBJS += $(CPUOBJ)/mc68hc11/hc11dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/mc68hc11/mc68hc11.o: $(CPUSRC)/mc68hc11/mc68hc11.c \
|
|
$(CPUSRC)/mc68hc11/hc11ops.c
|
|
|
|
#-------------------------------------------------
|
|
# Motorola 68000 series
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter M680X0,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/m68000
|
|
CPUOBJS += $(CPUOBJ)/m68000/m68kcpu.o $(CPUOBJ)/m68000/m68kops.o
|
|
DASMOBJS += $(CPUOBJ)/m68000/m68kdasm.o
|
|
endif
|
|
|
|
# when we compile source files we need to include generated files from the OBJ directory
|
|
$(CPUOBJ)/m68000/%.o: $(CPUSRC)/m68000/%.c | $(OSPREBUILD)
|
|
@echo Compiling $<...
|
|
$(CC) $(CDEFS) $(CFLAGS) -I$(CPUOBJ)/m68000 -c $< -o $@
|
|
|
|
# when we compile generated files we need to include stuff from the src directory
|
|
$(CPUOBJ)/m68000/%.o: $(CPUSRC)/m68000/%.c | $(OSPREBUILD)
|
|
@echo Compiling $<...
|
|
$(CC) $(CDEFS) $(CFLAGS) -I$(CPUSRC)/m68000 -c $< -o $@
|
|
|
|
#-------------------------------------------------
|
|
# Motorola/Freescale dsp56k
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter DSP56156,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/dsp56k
|
|
CPUOBJS += $(CPUOBJ)/dsp56k/dsp56k.o
|
|
DASMOBJS += $(CPUOBJ)/dsp56k/dsp56dsm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/dsp56k/dsp56k.o: $(CPUSRC)/dsp56k/dsp56k.c \
|
|
$(CPUSRC)/dsp56k/dsp56ops.c \
|
|
$(CPUSRC)/dsp56k/dsp56mem.c \
|
|
$(CPUSRC)/dsp56k/dsp56pcu.c \
|
|
$(CPUSRC)/dsp56k/dsp56k.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# PDP-1
|
|
# TX0
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter PDP1,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/pdp1
|
|
CPUOBJS += $(CPUOBJ)/pdp1/pdp1.o
|
|
CPUOBJS += $(CPUOBJ)/pdp1/tx0.o
|
|
DASMOBJS += $(CPUOBJ)/pdp1/pdp1dasm.o
|
|
DASMOBJS += $(CPUOBJ)/pdp1/tx0dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/pdp1/pdp1.o: $(CPUSRC)/pdp1/pdp1.c \
|
|
$(CPUSRC)/pdp1/pdp1.h
|
|
|
|
$(CPUOBJ)/pdp1/tx0.o: $(CPUSRC)/pdp1/tx0.h \
|
|
$(CPUSRC)/pdp1/tx0.c
|
|
|
|
$(CPUOBJ)/pdp1/tx0dasm.o: $(CPUSRC)/pdp1/tx0.h \
|
|
$(CPUSRC)/pdp1/tx0dasm.c
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Motorola PowerPC series
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter POWERPC,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/powerpc
|
|
CPUOBJS += $(CPUOBJ)/powerpc/ppccom.o $(CPUOBJ)/powerpc/ppcfe.o $(CPUOBJ)/powerpc/ppcdrc.o $(DRCOBJ)
|
|
DASMOBJS += $(CPUOBJ)/powerpc/ppc_dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/powerpc/ppccom.o: $(CPUSRC)/powerpc/ppc.h \
|
|
$(CPUSRC)/powerpc/ppccom.h
|
|
|
|
$(CPUOBJ)/powerpc/ppcfe.o: $(CPUSRC)/powerpc/ppc.h \
|
|
$(CPUSRC)/powerpc/ppccom.h \
|
|
$(CPUSRC)/powerpc/ppcfe.h
|
|
|
|
$(CPUOBJ)/powerpc/ppcdrc.o: $(CPUSRC)/powerpc/ppcdrc.c \
|
|
$(CPUSRC)/powerpc/ppc.h \
|
|
$(CPUSRC)/powerpc/ppccom.h \
|
|
$(CPUSRC)/powerpc/ppcfe.h \
|
|
$(DRCDEPS)
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# NEC V-series Intel-compatible
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter NEC,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/nec
|
|
CPUOBJS += $(CPUOBJ)/nec/nec.o
|
|
DASMOBJS += $(CPUOBJ)/nec/necdasm.o
|
|
endif
|
|
|
|
ifneq ($(filter V30MZ,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/v30mz $(CPUOBJ)/nec
|
|
CPUOBJS += $(CPUOBJ)/v30mz/v30mz.o
|
|
DASMOBJS += $(CPUOBJ)/nec/necdasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/nec/nec.o: $(CPUSRC)/nec/nec.c \
|
|
$(CPUSRC)/nec/nec.h \
|
|
$(CPUSRC)/nec/necea.h \
|
|
$(CPUSRC)/nec/nechost.h \
|
|
$(CPUSRC)/nec/necinstr.h \
|
|
$(CPUSRC)/nec/necmodrm.h \
|
|
$(CPUSRC)/nec/necpriv.h
|
|
|
|
$(CPUOBJ)/v30mz/v30mz.o: $(CPUSRC)/v30mz/v30mz.c \
|
|
$(CPUSRC)/v30mz/v30mz.h \
|
|
$(CPUSRC)/v30mz/necmodrm.h \
|
|
$(CPUSRC)/v30mz/necinstr.h \
|
|
$(CPUSRC)/v30mz/necea.h \
|
|
$(CPUSRC)/v30mz/nechost.h \
|
|
$(CPUSRC)/v30mz/nec.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# NEC V60/V70
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter V60,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/v60
|
|
CPUOBJS += $(CPUOBJ)/v60/v60.o
|
|
DASMOBJS += $(CPUOBJ)/v60/v60d.o
|
|
endif
|
|
|
|
$(CPUOBJ)/v60/v60.o: $(CPUSRC)/v60/am.c \
|
|
$(CPUSRC)/v60/am1.c \
|
|
$(CPUSRC)/v60/am2.c \
|
|
$(CPUSRC)/v60/am3.c \
|
|
$(CPUSRC)/v60/op12.c \
|
|
$(CPUSRC)/v60/op2.c \
|
|
$(CPUSRC)/v60/op3.c \
|
|
$(CPUSRC)/v60/op4.c \
|
|
$(CPUSRC)/v60/op5.c \
|
|
$(CPUSRC)/v60/op6.c \
|
|
$(CPUSRC)/v60/op7a.c \
|
|
$(CPUSRC)/v60/optable.c \
|
|
$(CPUSRC)/v60/v60.c \
|
|
$(CPUSRC)/v60/v60.h \
|
|
$(CPUSRC)/v60/v60mem.c \
|
|
$(CPUSRC)/v60/v60d.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# NEC V810 (uPD70732)
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter V810,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/v810
|
|
CPUOBJS += $(CPUOBJ)/v810/v810.o
|
|
DASMOBJS += $(CPUOBJ)/v810/v810dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/v810/v810.o: $(CPUSRC)/v810/v810.c \
|
|
$(CPUSRC)/v810/v810.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# NEC uPD7810 series
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter UPD7810,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/upd7810
|
|
CPUOBJS += $(CPUOBJ)/upd7810/upd7810.o
|
|
DASMOBJS += $(CPUOBJ)/upd7810/7810dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/upd7810/upd7810.o: $(CPUSRC)/upd7810/upd7810.c \
|
|
$(CPUSRC)/upd7810/7810tbl.c \
|
|
$(CPUSRC)/upd7810/7810ops.c \
|
|
$(CPUSRC)/upd7810/upd7810.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Nintendo Minx
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter MINX,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/minx
|
|
CPUOBJS += $(CPUOBJ)/minx/minx.o
|
|
DASMOBJS += $(CPUOBJ)/minx/minxd.o
|
|
endif
|
|
|
|
$(CPUOBJ)/minx/minx.o: $(CPUSRC)/minx/minx.c \
|
|
$(CPUSRC)/minx/minx.h \
|
|
$(CPUSRC)/minx/minxd.c \
|
|
$(CPUSRC)/minx/minxopce.h \
|
|
$(CPUSRC)/minx/minxopcf.h \
|
|
$(CPUSRC)/minx/minxops.h \
|
|
$(CPUSRC)/minx/minxfunc.h
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Nintendo/SGI RSP (R3000-based + vector processing)
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter RSP,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/rsp
|
|
CPUOBJS += $(CPUOBJ)/rsp/rsp.o $(CPUOBJ)/rsp/rspdrc.o $(CPUOBJ)/rsp/rspfe.o $(DRCOBJ)
|
|
DASMOBJS += $(CPUOBJ)/rsp/rsp_dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/rsp/rsp.o: $(CPUSRC)/rsp/rsp.c \
|
|
$(CPUSRC)/rsp/rsp.h
|
|
|
|
$(CPUOBJ)/rsp/rspdrc.o: $(CPUSRC)/rsp/rspdrc.c \
|
|
$(CPUSRC)/rsp/rsp.h \
|
|
$(CPUSRC)/rsp/rspfe.h \
|
|
$(DRCDEPS)
|
|
|
|
$(CPUOBJ)/rsp/rspfe.o: $(CPUSRC)/rsp/rspfe.c \
|
|
$(CPUSRC)/rsp/rspfe.h
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Panasonic MN10200
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter MN10200,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/mn10200
|
|
CPUOBJS += $(CPUOBJ)/mn10200/mn10200.o
|
|
DASMOBJS += $(CPUOBJ)/mn10200/mn102dis.o
|
|
endif
|
|
|
|
$(CPUOBJ)/mn10200/mn10200.o: $(CPUSRC)/mn10200/mn10200.c \
|
|
$(CPUSRC)/mn10200/mn10200.h
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Saturn
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SATURN,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/saturn
|
|
CPUOBJS += $(CPUOBJ)/saturn/saturn.o
|
|
DASMOBJS += $(CPUOBJ)/saturn/saturnds.o
|
|
endif
|
|
|
|
$(CPUOBJ)/saturn/saturn.o: $(CPUSRC)/saturn/saturn.c \
|
|
$(CPUSRC)/saturn/sattable.c \
|
|
$(CPUSRC)/saturn/satops.c \
|
|
$(CPUSRC)/saturn/saturn.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Signetics 2650
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter S2650,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/s2650
|
|
CPUOBJS += $(CPUOBJ)/s2650/s2650.o
|
|
DASMOBJS += $(CPUOBJ)/s2650/2650dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/s2650/s2650.o: $(CPUSRC)/s2650/s2650.c \
|
|
$(CPUSRC)/s2650/s2650.h \
|
|
$(CPUSRC)/s2650/s2650cpu.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# SC61860
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SC61860,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/sc61860
|
|
CPUOBJS += $(CPUOBJ)/sc61860/sc61860.o
|
|
DASMOBJS += $(CPUOBJ)/sc61860/scdasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/sc61860/sc61860.o: $(CPUSRC)/sc61860/sc61860.h \
|
|
$(CPUSRC)/sc61860/sc.h \
|
|
$(CPUSRC)/sc61860/scops.c \
|
|
$(CPUSRC)/sc61860/sctable.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# SM8500
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SM8500,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/sm8500
|
|
CPUOBJS += $(CPUOBJ)/sm8500/sm8500.o
|
|
DASMOBJS += $(CPUOBJ)/sm8500/sm8500d.o
|
|
endif
|
|
|
|
$(CPUOBJ)/sm8500/sm8500.o: $(CPUSRC)/sm8500/sm8500.c \
|
|
$(CPUSRC)/sm8500/sm8500.h \
|
|
$(CPUSRC)/sm8500/sm85ops.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Sony/Nintendo SPC700
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SPC700,$(CPUS)),)
|
|
SPCD = cpu/spc700
|
|
OBJDIRS += $(CPUOBJ)/spc700
|
|
CPUOBJS += $(CPUOBJ)/spc700/spc700.o
|
|
DASMOBJS += $(CPUOBJ)/spc700/spc700ds.o
|
|
endif
|
|
|
|
$(CPUOBJ)/spc700/spc700.o: $(CPUSRC)/spc700/spc700.c \
|
|
$(CPUSRC)/spc700/spc700.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# SSP1601
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SSP1601,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/ssp1601
|
|
CPUOBJS += $(CPUOBJ)/ssp1601/ssp1601.o
|
|
DASMOBJS += $(CPUOBJ)/ssp1601/ssp1601d.o
|
|
endif
|
|
|
|
$(CPUOBJ)/ssp1610/ssp1601.o: $(CPUSRC)/ssp1601/ssp1601.c \
|
|
$(CPUSRC)/ssp1610/ssp1601.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# SunPlus u'nSP
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter UNSP,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/unsp
|
|
CPUOBJS += $(CPUOBJ)/unsp/unsp.o
|
|
DASMOBJS += $(CPUOBJ)/unsp/unspdasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/unsp/unsp.o: $(CPUSRC)/unsp/unsp.c \
|
|
$(CPUSRC)/unsp/unsp.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Atmel 8-bit AVR
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter AVR8,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/avr8
|
|
CPUOBJS += $(CPUOBJ)/avr8/avr8.o
|
|
DASMOBJS += $(CPUOBJ)/avr8/avr8dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/avr8/avr8.o: $(CPUSRC)/avr8/avr8.c \
|
|
$(CPUSRC)/avr8/avr8.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Texas Instruments TMS0980
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter TMS0980,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/tms0980
|
|
CPUOBJS += $(CPUOBJ)/tms0980/tms0980.o
|
|
DASMOBJS += $(CPUOBJ)/tms0980/tms0980d.o
|
|
endif
|
|
|
|
$(CPUOBJ)/tms0980/tms0980.o: $(CPUSRC)/tms0980/tms0980.h \
|
|
$(CPUSRC)/tms0980/tms0980.c
|
|
|
|
$(CPUOBJ)/tms0980/tms0980d.o: $(CPUSRC)/tms0980/tms0980.h \
|
|
$(CPUSRC)/tms0980/tms0980d.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Texas Instruments TMS7000 series
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter TMS7000,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/tms7000
|
|
CPUOBJS += $(CPUOBJ)/tms7000/tms7000.o
|
|
DASMOBJS += $(CPUOBJ)/tms7000/7000dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/tms7000/tms7000.o: $(CPUSRC)/tms7000/tms7000.h \
|
|
$(CPUSRC)/tms7000/tms7000.c \
|
|
$(CPUSRC)/tms7000/tms70op.c \
|
|
$(CPUSRC)/tms7000/tms70tb.c
|
|
|
|
$(CPUOBJ)/tms7000/7000dasm.o: $(CPUSRC)/tms7000/tms7000.h \
|
|
$(CPUSRC)/tms7000/7000dasm.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Texas Instruments TMS99xx series
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter TMS9900,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/tms9900
|
|
CPUOBJS += $(CPUOBJ)/tms9900/tms9900.o
|
|
CPUOBJS += $(CPUOBJ)/tms9900/tms9980a.o
|
|
CPUOBJS += $(CPUOBJ)/tms9900/tms9995.o
|
|
CPUOBJS += $(CPUOBJ)/tms9900/ti990_10.o
|
|
DASMOBJS += $(CPUOBJ)/tms9900/9900dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/tms9900/tms9900.o: $(CPUSRC)/tms9900/tms9900.c \
|
|
$(CPUSRC)/tms9900/tms9900.h \
|
|
$(CPUSRC)/tms9900/99xxcore.h \
|
|
$(CPUSRC)/tms9900/99xxstat.h
|
|
|
|
$(CPUOBJ)/tms9900/tms9980a.o: $(CPUSRC)/tms9900/tms9980a.c \
|
|
$(CPUSRC)/tms9900/tms9900.h \
|
|
$(CPUSRC)/tms9900/99xxcore.h \
|
|
$(CPUSRC)/tms9900/99xxstat.h
|
|
|
|
$(CPUOBJ)/tms9900/tms9995.o: $(CPUSRC)/tms9900/tms9995.c \
|
|
$(CPUSRC)/tms9900/tms9900.h \
|
|
$(CPUSRC)/tms9900/99xxcore.h \
|
|
$(CPUSRC)/tms9900/99xxstat.h
|
|
|
|
$(CPUOBJ)/tms9900/ti990_10.o: $(CPUSRC)/tms9900/ti990_10.c \
|
|
$(CPUSRC)/tms9900/tms9900.h \
|
|
$(CPUSRC)/tms9900/99xxcore.h \
|
|
$(CPUSRC)/tms9900/99xxstat.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Texas Instruments TMS340x0 graphics controllers
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter TMS340X0,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/tms34010
|
|
CPUOBJS += $(CPUOBJ)/tms34010/tms34010.o
|
|
DASMOBJS += $(CPUOBJ)/tms34010/34010dsm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/tms34010/tms34010.o: $(CPUSRC)/tms34010/tms34010.c \
|
|
$(CPUSRC)/tms34010/tms34010.h \
|
|
$(CPUSRC)/tms34010/34010ops.c \
|
|
$(CPUSRC)/tms34010/34010gfx.c \
|
|
$(CPUSRC)/tms34010/34010fld.c \
|
|
$(CPUSRC)/tms34010/34010tbl.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Texas Instruments TMS3201x DSP
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter TMS32010,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/tms32010
|
|
CPUOBJS += $(CPUOBJ)/tms32010/tms32010.o
|
|
DASMOBJS += $(CPUOBJ)/tms32010/32010dsm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/tms32010/tms32010.o: $(CPUSRC)/tms32010/tms32010.c \
|
|
$(CPUSRC)/tms32010/tms32010.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Texas Instruments TMS3202x DSP
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter TMS32025,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/tms32025
|
|
CPUOBJS += $(CPUOBJ)/tms32025/tms32025.o
|
|
DASMOBJS += $(CPUOBJ)/tms32025/32025dsm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/tms32025/tms32025.o: $(CPUSRC)/tms32025/tms32025.c \
|
|
$(CPUSRC)/tms32025/tms32025.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Texas Instruments TMS3203x DSP
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter TMS32031,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/tms32031
|
|
CPUOBJS += $(CPUOBJ)/tms32031/tms32031.o
|
|
DASMOBJS += $(CPUOBJ)/tms32031/dis32031.o
|
|
endif
|
|
|
|
$(CPUOBJ)/tms32031/tms32031.o: $(CPUSRC)/tms32031/tms32031.c \
|
|
$(CPUSRC)/tms32031/tms32031.h \
|
|
$(CPUSRC)/tms32031/32031ops.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Texas Instruments TMS3205x DSP
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter TMS32051,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/tms32051
|
|
CPUOBJS += $(CPUOBJ)/tms32051/tms32051.o
|
|
DASMOBJS += $(CPUOBJ)/tms32051/dis32051.o
|
|
endif
|
|
|
|
$(CPUOBJ)/tms32051/tms32051.o: $(CPUSRC)/tms32051/tms32051.c \
|
|
$(CPUSRC)/tms32051/tms32051.h \
|
|
$(CPUSRC)/tms32051/32051ops.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Texas Instruments TMS57002 DSP
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter TMS57002,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/tms57002
|
|
CPUOBJS += $(CPUOBJ)/tms57002/tms57002.o
|
|
DASMOBJS += $(CPUOBJ)/tms57002/57002dsm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/tms57002/tms57002.o: $(CPUSRC)/tms57002/tms57002.c \
|
|
$(CPUSRC)/tms57002/tms57002.h \
|
|
$(CPUSRC)/tms57002/tms57002.inc
|
|
|
|
$(CPUOBJ)/tms57002/57002dsm.o: $(CPUSRC)/tms57002/57002dsm.c \
|
|
$(CPUSRC)/tms57002/tms57002.inc
|
|
|
|
#-------------------------------------------------
|
|
# Toshiba TLCS-90 Series
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter TLCS90,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/tlcs90
|
|
CPUOBJS += $(CPUOBJ)/tlcs90/tlcs90.o
|
|
#DASMOBJS += $(CPUOBJ)/tlcs90/tlcs90.o
|
|
endif
|
|
|
|
$(CPUOBJ)/tlcs90/tlcs90.o: $(CPUSRC)/tlcs90/tlcs90.c \
|
|
$(CPUSRC)/tlcs90/tlcs90.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Toshiba TLCS-900 Series
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter TLCS900,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/tlcs900
|
|
CPUOBJS += $(CPUOBJ)/tlcs900/tlcs900.o
|
|
DASMOBJS += $(CPUOBJ)/tlcs900/dasm900.o
|
|
endif
|
|
|
|
$(CPUOBJ)/tlcs900/tlcs900.o: $(CPUSRC)/tlcs900/tlcs900.c \
|
|
$(CPUSRC)/tlcs900/900tbl.c \
|
|
$(CPUSRC)/tlcs900/tlcs900.h
|
|
|
|
$(CPUOBJ)/tlcs900/dasm900.o: $(CPUSRC)/tlcs900/dasm900.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Zilog Z80
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter Z80,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/z80
|
|
CPUOBJS += $(CPUOBJ)/z80/z80.o $(CPUOBJ)/z80/z80daisy.o
|
|
DASMOBJS += $(CPUOBJ)/z80/z80dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/z80/z80.o: $(CPUSRC)/z80/z80.c \
|
|
$(CPUSRC)/z80/z80.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Sharp LR35902 (Game Boy CPU)
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter LR35902,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/lr35902
|
|
CPUOBJS += $(CPUOBJ)/lr35902/lr35902.o
|
|
DASMOBJS += $(CPUOBJ)/lr35902/lr35902d.o
|
|
endif
|
|
|
|
$(CPUOBJ)/lr35902/lr35902.o: $(CPUSRC)/lr35902/lr35902.c \
|
|
$(CPUSRC)/lr35902/lr35902.h \
|
|
$(CPUSRC)/lr35902/opc_cb.h \
|
|
$(CPUSRC)/lr35902/opc_main.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Zilog Z180
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter Z180,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/z180 $(CPUOBJ)/z80
|
|
CPUOBJS += $(CPUOBJ)/z180/z180.o $(CPUOBJ)/z80/z80daisy.o
|
|
DASMOBJS += $(CPUOBJ)/z180/z180dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/z180/z180.o: $(CPUSRC)/z180/z180.c \
|
|
$(CPUSRC)/z180/z180.h \
|
|
$(CPUSRC)/z180/z180op.c \
|
|
$(CPUSRC)/z180/z180ops.h \
|
|
$(CPUSRC)/z180/z180tbl.h \
|
|
$(CPUSRC)/z180/z180cb.c \
|
|
$(CPUSRC)/z180/z180dd.c \
|
|
$(CPUSRC)/z180/z180ed.c \
|
|
$(CPUSRC)/z180/z180fd.c \
|
|
$(CPUSRC)/z180/z180xy.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Zilog Z8000
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter Z8000,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/z8000
|
|
CPUOBJS += $(CPUOBJ)/z8000/z8000.o
|
|
DASMOBJS += $(CPUOBJ)/z8000/8000dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/z8000/z8000.o: $(CPUSRC)/z8000/z8000.c \
|
|
$(CPUSRC)/z8000/z8000.h \
|
|
$(CPUSRC)/z8000/z8000cpu.h \
|
|
$(CPUSRC)/z8000/z8000dab.h \
|
|
$(CPUSRC)/z8000/z8000ops.c \
|
|
$(CPUSRC)/z8000/z8000tbl.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Zilog Z8
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter Z8,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/z8
|
|
CPUOBJS += $(CPUOBJ)/z8/z8.o
|
|
DASMOBJS += $(CPUOBJ)/z8/z8dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/z8/z8.o: $(CPUSRC)/z8/z8.c \
|
|
$(CPUSRC)/z8/z8ops.c \
|
|
$(CPUSRC)/z8/z8.h
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Argonaut SuperFX
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SUPERFX,$(CPUS)),)
|
|
OBJDIRS += $(CPUOBJ)/superfx
|
|
CPUOBJS += $(CPUOBJ)/superfx/superfx.o
|
|
DASMOBJS += $(CPUOBJ)/superfx/sfx_dasm.o
|
|
endif
|
|
|
|
$(CPUOBJ)/superfx/superfx.o:$(CPUSRC)/superfx/superfx.c \
|
|
$(CPUSRC)/superfx/superfx.h
|
|
|
|
LIBCPU_OBJS := $(CPUOBJS)
|
|
LIBDASM_OBJS := $(DASMOBJS)
|
|
|
|
$(LIBCPU): $(CPUOBJS)
|
|
|
|
$(LIBDASM): $(DASMOBJS)
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# sound core objects
|
|
#-------------------------------------------------
|
|
|
|
###########################################################################
|
|
#
|
|
# sound.mak
|
|
#
|
|
# Rules for building sound cores
|
|
#
|
|
# Copyright Nicola Salmoria and the MAME Team.
|
|
# Visit http://mamedev.org for licensing and usage restrictions.
|
|
#
|
|
###########################################################################
|
|
|
|
|
|
SOUNDSRC = $(EMUSRC)/sound
|
|
SOUNDOBJ = $(EMUOBJ)/sound
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Core sound types; samples always required
|
|
#-------------------------------------------------
|
|
|
|
SOUNDOBJS += $(SOUNDOBJ)/samples.o
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# DACs
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter DAC,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/dac.o
|
|
endif
|
|
|
|
ifneq ($(filter DMADAC,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/dmadac.o
|
|
endif
|
|
|
|
ifneq ($(filter SPEAKER,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/speaker.o
|
|
endif
|
|
|
|
ifneq ($(filter BEEP,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/beep.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# CD audio
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter CDDA,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/cdda.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Discrete component audio
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter DISCRETE,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/discrete.o
|
|
endif
|
|
|
|
$(SOUNDOBJ)/discrete.o: $(SOUNDSRC)/discrete.c \
|
|
$(SOUNDSRC)/discrete.h \
|
|
$(SOUNDSRC)/disc_dev.c \
|
|
$(SOUNDSRC)/disc_sys.c \
|
|
$(SOUNDSRC)/disc_flt.c \
|
|
$(SOUNDSRC)/disc_inp.c \
|
|
$(SOUNDSRC)/disc_mth.c \
|
|
$(SOUNDSRC)/disc_wav.c
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Atari custom sound chips
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter POKEY,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/pokey.o
|
|
endif
|
|
|
|
ifneq ($(filter TIA,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/tiasound.o $(SOUNDOBJ)/tiaintf.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Bally Astrocade sound system
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter ASTROCADE,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/astrocde.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# CEM 3394 analog synthesizer chip
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter CEM3394,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/cem3394.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Data East custom sound chips
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter BSMT2000,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/bsmt2000.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Ensoniq 5503 (Apple IIgs)
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter ES5503,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/es5503.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Ensoniq 5505/5506
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter ES5505 ES5506,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/es5506.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Excellent Systems ADPCM sound chip
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter ES8712,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/es8712.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Gaelco custom sound chips
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter GAELCO_CG1V,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/gaelco.o
|
|
endif
|
|
|
|
ifneq ($(filter GAELCO_GAE1,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/gaelco.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# RCA CDP1863
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter CDP1863,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/cdp1863.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# RCA CDP1864
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter CDP1864,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/cdp1864.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# RCA CDP1869
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter CDP1869,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/cdp1869.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# GI AY-8910
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter AY8910,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/ay8910.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Harris HC55516 CVSD
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter HC55516,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/hc55516.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Hudsonsoft C6280 sound chip
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter C6280,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/c6280.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# ICS2115 sound chip
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter ICS2115,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/ics2115.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Irem custom sound chips
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter IREMGA20,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/iremga20.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Konami custom sound chips
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter K005289,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/k005289.o
|
|
endif
|
|
|
|
ifneq ($(filter K007232,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/k007232.o
|
|
endif
|
|
|
|
ifneq ($(filter K051649,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/k051649.o
|
|
endif
|
|
|
|
ifneq ($(filter K053260,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/k053260.o
|
|
endif
|
|
|
|
ifneq ($(filter K054539,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/k054539.o
|
|
endif
|
|
|
|
ifneq ($(filter K056800,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/k056800.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# MOS 6560VIC
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter MOS656X,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/mos6560.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Namco custom sound chips
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter NAMCO NAMCO_15XX NAMCO_CUS30,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/namco.o
|
|
endif
|
|
|
|
ifneq ($(filter NAMCO_63701X,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/n63701x.o
|
|
endif
|
|
|
|
ifneq ($(filter C140,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/c140.o
|
|
endif
|
|
|
|
ifneq ($(filter C352,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/c352.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# National Semiconductor Digitalker
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter DIGITALKER,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/digitalk.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Nintendo custom sound chips
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter NES,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/nes_apu.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# NEC uPD7759 ADPCM sample player
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter UPD7759,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/upd7759.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# OKI ADPCM sample players
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter MSM5205,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/msm5205.o
|
|
endif
|
|
|
|
ifneq ($(filter MSM5232,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/msm5232.o
|
|
endif
|
|
|
|
ifneq ($(filter OKIM6376,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/okim6376.o
|
|
endif
|
|
|
|
ifneq ($(filter OKIM6295,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/okim6295.o
|
|
endif
|
|
|
|
ifneq ($(filter OKIM6258,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/okim6258.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Philips SAA1099
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SAA1099,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/saa1099.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# QSound sample player
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter QSOUND,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/qsound.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Ricoh sample players
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter RF5C68,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/rf5c68.o
|
|
endif
|
|
|
|
ifneq ($(filter RF5C400,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/rf5c400.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Sega custom sound chips
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SEGAPCM,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/segapcm.o
|
|
endif
|
|
|
|
ifneq ($(filter MULTIPCM,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/multipcm.o
|
|
endif
|
|
|
|
ifneq ($(filter SCSP,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/scsp.o $(SOUNDOBJ)/scspdsp.o
|
|
endif
|
|
|
|
ifneq ($(filter AICA,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/aica.o $(SOUNDOBJ)/aicadsp.o
|
|
endif
|
|
|
|
$(SOUNDOBJ)/scsp.o: $(SOUNDSRC)/scsplfo.c
|
|
$(SOUNDOBJ)/aica.o: $(SOUNDSRC)/aicalfo.c
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Seta custom sound chips
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter ST0016,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/st0016.o
|
|
endif
|
|
|
|
ifneq ($(filter NILE,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/nile.o
|
|
endif
|
|
|
|
ifneq ($(filter X1_010,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/x1_010.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# SID custom sound chips
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SID6581,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/sid6581.o $(SOUNDOBJ)/sid.o $(SOUNDOBJ)/sidenvel.o $(SOUNDOBJ)/sidvoice.o
|
|
endif
|
|
|
|
ifneq ($(filter SID8580,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/sid6581.o $(SOUNDOBJ)/sid.o $(SOUNDOBJ)/sidenvel.o $(SOUNDOBJ)/sidvoice.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# SNK(?) custom stereo sn76489a clone
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter T6W28,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/t6w28.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# SNK custom wave generator
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SNKWAVE,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/snkwave.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Sony custom sound chips
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter PSXSPU,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/psx.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# SP0256 speech synthesizer
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SP0256,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/sp0256.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# SP0250 speech synthesizer
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SP0250,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/sp0250.o
|
|
endif
|
|
|
|
|
|
#-------------------------------------------------
|
|
# S14001A speech synthesizer
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter S14001A,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/s14001a.o
|
|
endif
|
|
|
|
#-------------------------------------------------
|
|
# Texas Instruments SN76477 analog chip
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SN76477,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/sn76477.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Texas Instruments SN76496
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter SN76496,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/sn76496.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Texas Instruments TMS36xx doorbell chime
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter TMS36XX,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/tms36xx.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Texas Instruments TMS3615 Octave Multiple Tone Synthesizer
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter TMS3615,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/tms3615.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Texas Instruments TMS5110 speech synthesizers
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter TMS5110,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/tms5110.o
|
|
endif
|
|
|
|
ifneq ($(filter TMS5220,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/tms5220.o
|
|
endif
|
|
|
|
$(SOUNDOBJ)/tms5110.o: $(SOUNDSRC)/tms5110r.c
|
|
$(SOUNDOBJ)/tms5220.o: $(SOUNDSRC)/tms5220r.c
|
|
|
|
|
|
#-------------------------------------------------
|
|
# VLM5030 speech synthesizer
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter VLM5030,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/vlm5030.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Votrax speech synthesizer
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter VOTRAX,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/votrax.o $(SOUNDOBJ)/samples.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# VRender0 custom sound chip
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter VRENDER0,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/vrender0.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# WAVE file (used for MESS cassette)
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter WAVE,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/wave.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Yamaha FM synthesizers
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter YM2151,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/2151intf.o $(SOUNDOBJ)/ym2151.o
|
|
endif
|
|
|
|
ifneq ($(filter YM2203,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/2203intf.o $(SOUNDOBJ)/ay8910.o $(SOUNDOBJ)/fm.o
|
|
endif
|
|
|
|
ifneq ($(filter YM2413,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/2413intf.o $(SOUNDOBJ)/ym2413.o
|
|
endif
|
|
|
|
ifneq ($(filter YM2608,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/2608intf.o $(SOUNDOBJ)/ay8910.o $(SOUNDOBJ)/fm.o $(SOUNDOBJ)/ymdeltat.o
|
|
endif
|
|
|
|
ifneq ($(filter YM2610 YM2610B,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/2610intf.o $(SOUNDOBJ)/ay8910.o $(SOUNDOBJ)/fm.o $(SOUNDOBJ)/ymdeltat.o
|
|
endif
|
|
|
|
ifneq ($(filter YM2612 YM3438,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/2612intf.o $(SOUNDOBJ)/ay8910.o $(SOUNDOBJ)/fm2612.o
|
|
endif
|
|
|
|
ifneq ($(filter YM3812,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/3812intf.o $(SOUNDOBJ)/fmopl.o $(SOUNDOBJ)/ymdeltat.o
|
|
endif
|
|
|
|
ifneq ($(filter YM3526,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/3526intf.o $(SOUNDOBJ)/fmopl.o
|
|
endif
|
|
|
|
ifneq ($(filter Y8950,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/8950intf.o $(SOUNDOBJ)/fmopl.o $(SOUNDOBJ)/ymdeltat.o
|
|
endif
|
|
|
|
ifneq ($(filter YMF262,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/ymf262.o $(SOUNDOBJ)/262intf.o
|
|
endif
|
|
|
|
ifneq ($(filter YMF271,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/ymf271.o
|
|
endif
|
|
|
|
ifneq ($(filter YMF278B,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/ymf278b.o
|
|
endif
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# Yamaha YMZ280B ADPCM
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter YMZ280B,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/ymz280b.o
|
|
endif
|
|
|
|
#-------------------------------------------------
|
|
# ZOOM ZSG-2
|
|
#-------------------------------------------------
|
|
|
|
ifneq ($(filter ZSG2,$(SOUNDS)),)
|
|
SOUNDOBJS += $(SOUNDOBJ)/zsg2.o
|
|
endif
|
|
|
|
|
|
LIBSOUND_OBJS := $(SOUNDOBJS)
|
|
|
|
$(LIBSOUND): $(SOUNDOBJS)
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# additional dependencies
|
|
#-------------------------------------------------
|
|
|
|
$(EMUOBJ)/video.o: $(EMUSRC)/rendersw.c
|
|
$(EMUVIDEO)/v9938.o: $(EMUSRC)/video/v9938mod.c
|
|
|
|
###########################################################################
|
|
#
|
|
# lib.mak
|
|
#
|
|
# MAME dependent library makefile
|
|
#
|
|
# Copyright Nicola Salmoria and the MAME Team.
|
|
# Visit http://mamedev.org for licensing and usage restrictions.
|
|
#
|
|
###########################################################################
|
|
|
|
|
|
LIBSRC = $(SRC_DIR)/lib
|
|
LIBOBJ = $(OBJ)/lib
|
|
|
|
OBJDIRS += \
|
|
$(LIBOBJ)/util \
|
|
$(LIBOBJ)/expat \
|
|
$(LIBOBJ)/zlib \
|
|
$(LIBOBJ)/softfloat \
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# utility library objects
|
|
#-------------------------------------------------
|
|
|
|
LIBUTIL_OBJS = \
|
|
$(LIBOBJ)/util/astring.o \
|
|
$(LIBOBJ)/util/avcomp.o \
|
|
$(LIBOBJ)/util/aviio.o \
|
|
$(LIBOBJ)/util/bitmap.o \
|
|
$(LIBOBJ)/util/cdrom.o \
|
|
$(LIBOBJ)/util/chd.o \
|
|
$(LIBOBJ)/util/corefile.o \
|
|
$(LIBOBJ)/util/corestr.o \
|
|
$(LIBOBJ)/util/coreutil.o \
|
|
$(LIBOBJ)/util/harddisk.o \
|
|
$(LIBOBJ)/util/huffman.o \
|
|
$(LIBOBJ)/util/imageutl.o \
|
|
$(LIBOBJ)/util/jedparse.o \
|
|
$(LIBOBJ)/util/md5.o \
|
|
$(LIBOBJ)/util/opresolv.o \
|
|
$(LIBOBJ)/util/options.o \
|
|
$(LIBOBJ)/util/palette.o \
|
|
$(LIBOBJ)/util/png.o \
|
|
$(LIBOBJ)/util/pool.o \
|
|
$(LIBOBJ)/util/sha1.o \
|
|
$(LIBOBJ)/util/tagmap.o \
|
|
$(LIBOBJ)/util/unicode.o \
|
|
$(LIBOBJ)/util/unzip.o \
|
|
$(LIBOBJ)/util/vbiparse.o \
|
|
$(LIBOBJ)/util/xmlfile.o \
|
|
$(LIBOBJ)/util/zippath.o \
|
|
|
|
$(LIBUTIL): $(LIBUTIL_OBJS)
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# expat library objects
|
|
#-------------------------------------------------
|
|
|
|
LIBEXPAT_OBJS = \
|
|
$(LIBOBJ)/expat/xmlparse.o \
|
|
$(LIBOBJ)/expat/xmlrole.o \
|
|
$(LIBOBJ)/expat/xmltok.o
|
|
|
|
$(OBJ)/libexpat.a: $(LIBEXPAT_OBJS)
|
|
|
|
$(LIBOBJ)/expat/%.o: $(LIBSRC)/explat/%.c | $(OSPREBUILD)
|
|
@echo Compiling $<...
|
|
$(CC) $(CDEFS) $(CCOMFLAGS) $(CONLYFLAGS) -c $< -o $@
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# zlib library objects
|
|
#-------------------------------------------------
|
|
|
|
LIBZ_OBJS = \
|
|
$(LIBOBJ)/zlib/adler32.o \
|
|
$(LIBOBJ)/zlib/compress.o \
|
|
$(LIBOBJ)/zlib/crc32.o \
|
|
$(LIBOBJ)/zlib/deflate.o \
|
|
$(LIBOBJ)/zlib/inffast.o \
|
|
$(LIBOBJ)/zlib/inflate.o \
|
|
$(LIBOBJ)/zlib/infback.o \
|
|
$(LIBOBJ)/zlib/inftrees.o \
|
|
$(LIBOBJ)/zlib/trees.o \
|
|
$(LIBOBJ)/zlib/zutil.o
|
|
|
|
$(OBJ)/libz.a: $(LIBZ_OBJS)
|
|
|
|
$(LIBOBJ)/zlib/%.o: $(LIBSRC)/zlib/%.c | $(OSPREBUILD)
|
|
@echo Compiling $<...
|
|
$(CC) $(CDEFS) $(CCOMFLAGS) $(CONLYFLAGS) -c $< -o $@
|
|
|
|
#-------------------------------------------------
|
|
# SoftFloat library objects
|
|
#-------------------------------------------------
|
|
|
|
PROCESSOR_H = $(LIBSRC)/softfloat/processors/mamesf.h
|
|
SOFTFLOAT_MACROS = $(LIBSRC)/softfloat/softfloat/bits64/softfloat-macros
|
|
|
|
LIBSOFTFLOAT_OBJS = \
|
|
$(LIBOBJ)/softfloat/softfloat.o
|
|
|
|
$(SOFTFLOAT): $(LIBSOFTFLOAT_OBJS)
|
|
|
|
$(LIBOBJ)/softfloat/softfloat.o: $(LIBSRC)/softfloat/softfloat.c \
|
|
$(LIBSRC)/softfloat/softfloat.h \
|
|
$(LIBSRC)/softfloat/softfloat-macros \
|
|
$(LIBSRC)/softfloat/softfloat-specialize
|
|
|
|
###########################################################################
|
|
#
|
|
# retro.mak : based on osdmini.mak
|
|
#
|
|
# ANDROID RETROARCH OS Dependent makefile
|
|
#
|
|
###########################################################################
|
|
#
|
|
# Copyright Aaron Giles
|
|
# All rights reserved.
|
|
#
|
|
# Redistribution and use in source and binary forms, with or without
|
|
# modification, are permitted provided that the following conditions are
|
|
# met:
|
|
#
|
|
# * Redistributions of source code must retain the above copyright
|
|
# notice, this list of conditions and the following disclaimer.
|
|
# * Redistributions in binary form must reproduce the above copyright
|
|
# notice, this list of conditions and the following disclaimer in
|
|
# the documentation and/or other materials provided with the
|
|
# distribution.
|
|
# * Neither the name 'MAME' nor the names of its contributors may be
|
|
# used to endorse or promote products derived from this software
|
|
# without specific prior written permission.
|
|
#
|
|
# THIS SOFTWARE IS PROVIDED BY AARON GILES ''AS IS'' AND ANY EXPRESS OR
|
|
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
# DISCLAIMED. IN NO EVENT SHALL AARON GILES BE LIABLE FOR ANY DIRECT,
|
|
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
|
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
# POSSIBILITY OF SUCH DAMAGE.
|
|
#
|
|
###########################################################################
|
|
|
|
|
|
|
|
|
|
#-------------------------------------------------
|
|
# object and source roots
|
|
#-------------------------------------------------
|
|
|
|
MINISRC = $(SRC_DIR)/osd/$(OSD)
|
|
MINIOBJ = $(OBJ)/osd/$(OSD)
|
|
ifeq ($(VRENDER),opengl)
|
|
GLOBJ = $(OBJ)/osd/$(OSD)/glsym
|
|
OBJDIRS += $(GLOBJ)
|
|
endif
|
|
OBJDIRS += $(MINIOBJ)
|
|
|
|
ifneq ($(STATIC_LINKING), 1)
|
|
OBJDIRS += $(OBJ)/osd/$(OSD)/libretro-common \
|
|
$(OBJ)/osd/$(OSD)/libretro-common/compat \
|
|
$(OBJ)/osd/$(OSD)/libretro-common/file
|
|
endif
|
|
|
|
#-------------------------------------------------
|
|
# OSD core library
|
|
#-------------------------------------------------
|
|
OSDCOREOBJS := \
|
|
$(MINIOBJ)/retrodir.o \
|
|
$(MINIOBJ)/retrofile.o \
|
|
$(MINIOBJ)/retromisc.o \
|
|
$(MINIOBJ)/retroos.o
|
|
|
|
ifneq ($(STATIC_LINKING), 1)
|
|
OSDCOREOBJS += \
|
|
$(MINIOBJ)/libretro-common/file/file_path.o \
|
|
$(MINIOBJ)/libretro-common/compat/compat_strcasestr.o \
|
|
$(MINIOBJ)/libretro-common/compat/compat_strl.o
|
|
endif
|
|
|
|
ifeq ($(platform), wiiu)
|
|
OSDCOREOBJS += \
|
|
$(MINIOBJ)/minisync.o \
|
|
$(MINIOBJ)/miniwork.o
|
|
else
|
|
OSDCOREOBJS += \
|
|
$(MINIOBJ)/retrosync.o \
|
|
$(MINIOBJ)/retrowork.o
|
|
endif
|
|
|
|
#-------------------------------------------------
|
|
# OSD mini library
|
|
#-------------------------------------------------
|
|
ifeq ($(VRENDER),opengl)
|
|
OSDOBJS += $(MINIOBJ)/libretro-common/glsym/rglgen.o
|
|
ifeq ($(GLES), 1)
|
|
OSDOBJS += $(MINIOBJ)/libretro-common/glsym/glsym_es2.o
|
|
else
|
|
OSDOBJS += $(MINIOBJ)/libretro-common/glsym/glsym_gl.o
|
|
endif
|
|
endif
|
|
OSDOBJS += $(OBJ)/osd/retro/retromain.o
|
|
|
|
LIBOSD_OBJS := $(OSDOBJS)
|
|
#-------------------------------------------------
|
|
# rules for building the libaries
|
|
#-------------------------------------------------
|
|
|
|
|
|
LIBOCORE_OBJS := $(OSDCOREOBJS)
|
|
|
|
$(LIBOCORE): $(OSDCOREOBJS)
|
|
|
|
OBJECTS = $(DRVLIBS) $(LIBOSD) $(LIBCPU) $(LIBEMU) $(LIBDASM) $(LIBSOUND) $(LIBUTIL) $(EXPAT) $(SOFTFLOAT) $(ZLIB) $(LIBOCORE) $(RESFILE)
|