Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/gcompris/Makefile.am
blob: f0f1305c614ba30401ec6df36bde11a3b250d948 (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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
## Process this file with automake to produce Makefile.in
if PYTHON_PLUGIN
python_ldadd = $(PYTHON_LIBS)
python_ldflags = -u Py_Initialize
else
python_ldadd =
python_ldflags =
endif

if USE_SQLITE
sqlite_ldadd = $(SQLITE3_LIBS)
sqlite_cflags = $(SQLITE3_CFLAGS)
else
sqlite_ldadd =
sqlite_cflags =
endif

#if USE_CAIRO
#cairo_ldflags = $(CAIRO_LIBS)
#cairo_cflags = $(CAIRO_CFLAGS)
#cairo_h = gcompris-cairo.h
#cairo_c = gcompris-cairo.c
#else
#cairo_ldflags =
#cairo_cflags =
#cairo_h =
#cairo_c =
#endif

if PLATFORM_WIN32
no_undefined = -no-undefined
shared = -shared
else
no_undefined =
shared =
endif

if WITH_NSBUNDLE
gcompris_nsbundle_m = gcompris-nsbundle.m
gcompris_nsbundle_h = gcompris-nsbundle.h
else
gcompris_nsbundle_m =
gcompris_nsbundle_h =
endif

bin_PROGRAMS = gcompris

INCLUDES = \
	-DDATADIR=\""$(datadir)"\" \
	-I$(top_srcdir)/src \
	$(GCOMPRIS_CFLAGS) \
	$(GNOME_INCLUDEDIR) \
	$(XML_CFLAGS) \
	-DGNOME_DISABLE_DEPRECATED \
        $(sqlite_cflags) \
	$(GNET_CFLAGS) \
	$(AUDIO_CFLAGS) \
	$(cairo_cflags) \
	$(NSBUNDLE_CPPFLAGS)

gcompris_SOURCES = \
	$(cairo_c) \
	$(cairo_h) \
	$(gcompris_nsbundle_h) \
	$(gcompris_nsbundle_m) \
	about.c \
	about.h \
	anim.c \
	anim.h \
	bar.c \
	binreloc.c \
	binreloc.h \
	board.h board.c \
	board_config_common.c board_config_common.h \
	board_config_combo.c board_config_radio.c\
	board_config_textview.c board_config_wordlist.c \
	board_config.h board_config.c \
	bonus.c \
	bonus.h \
	config.c \
	dialog.c \
	drag.c \
	drag.h \
	file_selector.c \
	gameutil.c \
	gameutil.h \
	gc_core.h \
	gc_net.c \
	gc_net.h \
	gcompris-board.h \
	gcompris.c \
	gcompris.h \
	gcompris_alphabeta.c \
	gcompris_alphabeta.h \
	gcompris_config.h \
	gcompris_confirm.c \
	gcompris_db.c \
	gcompris_db.h \
	gcompris_im.c \
	gcompris_im.h \
	help.c \
	images_selector.c \
	log.c \
	menu.c \
	pixbuf_util.c \
	pixbuf_util.h \
	plugin.h \
	profile.c \
	profile.h \
	properties.c \
	properties.h \
	score.c \
	score.h \
	skin.c \
	skin.h \
	soundutil.c \
	soundutil.h \
	gstreamer.c \
	soundutil_sdl.c \
	soundutil_sdl.h \
	sdlplayer.c \
	timer.c \
	timer.h \
	wordlist.c \
	wordlist.h

gcompris_LDFLAGS = \
	-export-dynamic $(top_builddir)/src/libgnomecanvas/libgnomecanvas-2.a \
	$(top_builddir)/src/libart_lgpl/libart_lgpl_2.a


gcompris_LDADD = \
	$(GCOMPRIS_LIBS) $(sqlite_ldadd) $(XML_LIBS) $(GNET_LIBS) \
	$(AUDIO_LIBS) \
        $(INTLLIBS) $(NSBUNDLE_LDFLAGS) $(XF86VM_LIBS)

EXTRA_DIST = \
	Makefile.mingw gcomprisrc.rc


gcompris_nsbundle_CPPFLAGS = -fconstant-string-class=NSConstantString