| 1 |
|
| 2 |
|
| 3 |
include /usr/share/dpkg/default.mk |
| 4 |
include /usr/share/rustc/architecture.mk |
| 5 |
export CFLAGSscip-debian debian loupe 50.0-3 loupe/rules/CFLAGS. CXXFLAGS CPPFLAGS LDFLAGS |
| 6 |
export DEB_HOST_RUST_TYPEscip-debian debian loupe 50.0-3 loupe/rules/DEB_HOST_RUST_TYPE. |
| 7 |
export DEB_HOST_GNU_TYPEscip-debian debian loupe 50.0-3 loupe/rules/DEB_HOST_GNU_TYPE. |
| 8 |
export PATHscip-debian debian loupe 50.0-3 loupe/rules/PATH. := /usr/share/cargo/bin:$(PATHscip-debian debian loupe 50.0-3 loupe/rules/PATH.) |
| 9 |
export CARGOscip-debian debian loupe 50.0-3 loupe/rules/CARGO.=/usr/share/cargo/bin/cargo |
| 10 |
export CARGO_HOMEscip-debian debian loupe 50.0-3 loupe/rules/CARGO_HOME.=$(CURDIRscip-debian debian loupe 50.0-3 loupe/rules/CURDIR.)/debian/cargo_home |
| 11 |
export DEB_CARGO_CRATEscip-debian debian loupe 50.0-3 loupe/rules/DEB_CARGO_CRATE.=$(DEB_SOURCEscip-debian debian loupe 50.0-3 loupe/rules/DEB_SOURCE.)_$(DEB_VERSION_UPSTREAMscip-debian debian loupe 50.0-3 loupe/rules/DEB_VERSION_UPSTREAM.) |
| 12 |
export DEB_BUILD_MAINT_OPTIONSscip-debian debian loupe 50.0-3 loupe/rules/DEB_BUILD_MAINT_OPTIONS.=hardening=+bindnow |
| 13 |
|
| 14 |
%scip-debian debian loupe 50.0-3 loupe/rules/`%`().: |
| 15 |
dh $@ |
| 16 |
|
| 17 |
|
| 18 |
execute_before_dh_auto_configurescip-debian debian loupe 50.0-3 loupe/rules/execute_before_dh_auto_configure().: |
| 19 |
ifeq ($(DEB_HOST_ARCH_BITSscip-debian debian loupe 50.0-3 loupe/rules/DEB_HOST_ARCH_BITS.),32) |
| 20 |
export DEB_BUILD_OPTIONS += optimize=-lto |
| 21 |
endif |
| 22 |
|
| 23 |
|
| 24 |
override_dh_auto_configurescip-debian debian loupe 50.0-3 loupe/rules/override_dh_auto_configure().: |
| 25 |
$(CARGOscip-debian debian loupe 50.0-3 loupe/rules/CARGO.) prepare-debian debian/cargo_registry --link-from-system |
| 26 |
rm -f Cargo.lock |
| 27 |
dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). -- \ |
| 28 |
-Dhost_arch="$(DEB_HOST_RUST_TYPEscip-debian debian loupe 50.0-3 loupe/rules/DEB_HOST_RUST_TYPE.)" \ |
| 29 |
-Dx11=enabled |
| 30 |
|
| 31 |
|
| 32 |
override_dh_auto_testscip-debian debian loupe 50.0-3 loupe/rules/override_dh_auto_test().: |
| 33 |
dh_auto_testscip-debian debian debhelper . dh_auto_test(). -- --timeout-multiplier 5 |
| 34 |
|
| 35 |
override_dh_auto_installscip-debian debian loupe 50.0-3 loupe/rules/override_dh_auto_install().: |
| 36 |
$(if $(findstring armhf,$(DEB_HOST_ARCH)), DEB_BUILD_OPTIONS="parallel=4 $(filter-out parallel=%,$(DEB_BUILD_OPTIONS))") dh_auto_installscip-debian debian debhelper . dh_auto_install(). |
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
execute_after_dh_auto_installscip-debian debian loupe 50.0-3 loupe/rules/execute_after_dh_auto_install().: |
| 42 |
mkdir -p $(CURDIRscip-debian debian loupe 50.0-3 loupe/rules/CURDIR.)/target/$(DEB_HOST_RUST_TYPEscip-debian debian loupe 50.0-3 loupe/rules/DEB_HOST_RUST_TYPE.)/ |
| 43 |
ln -s $(CURDIRscip-debian debian loupe 50.0-3 loupe/rules/CURDIR.)/obj-$(DEB_HOST_GNU_TYPEscip-debian debian loupe 50.0-3 loupe/rules/DEB_HOST_GNU_TYPE.)/src/$(DEB_HOST_RUST_TYPEscip-debian debian loupe 50.0-3 loupe/rules/DEB_HOST_RUST_TYPE.)/release target/$(DEB_HOST_RUST_TYPEscip-debian debian loupe 50.0-3 loupe/rules/DEB_HOST_RUST_TYPE.)/ |
| 44 |
/usr/share/cargo/bin/dh-cargo-built-using loupe |
| 45 |
|
| 46 |
execute_after_dh_auto_cleanscip-debian debian loupe 50.0-3 loupe/rules/execute_after_dh_auto_clean().: |
| 47 |
rm -rf debian/cargo_registry |
| 48 |
|
| 49 |
override_dh_gnome_cleanscip-debian debian loupe 50.0-3 loupe/rules/override_dh_gnome_clean().: |