~ml-launchpad/ubuntu/natty/gcompris/fix-for-777349

« back to all changes in this revision

Viewing changes to src/clickgame-activity/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Marc Gariepy, Marc Gariepy, Stephane Graber
  • Date: 2010-01-04 17:42:49 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20100104174249-7bupatd9dtxyhvs4
Tags: 9.0-0ubuntu1
[Marc Gariepy]
* New upstream release (9.0).
* Remove cache.c from POTFILES to avoid FTBFS
* Remove unneeded rm in debian/rules (file no longer exists upstream)

[Stephane Graber]
* Bump Debian standards to 3.8.3
* Add patch system (dpatch)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SUBDIRS = resources
 
2
 
 
3
if PLATFORM_WIN32
 
4
shared = -shared
 
5
no_undefined = -no-undefined
 
6
gc_libs = $(GCOMPRIS_LIBS)
 
7
dll_export = -DBOARD_DLL_EXPORT
 
8
else
 
9
shared =
 
10
no_undefined =
 
11
gc_libs =
 
12
dll_export =
 
13
endif
 
14
 
 
15
lib_LTLIBRARIES = \
 
16
        libclickgame.la
 
17
 
 
18
libdir = $(plugindir)
 
19
INCLUDES = \
 
20
        -I$(top_srcdir)/src \
 
21
        -I$(top_srcdir)/intl \
 
22
        -I$(top_srcdir)/src/goocanvas/src \
 
23
        $(GCOMPRIS_CFLAGS) \
 
24
        $(XML_CFLAGS) \
 
25
        $(dll_export)
 
26
 
 
27
 
 
28
 
 
29
libclickgame_la_LDFLAGS = $(shared) $(no_undefined) -module -avoid-version $(gc_libs)
 
30
libclickgame_la_LIBADD =
 
31
libclickgame_la_SOURCES = clickgame.c
 
32
 
 
33
xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
 
34
 
 
35
xml_in_files = \
 
36
        clickgame.xml.in
 
37
 
 
38
 
 
39
xml_DATA = $(xml_in_files:.xml.in=.xml)
 
40
 
 
41
# Do not use the INTLTOOL_XML_RULE, we don't need to embed the translations
 
42
# in the file themselves. GCompris pick the translations from the po file at
 
43
# runtime.
 
44
#
 
45
$(xml_DATA): %.xml: %.xml.in
 
46
        sed -e "s/\(<\{1\}\/*\)_/\1/g" $< > $@
 
47
 
 
48
# Use this directive and instead of the one above to embed the translations
 
49
# in the xml files directly, this is needed for the tool gcompris2spip
 
50
#@INTLTOOL_XML_RULE@
 
51
 
 
52
 
 
53
icondir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
 
54
icon_DATA = clickgame.svg
 
55
 
 
56
EXTRA_DIST = $(icon_DATA) ${xml_in_files} init_path.sh
 
57
CLEANFILES = $(xml_DATA)