Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
8
9 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
10 export LIBDIR=/usr/lib/${DEB_HOST_MULTIARCH}
11 export SHLIBDIR=/usr/lib/${DEB_HOST_MULTIARCH}
12
13 # Upstream recommends using the flag '-fno-semantic-interposition'
14 # Also enable Wall and Wextra to spot basic irregularities.
15 export DEB_CFLAGS_MAINT_APPEND = -fno-semantic-interposition -Wall -Wextra
16
17 %:
18 dh $@
19
20 override_dh_auto_test: