aboutsummaryrefslogtreecommitdiff
path: root/engines/testbed/module.mk
blob: afbba5ce943b5b982055bf17d2dccfbe25a67a93 (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
MODULE := engines/testbed

MODULE_OBJS := \
	config.o \
	config-params.o \
	detection.o \
	events.o \
	fs.o \
	graphics.o \
	midi.o \
	misc.o \
	savegame.o \
	sound.o \
	encoding.o \
	testbed.o \
	testsuite.o

ifdef USE_CLOUD
ifdef USE_LIBCURL
MODULE_OBJS += \
	cloud.o
endif
endif

ifdef USE_SDL_NET
MODULE_OBJS += \
	webserver.o
endif

ifdef USE_TTS
MODULE_OBJS += \
	speech.o
endif

MODULE_DIRS += \
	engines/testbed

# This module can be built as a plugin
ifeq ($(ENABLE_TESTBED), DYNAMIC_PLUGIN)
PLUGIN := 1
endif

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