5
no_undefined = -no-undefined
6
gc_libs = $(GCOMPRIS_LIBS)
7
dll_export = -DBOARD_DLL_EXPORT
19
INCLUDES = -I$(top_srcdir)/src \
20
-I$(top_srcdir)/intl \
21
-I$(top_srcdir)/src/goocanvas/src \
27
libchess_la_LDFLAGS = $(shared) $(no_undefined) -module -avoid-version $(gc_libs)
29
libchess_la_SOURCES = chess.c \
37
xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
43
xml_DATA = $(xml_in_files:.xml.in=.xml)
45
# Do not use the INTLTOOL_XML_RULE, we don't need to embed the translations
46
# in the file themselves. GCompris pick the translations from the po file at
49
$(xml_DATA): %.xml: %.xml.in
50
sed -e "s/\(<\{1\}\/*\)_/\1/g" $< > $@
52
# Use this directive and instead of the one above to embed the translations
53
# in the xml files directly, this is needed for the tool gcompris2spip
57
icondir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
58
icon_DATA = chess_computer.svg
60
EXTRA_DIST = $(icon_DATA) ${xml_in_files} init_path.sh
61
CLEANFILES = $(xml_DATA)