2006-02-11 22:45:04 +00:00
|
|
|
MODULE := engines/kyra
|
|
|
|
|
|
|
|
MODULE_OBJS := \
|
2008-05-11 22:32:37 +00:00
|
|
|
animator_lok.o \
|
2007-07-29 16:33:11 +00:00
|
|
|
animator_v2.o \
|
2008-05-02 14:46:30 +00:00
|
|
|
animator_hof.o \
|
|
|
|
animator_mr.o \
|
2009-12-12 20:06:42 +00:00
|
|
|
animator_tim.o \
|
2006-03-29 15:51:13 +00:00
|
|
|
debugger.o \
|
2007-04-27 20:23:25 +00:00
|
|
|
detection.o \
|
2008-03-28 09:00:30 +00:00
|
|
|
gui.o \
|
2011-11-16 18:16:19 +00:00
|
|
|
gui_v1.o \
|
2008-05-11 22:32:37 +00:00
|
|
|
gui_lok.o \
|
2008-05-04 15:37:41 +00:00
|
|
|
gui_v2.o \
|
2008-05-04 15:18:46 +00:00
|
|
|
gui_hof.o \
|
|
|
|
gui_mr.o \
|
2008-05-11 22:32:37 +00:00
|
|
|
items_lok.o \
|
2008-05-02 15:08:45 +00:00
|
|
|
items_v2.o \
|
2008-05-02 14:46:30 +00:00
|
|
|
items_hof.o \
|
|
|
|
items_mr.o \
|
2008-05-11 23:16:50 +00:00
|
|
|
kyra_v1.o \
|
2008-05-11 22:32:37 +00:00
|
|
|
kyra_lok.o \
|
2007-04-15 13:39:08 +00:00
|
|
|
kyra_v2.o \
|
2008-05-02 14:46:30 +00:00
|
|
|
kyra_hof.o \
|
|
|
|
kyra_mr.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
resource.o \
|
2008-09-07 21:46:37 +00:00
|
|
|
resource_intern.o \
|
2008-03-17 18:10:52 +00:00
|
|
|
saveload.o \
|
2008-05-11 22:32:37 +00:00
|
|
|
saveload_lok.o \
|
2008-05-02 14:46:30 +00:00
|
|
|
saveload_hof.o \
|
|
|
|
saveload_mr.o \
|
2008-05-11 23:16:50 +00:00
|
|
|
scene_v1.o \
|
2008-05-11 22:32:37 +00:00
|
|
|
scene_lok.o \
|
2007-07-29 16:33:11 +00:00
|
|
|
scene_v2.o \
|
2008-05-02 14:46:30 +00:00
|
|
|
scene_hof.o \
|
|
|
|
scene_mr.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
screen.o \
|
2008-05-11 22:32:37 +00:00
|
|
|
screen_lok.o \
|
2007-07-29 16:31:29 +00:00
|
|
|
screen_v2.o \
|
2008-05-02 14:46:30 +00:00
|
|
|
screen_hof.o \
|
|
|
|
screen_mr.o \
|
2008-05-12 12:43:52 +00:00
|
|
|
script_v1.o \
|
2008-05-11 22:32:37 +00:00
|
|
|
script_lok.o \
|
2008-05-02 15:59:57 +00:00
|
|
|
script_v2.o \
|
2008-05-02 14:46:30 +00:00
|
|
|
script_hof.o \
|
|
|
|
script_mr.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
script.o \
|
2008-04-19 13:52:09 +00:00
|
|
|
script_tim.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
seqplayer.o \
|
2008-05-11 22:32:37 +00:00
|
|
|
sequences_lok.o \
|
2008-05-03 19:23:45 +00:00
|
|
|
sequences_v2.o \
|
2008-05-02 14:46:30 +00:00
|
|
|
sequences_hof.o \
|
|
|
|
sequences_mr.o \
|
2006-02-27 22:39:55 +00:00
|
|
|
sound_adlib.o \
|
2009-07-17 16:07:57 +00:00
|
|
|
sound_amiga.o \
|
2006-05-17 18:07:02 +00:00
|
|
|
sound_digital.o \
|
2008-11-30 01:53:32 +00:00
|
|
|
sound_midi.o \
|
2009-05-27 14:40:37 +00:00
|
|
|
sound_pcspk.o \
|
2007-01-29 18:15:14 +00:00
|
|
|
sound_towns.o \
|
2006-03-29 15:51:13 +00:00
|
|
|
sound.o \
|
2008-05-11 22:32:37 +00:00
|
|
|
sound_lok.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
sprites.o \
|
2006-03-29 15:51:13 +00:00
|
|
|
staticres.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
text.o \
|
2008-05-11 22:32:37 +00:00
|
|
|
text_lok.o \
|
2008-05-02 14:46:30 +00:00
|
|
|
text_hof.o \
|
|
|
|
text_mr.o \
|
2007-07-29 16:33:11 +00:00
|
|
|
timer.o \
|
2008-05-11 22:32:37 +00:00
|
|
|
timer_lok.o \
|
2008-05-02 14:46:30 +00:00
|
|
|
timer_hof.o \
|
|
|
|
timer_mr.o \
|
2008-12-26 11:04:45 +00:00
|
|
|
util.o \
|
2006-05-18 21:46:07 +00:00
|
|
|
vqa.o \
|
2006-03-29 15:51:13 +00:00
|
|
|
wsamovie.o
|
2006-02-11 22:45:04 +00:00
|
|
|
|
2011-12-11 00:57:03 +00:00
|
|
|
KYRARPG_COMMON_OBJ = \
|
2011-12-11 11:29:09 +00:00
|
|
|
gui_rpg.o \
|
|
|
|
kyra_rpg.o \
|
|
|
|
saveload_rpg.o \
|
|
|
|
scene_rpg.o \
|
|
|
|
sprites_rpg.o \
|
|
|
|
staticres_rpg.o \
|
|
|
|
text_rpg.o \
|
|
|
|
timer_rpg.o
|
2011-12-11 00:57:03 +00:00
|
|
|
|
2009-03-04 00:45:34 +00:00
|
|
|
ifdef ENABLE_LOL
|
|
|
|
MODULE_OBJS += \
|
2011-12-11 00:57:03 +00:00
|
|
|
$(KYRARPG_COMMON_OBJ) \
|
2009-03-04 00:45:34 +00:00
|
|
|
gui_lol.o \
|
|
|
|
items_lol.o \
|
|
|
|
lol.o \
|
2009-05-24 14:58:40 +00:00
|
|
|
saveload_lol.o \
|
2009-03-04 00:45:34 +00:00
|
|
|
scene_lol.o \
|
|
|
|
screen_lol.o \
|
|
|
|
script_lol.o \
|
|
|
|
sequences_lol.o \
|
2009-05-24 14:58:40 +00:00
|
|
|
sound_lol.o \
|
2009-03-04 00:45:34 +00:00
|
|
|
sprites_lol.o \
|
2010-07-22 22:00:46 +00:00
|
|
|
staticres_lol.o \
|
2009-03-04 00:45:34 +00:00
|
|
|
text_lol.o \
|
|
|
|
timer_lol.o
|
|
|
|
endif
|
|
|
|
|
2011-12-11 00:57:03 +00:00
|
|
|
ifdef ENABLE_EOB
|
|
|
|
ifndef ENABLE_LOL
|
|
|
|
MODULE_OBJS += \
|
|
|
|
$(KYRARPG_COMMON_OBJ)
|
|
|
|
endif
|
|
|
|
MODULE_OBJS += \
|
|
|
|
chargen.o \
|
|
|
|
eobcommon.o \
|
2011-12-12 15:14:08 +00:00
|
|
|
eob.o \
|
|
|
|
darkmoon.o \
|
2011-12-11 11:29:09 +00:00
|
|
|
gui_eob.o \
|
2011-12-11 00:57:03 +00:00
|
|
|
items_eob.o \
|
|
|
|
magic_eob.o \
|
2011-12-11 11:29:09 +00:00
|
|
|
saveload_eob.o \
|
|
|
|
scene_eob.o \
|
2011-12-11 00:57:03 +00:00
|
|
|
screen_eob.o \
|
|
|
|
script_eob.o \
|
2011-12-12 15:14:08 +00:00
|
|
|
sequences_eob.o \
|
|
|
|
sequences_darkmoon.o \
|
2011-12-11 11:29:09 +00:00
|
|
|
sprites_eob.o \
|
|
|
|
staticres_eob.o \
|
|
|
|
timer_eob.o
|
2011-12-11 00:57:03 +00:00
|
|
|
endif
|
|
|
|
|
2006-02-11 22:45:04 +00:00
|
|
|
# This module can be built as a plugin
|
2008-05-06 03:00:26 +00:00
|
|
|
ifeq ($(ENABLE_KYRA), DYNAMIC_PLUGIN)
|
2006-02-11 22:45:04 +00:00
|
|
|
PLUGIN := 1
|
|
|
|
endif
|
|
|
|
|
2008-01-27 19:47:41 +00:00
|
|
|
# Include common rules
|
2006-06-24 08:48:11 +00:00
|
|
|
include $(srcdir)/rules.mk
|
2011-06-30 07:13:24 +00:00
|
|
|
|
|
|
|
ifeq ($(BACKEND), maemo)
|
|
|
|
#ugly workaround, screen.cpp crashes gcc version 3.4.4 (CodeSourcery ARM 2005q3-2) with anything but -O3
|
|
|
|
$(MODULE)/screen.o: $(MODULE)/screen.cpp
|
|
|
|
$(MKDIR) $(*D)/$(DEPDIR)
|
|
|
|
$(CXX) -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d",-MQ,"$@",-MP $(CXXFLAGS) -O3 $(CPPFLAGS) -c $(<) -o $*.o
|
|
|
|
endif
|