Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 ifeq (,$(filter terse,${DEB_BUILD_OPTIONS}))
4 export DH_VERBOSE=1
5 export V=1
6 export VERBOSE=1
7 endif
8
9 LC_ALL:=C
10 export LC_ALL
11 TZ:=UTC
12 export TZ
13
14 shellescape='$(subst ','\'',$(1))'
15 shellexport=$(1)=$(call shellescape,${$(1)})
16
17 include /usr/share/dpkg/architecture.mk
18 include /usr/share/dpkg/buildtools.mk
19
20 OUR_CXXFLAGS:= -Wno-deprecated-declarations
21
22 ifneq (,$(filter debug,${DEB_BUILD_OPTIONS}))
23 OUR_CXXFLAGS+= -Og -g3
24 endif
25
26 dpkgbuildflagsmkescape=$(subst \,\\\,$(1))
27 export DEB_BUILD_MAINT_OPTIONS := hardening=+all optimize=-lto
28 export DEB_CXXFLAGS_MAINT_APPEND:=$(call dpkgbuildflagsmkescape,${OUR_CXXFLAGS})
29 include /usr/share/dpkg/default.mk
30
31 %:
32 dh $@ --buildsystem=cmake
33
34 override_dh_auto_configure:
35 dh_auto_configure --buildsystem=cmake -- \
36 -DCMAKE_POLICY_VERSION_MINIMUM=3.5