#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS  = hardening=+all

include /usr/share/debhelper/dh_package_notes/package-notes.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-openssl --with-gnutls --without-cuse --without-selinux \
		$(if $(filter nocheck,$(DEB_BUILD_PROFILES)),--disable-tests,--enable-tests)

override_dh_auto_test:
	SWTPM_TEST_SECCOMP_OPT="--seccomp action=none" make -j4 check VERBOSE=1

override_dh_makeshlibs:
	dh_makeshlibs --no-scripts
