aboutsummaryrefslogtreecommitdiff
path: root/backends/module.mk
blob: 96dfbda9c490c7e78ce638e887238939f5b1deaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
MODULE := backends

MODULE_OBJS := \
	base-backend.o \
	modular-backend.o \
	audiocd/default/default-audiocd.o \
	audiocd/sdl/sdl-audiocd.o \
	events/default/default-events.o \
	events/dinguxsdl/dinguxsdl-events.o \
	events/gp2xsdl/gp2xsdl-events.o \
	events/linuxmotosdl/linuxmotosdl-events.o \
	events/samsungtvsdl/samsungtvsdl-events.o \
	events/sdl/sdl-events.o \
	events/symbiansdl/symbiansdl-events.o \
	fs/abstract-fs.o \
	fs/stdiostream.o \
	fs/amigaos4/amigaos4-fs-factory.o \
	fs/posix/posix-fs-factory.o \
	fs/symbian/symbian-fs-factory.o \
	fs/windows/windows-fs-factory.o \
	graphics/dinguxsdl/dinguxsdl-graphics.o \
	graphics/gp2xsdl/gp2xsdl-graphics.o \
	graphics/linuxmotosdl/linuxmotosdl-graphics.o \
	graphics/opengl/glerrorcheck.o \
	graphics/opengl/gltexture.o \
	graphics/opengl/opengl-graphics.o \
	graphics/openglsdl/openglsdl-graphics.o \
	graphics/sdl/sdl-graphics.o \
	graphics/symbiansdl/symbiansdl-graphics.o \
	keymapper/action.o \
	keymapper/keymap.o \
	keymapper/keymapper.o \
	keymapper/remap-dialog.o \
	log/log.o \
	midi/alsa.o \
	midi/camd.o \
	midi/coreaudio.o \
	midi/coremidi.o \
	midi/seq.o \
	midi/stmidi.o \
	midi/timidity.o \
	midi/dmedia.o \
	midi/windows.o \
	mixer/doublebuffersdl/doublebuffersdl-mixer.o \
	mixer/sdl/sdl-mixer.o \
	mixer/symbiansdl/symbiansdl-mixer.o \
	mutex/sdl/sdl-mutex.o \
	plugins/elf/elf-loader.o \
	plugins/elf/mips-loader.o \
	plugins/elf/shorts-segment-manager.o \
	plugins/elf/ppc-loader.o \
	plugins/elf/arm-loader.o \
	plugins/elf/elf-provider.o \
	plugins/elf/version.o \
	plugins/posix/posix-provider.o \
	plugins/sdl/sdl-provider.o \
	plugins/win32/win32-provider.o \
	saves/savefile.o \
	saves/default/default-saves.o \
	saves/posix/posix-saves.o \
	timer/default/default-timer.o \
	timer/sdl/sdl-timer.o \
	vkeybd/image-map.o \
	vkeybd/polygon.o \
	vkeybd/virtual-keyboard.o \
	vkeybd/virtual-keyboard-gui.o \
	vkeybd/virtual-keyboard-parser.o

ifeq ($(BACKEND),dc)
MODULE_OBJS += \
	plugins/dc/dc-provider.o
endif

ifeq ($(BACKEND),ds)
MODULE_OBJS += \
	fs/ds/ds-fs-factory.o \
	fs/ds/ds-fs.o \
	plugins/ds/ds-provider.o
endif

ifeq ($(BACKEND),n64)
MODULE_OBJS += \
	fs/n64/n64-fs-factory.o \
	fs/n64/romfsstream.o
endif

ifeq ($(BACKEND),ps2)
MODULE_OBJS += \
	fs/ps2/ps2-fs-factory.o \
	plugins/ps2/ps2-provider.o
endif

ifeq ($(BACKEND),psp)
MODULE_OBJS += \
	fs/psp/psp-fs-factory.o \
	fs/psp/psp-stream.o \
	plugins/psp/psp-provider.o \
	saves/psp/psp-saves.o \
	timer/psp/timer.o
endif

ifeq ($(BACKEND),wii)
MODULE_OBJS += \
	fs/wii/wii-fs-factory.o \
	plugins/wii/wii-provider.o
endif

# Include common rules
include $(srcdir)/rules.mk