~ubuntu-branches/ubuntu/quantal/icu/quantal

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2006-02-16 04:04:59 UTC
  • Revision ID: package-import@ubuntu.com-20060216040459-cjzynr93u2uqd9ws
Tags: 3.4-4build1
RebuildĀ usingĀ g++-4.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
# variables' names with l_.
6
6
 
7
7
l_PWD := $(shell pwd)
8
 
l_STAMPS = debian/l_stamps
9
 
l_RUN_CHECK = 0
 
8
l_STAMPS := debian/l_stamps
 
9
l_RUN_CHECK := 0
10
10
 
11
11
# Variables used by cdbs
12
12
 
14
14
             awk '/Version:/ {print $$2}' | cut -d- -f 1)
15
15
 
16
16
DEB_TAR_SRCDIR = icu/source
17
 
DEB_CONFIGURE_USER_FLAGS = --disable-samples
 
17
DEB_CONFIGURE_USER_FLAGS = --disable-samples --enable-static
18
18
DEB_COMPRESS_EXCLUDE = html examples
19
19
DEB_INSTALL_EXAMPLES_libicu34-dev = \
20
20
        build-tree/$(DEB_TAR_SRCDIR)/samples/*
29
29
 
30
30
DEB_MAKE_INSTALL_TARGET += install-doc
31
31
 
32
 
# TEMPORARY -- icu 3.4 fails its test suite with gcc 4.0 but passes
33
 
# with gcc 3.4.  Future versions should work with gcc 4.0.  When
34
 
# removing this, also remove build dependency on gcc 3.4.
35
 
export CC = gcc-3.4
36
 
export CXX = g++-3.4
 
32
# TEMPORARY -- icu 3.4 fails its test suite with gcc 4.0 without
 
33
# -fno-strict-aliasing.
 
34
CFLAGS += -fno-strict-aliasing
 
35
CXXFLAGS += -fno-strict-aliasing
37
36
 
38
37
cleanbuilddir::
39
38
        $(RM) -r $(l_STAMPS)
45
44
 
46
45
# Running the test suite here, even ignoring failure, may still create
47
46
# build problems if the test suite hangs, which it did on at least one
48
 
# occasion.
 
47
# occasion.  I (qjb) have manually run the test suite on i386, ia64,
 
48
# and powerpc to ensure that we have a passing test suite on at least
 
49
# one little-endian, one big-endian, and one 64-bit system.
49
50
ifeq ($(l_RUN_CHECK), 1)
50
51
# Run the test suite so we can check its output in the buildd logs,
51
52
# but don't let a test suite failure cause overall failure.