5 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
10 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
14 export DEB_BUILD_HARDENING=1
15 export DPKG_EXPORT_BUILDFLAGS=1
16 export DEB_BUILD_MAINT_OPTIONS="hardening=+all"
17 CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
18 CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
19 CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
20 LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
21 CFLAGS+=-D_FORTIFY_SOURCE=2
24 configure: configure-stamp
30 build: build-stamp build-arch build-indep
32 build-stamp: configure-stamp
40 rm -f build-stamp configure-stamp
49 DPKG_EXPORT_BUILDFLAGS=1
51 dh_install wdq2wav usr/bin
62 dh_installman wdq2wav.1
79 binary: clean binary-indep binary-arch
80 .PHONY: build clean binary-indep binary-arch binary install configure