#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS := hardening=+all,-fortify
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export PREFIX = /usr
export LIBDIR = $(PREFIX)/lib/$(DEB_HOST_MULTIARCH)

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- package
	dh_auto_build -- library
