#! /usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_configure:
ifeq ($(DEB_HOST_ARCH),i386)
	dh_auto_configure -- -Dtests=true -Ddemos=false -Dshaderc=disabled -Dd3d11=disabled -Ddovi=disabled -Dlibdovi=disabled
else
	dh_auto_configure -- -Dtests=true -Ddemos=false -Dshaderc=disabled -Dd3d11=disabled
endif

override_dh_auto_test:
	dh_auto_test -- -t 100
