#!/usr/bin/make -f DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) export DEB_BUILD_MAINT_OPTIONS = hardening=+all ifeq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH)) crossopts = else crossopts = --cross-compile --cross-prefix=$(DEB_HOST_GNU_TYPE)- endif %: dh $@ override_dh_auto_configure: ./configure --prefix=/usr \ --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \ --enable-static \ --enable-shared \ --enable-fosmount \ --disable-strip \ --enable-debug \ --enable-doc \ --enable-pic \ $(crossopts) override_dh_strip: dh_strip override_dh_auto_clean: touch config.mak dh_auto_clean