~ubuntu-branches/debian/sid/rkward/sid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Thomas Friedrichsmeier
  • Date: 2012-11-24 14:15:00 UTC
  • Revision ID: package-import@ubuntu.com-20121124141500-vxk57yxs81zen6ky
Tags: 0.6.0-2
* make sure to include CPPFLAGS and LDFLAGS in call to cmake
* correct path to qwinhost files in debian/copyright
* correct syntax in debian/copyright (thanks to Laszlo Kajan)

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
DPKG_EXPORT_BUILDFLAGS = 1
11
11
-include /usr/share/dpkg/buildflags.mk
12
12
 
 
13
CFLAGS += -Wall
 
14
 
 
15
# Workaround for cmake not handling CPPFLAGS (https://wiki.debian.org/HardeningWalkthrough):
 
16
CFLAGS += $(CPPFLAGS)
 
17
CXXFLAGS += $(CPPFLAGS)
 
18
 
13
19
# These are used for cross-compiling and for saving the configure script
14
20
# from having to guess our platform (since we know it already)
15
21
DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
20
26
RMAJOR = $(shell echo $(RVERS) | awk -F. '{print $$1}')
21
27
RMINOR = $(shell echo $(RVERS) | awk -F. '{print $$2}')
22
28
 
23
 
CFLAGS = -Wall -g
24
 
 
25
29
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
26
30
        CFLAGS += -O0
27
31
else
51
55
                -DKDE4_USE_ALWAYS_FULL_RPATH=false \
52
56
                -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \
53
57
                -DCMAKE_C_FLAGS="$(CFLAGS)" \
 
58
                -DCMAKE_EXE_LINKER_FLAGS="$(LDFLAGS)" \
 
59
                -DCMAKE_MODULE_LINKER_FLAGS="$(LDFLAGS)" \
 
60
                -DCMAKE_SHARED_LINKER_FLAGS="$(LDFLAGS)" \
54
61
                -DCMAKE_VERBOSE_MAKEFILE=ON \
55
62
                -DKDE4_DISABLE_MULTIMEDIA=ON \
56
63
                -DR_EXECUTABLE=/usr/bin/R/ \