Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 #export DH_VERBOSE = 1
3
4 # See FEATURE AREAS in dpkg-buildflags(1).
5 export DEB_BUILD_MAINT_OPTIONSscip-debian debian poselib 2.0.5-2 poselib/rules/DEB_BUILD_MAINT_OPTIONS. = hardening=+all
6
7 # See ENVIRONMENT in dpkg-buildflags(1).
8 # Package maintainers to append CFLAGS.
9 export DEB_CFLAGS_MAINT_APPENDscip-debian debian poselib 2.0.5-2 poselib/rules/DEB_CFLAGS_MAINT_APPEND. = -Wall -pedantic
10 # Package maintainers to append LDFLAGS.
11 export DEB_LDFLAGS_MAINT_APPENDscip-debian debian poselib 2.0.5-2 poselib/rules/DEB_LDFLAGS_MAINT_APPEND. = -Wl,--as-needed
12
13 # workaround g++ running out of address space
14 ifeq ($(DEB_HOST_ARCH_BITSscip-debian debian poselib 2.0.5-2 poselib/rules/DEB_HOST_ARCH_BITS.), 32)
15 export DEB_CXXFLAGS_MAINT_APPEND = -g1
16 endif
17
18 # build time reduction
19 ifneq (,$(filterscip-debian debian poselib 2.0.5-2 poselib/rules/filter. $(DEB_HOST_ARCHscip-debian debian poselib 2.0.5-2 poselib/rules/DEB_HOST_ARCH.), riscv64))
20 export DEB_CXXFLAGS_MAINT_APPEND += -g1
21 endif
22
23 %scip-debian debian poselib 2.0.5-2 poselib/rules/`%`().:
24 dh $@ --buildsystem=cmake
25
26 override_dh_auto_configurescip-debian debian poselib 2.0.5-2 poselib/rules/override_dh_auto_configure().:
27 dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). -- \
28 -DBUILD_SHARED_LIBS=ON \
29 -DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE \
30 -DCMAKE_SKIP_RPATH=ON
31 # -DPYTHON_PACKAGE=ON \