Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/gcompris/Makefile.am
blob: cc2e2dd7332f7f35f38ca987dbef40be3ab22173 (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
## 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


INCLUDES = \
	-I$(top_srcdir)/intl \
	-DDATADIR=\""$(datadir)"\" \
	$(GCOMPRIS_CFLAGS) \
	$(GNOME_INCLUDEDIR) \
	$(XML_CFLAGS) \
	-DGNOME_DISABLE_DEPRECATED

bin_PROGRAMS = gcompris gcompris-edit

#noinst_LIBRARIES = \
#	libgcompris.a

libgcompris_a_SOURCES = \
	gcompris.c \
	gcompris.h gcompris-board.h \
	gameutil.c gameutil.h \
	properties.c properties.h \
	bar.c \
	images_selector.c \
	oggplayer.c \
	help.c \
	pixbuf_util.c pixbuf_util.h \
	board.h board.c \
	soundutil.c soundutil.h \
	cursor.c cursor.h \
	plugin.h \
	pluginenum.c pluginenum.h \
	bonus.c bonus.h \
	timer.c timer.h \
	score.c score.h \
	skin.c skin.h \
	config.c gcompris_config.h \
	about.c about.h 


gcompris_SOURCES = \
	main.c \
	$(libgcompris_a_SOURCES)


gcompris_LDFLAGS = \
	-export-dynamic $(python_ldflags)

gcompris_LDADD = \
	$(LIBICONV)		\
	$(GCOMPRIS_LIBS)	\
	$(XML_LIBS) $(INTLLIBS) \
	$(VORBISFILE_LIBS) $(VORBIS_LIBS) $(OGG_LIBS) $(AO_LIBS)\
	$(python_ldadd)



gcompris_edit_LDFLAGS = \
	-export-dynamic 

gcompris_edit_SOURCES = \
	gcompris-edit.c gcompris-edit.h \
	support.c support.h \
	interface.c interface.h \
	callbacks.c callbacks.h \
	$(libgcompris_a_SOURCES)

gcompris_edit_LDADD = \
	$(GCOMPRIS_LIBS) \
	$(XML_LIBS) $(INTLLIBS) \
	$(VORBISFILE_LIBS) $(VORBIS_LIBS) $(OGG_LIBS) $(AO_LIBS)