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

« back to all changes in this revision

Viewing changes to src/chess_computer-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
        libchess.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
libchess_la_LDFLAGS = $(shared) $(no_undefined) -module -avoid-version $(gc_libs)
 
28
libchess_la_LIBADD =
 
29
libchess_la_SOURCES = chess.c \
 
30
        chess_makros.h \
 
31
        chess_notation.c \
 
32
        chess_notation.h \
 
33
        chess_position.c \
 
34
        chess_position.h
 
35
 
 
36
 
 
37
xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
 
38
 
 
39
xml_in_files = \
 
40
        chess_computer.xml.in
 
41
 
 
42
 
 
43
xml_DATA = $(xml_in_files:.xml.in=.xml)
 
44
 
 
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
 
47
# runtime.
 
48
#
 
49
$(xml_DATA): %.xml: %.xml.in
 
50
        sed -e "s/\(<\{1\}\/*\)_/\1/g" $< > $@
 
51
 
 
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
 
54
#@INTLTOOL_XML_RULE@
 
55
 
 
56
 
 
57
icondir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
 
58
icon_DATA = chess_computer.svg
 
59
 
 
60
EXTRA_DIST = $(icon_DATA) ${xml_in_files} init_path.sh
 
61
CLEANFILES = $(xml_DATA)