~ubuntu-branches/ubuntu/quantal/gnutls26/quantal

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-05-20 13:07:18 UTC
  • mfrom: (12.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20110520130718-db41dybbanzfvlji
Tags: 2.10.5-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Fix build failure with --no-add-needed.
  - Build for multiarch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /usr/bin/make -f
2
2
# Build the gnutls package for Debian.
3
3
 
4
 
CFLAGS += -D_REENTRANT
5
 
ifeq ($(DEB_BUILD_ARCH),hppa)
6
 
        CFLAGS += -fno-gcse
7
 
endif
8
 
 
9
4
include /usr/share/cdbs/1/rules/debhelper.mk
10
5
include /usr/share/cdbs/1/class/autotools.mk
11
6
 
12
 
DEB_CONFIGURE_EXTRA_FLAGS = --enable-ld-version-script --disable-cxx \
 
7
DEB_CONFIGURE_EXTRA_FLAGS = --enable-ld-version-script --enable-cxx \
13
8
        --without-lzo --enable-guile \
14
9
        --with-guile-site-dir=/usr/share/guile/site \
15
10
        --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
16
11
        --cache-file=$(CURDIR)/config.cache
17
12
DEB_MAKE_CHECK_TARGET = check
18
 
DEB_DH_STRIP_ARGS = --dbg-package=libgnutls26-dbg
19
 
DEB_DH_MAKESHLIBS_ARGS_libgnutls26 := -V 'libgnutls26 (>=2.7.14-0)'
20
 
DEB_DH_MAKESHLIBS_ARGS_guile-gnutls := -V 'guile-gnutls (>=2.7.14-0)'
 
13
DEB_DH_MAKESHLIBS_ARGS_libgnutls26 := -V 'libgnutls26 (>=2.9.11-0)'
 
14
DEB_DH_MAKESHLIBS_ARGS_guile-gnutls := -V 'guile-gnutls (>=2.9.11-0)'
21
15
DEB_COMPRESS_EXCLUDE := gnutls.pdf
22
16
 
 
17
CFLAGS += -Wall
 
18
CXXFLAGS += -Wall
 
19
 
23
20
# pre-clean rule: save gnutls.pdf since it is expensive to regenerate.
24
21
# See README.source
25
22
cleanbuilddir/gnutls-doc::