~ubuntu-branches/ubuntu/maverick/gcompris/maverick

« back to all changes in this revision

Viewing changes to src/hanoi_real-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
        libhanoi_real.la
 
17
 
 
18
libdir = $(plugindir)
 
19
INCLUDES =      -I$(top_srcdir)/src \
 
20
        -I$(top_srcdir)/intl \
 
21
        -I$(top_srcdir)/src/goocanvas/src \
 
22
        $(GCOMPRIS_CFLAGS) \
 
23
        $(XML_CFLAGS) \
 
24
        $(dll_export)
 
25
 
 
26
 
 
27
 
 
28
libhanoi_real_la_LDFLAGS = $(shared) $(no_undefined) -module -avoid-version $(gc_libs)
 
29
libhanoi_real_la_LIBADD =
 
30
libhanoi_real_la_SOURCES = hanoi_real.c
 
31
 
 
32
xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
 
33
 
 
34
xml_in_files = \
 
35
        hanoi_real.xml.in
 
36
 
 
37
 
 
38
xml_DATA = $(xml_in_files:.xml.in=.xml)
 
39
 
 
40
# Do not use the INTLTOOL_XML_RULE, we don't need to embed the translations
 
41
# in the file themselves. GCompris pick the translations from the po file at
 
42
# runtime.
 
43
#
 
44
$(xml_DATA): %.xml: %.xml.in
 
45
        sed -e "s/\(<\{1\}\/*\)_/\1/g" $< > $@
 
46
 
 
47
# Use this directive and instead of the one above to embed the translations
 
48
# in the xml files directly, this is needed for the tool gcompris2spip
 
49
#@INTLTOOL_XML_RULE@
 
50
 
 
51
 
 
52
icondir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
 
53
icon_DATA = hanoi_real.svg
 
54
 
 
55
EXTRA_DIST = $(icon_DATA) ${xml_in_files} init_path.sh
 
56
CLEANFILES = $(xml_DATA)