#!/usr/bin/make -f include /usr/share/dpkg/default.mk export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1 -Wl,--warn-unresolved-symbols export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions export GSD_MAJOR_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d~ -f1 | cut -d. -f1) export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,) %: dh $@ ifneq ($(DEB_HOST_ARCH_OS),linux) CONFFLAGS = \ -Drfkill=false \ -Dnetwork_manager=false \ -Dalsa=false \ -Dcolord=false \ -Dgudev=false \ -Dsmartcard=false \ -Dsystemd=false \ -Dwwan=false \ -Dxwayland=false endif ifneq ($(filter amd64 i386,$(DEB_HOST_ARCH_CPU)),) test_timeout_multiplier = 2 else test_timeout_multiplier = 10 endif override_dh_auto_configure: dh_auto_configure -- \ --libdir=/usr/lib \ $(CONFFLAGS) override_dh_auto_test: dh_auto_test -- --timeout-multiplier $(test_timeout_multiplier) override_dh_installchangelogs: dh_installchangelogs -XChangeLog