aboutsummaryrefslogtreecommitdiff
path: root/gui/module.mk
blob: 24becfd6fcf00f5ce1366ba020c6667b350c0473 (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
MODULE := gui

MODULE_OBJS := \
	about.o \
	chooser.o \
	console.o \
	debugger.o \
	dialog.o \
	downloaddialog.o \
	editgamedialog.o \
	error.o \
	EventRecorder.o \
	filebrowser-dialog.o \
	gui-manager.o \
	launcher.o \
	massadd.o \
	message.o \
	object.o \
	options.o \
	predictivedialog.o \
	remotebrowser.o \
	saveload.o \
	saveload-dialog.o \
	storagewizarddialog.o \
	themebrowser.o \
	ThemeEngine.o \
	ThemeEval.o \
	ThemeLayout.o \
	ThemeParser.o \
	Tooltip.o \
	animation/Animation.o \
	animation/RepeatAnimationWrapper.o \
	animation/SequenceAnimationComposite.o \
	widget.o \
	widgets/editable.o \
	widgets/edittext.o \
	widgets/list.o \
	widgets/popup.o \
	widgets/scrollbar.o \
	widgets/scrollcontainer.o \
	widgets/tab.o

# HACK: create_project's XCode generator relies on the following ifdef
# structure to pick up the right browser implementations for iOS and Mac OS X.
# Please keep it like this or XCode project generation will be broken.
# FIXME: This only works because of a bug in how we handle ifdef statements in
# create_project's module.mk parser. create_project will think that both
# browser.o and browser_osx.o is built when both IPHONE and MACOSX is set.
# When we do proper ifdef handling, only browser.o will be picked up, breaking
# XCode generation.
ifdef IPHONE
MODULE_OBJS += \
	browser.o
else
ifdef MACOSX
MODULE_OBJS += \
	browser_osx.o
else
MODULE_OBJS += \
	browser.o
endif
endif

ifdef ENABLE_EVENTRECORDER
MODULE_OBJS += \
	editrecorddialog.o \
	onscreendialog.o \
	recorderdialog.o
endif

ifdef USE_FLUIDSYNTH
MODULE_OBJS += \
	fluidsynth-dialog.o
endif

ifdef USE_UPDATES
MODULE_OBJS += \
	updates-dialog.o
endif

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