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 \
26
libscale_la_LDFLAGS = $(shared) $(no_undefined) -module -avoid-version $(gc_libs)
28
libscale_la_SOURCES = scale.c
30
xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
36
xml_DATA = $(xml_in_files:.xml.in=.xml)
38
# Do not use the INTLTOOL_XML_RULE, we don't need to embed the translations
39
# in the file themselves. GCompris pick the translations from the po file at
42
$(xml_DATA): %.xml: %.xml.in
43
sed -e "s/\(<\{1\}\/*\)_/\1/g" $< > $@
45
# Use this directive and instead of the one above to embed the translations
46
# in the xml files directly, this is needed for the tool gcompris2spip
50
icondir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
51
icon_DATA = scalesicon.svg
53
EXTRA_DIST = $(icon_DATA) ${xml_in_files} init_path.sh
54
CLEANFILES = $(xml_DATA)