#!/usr/bin/make -f
#export DH_VERBOSE = 1


export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND =


%:
	dh $@ --buildsystem=cmake

.PHONY: build
build:
	dh build --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- -DTEST_TIMEOUT_SECONDS=120 -DSTRICT_ABI=ON

# iphy@#toktok: some of the tests use 100 ports
# And tox limits the range of ports it tries to 33445-33545 (101 ports)
#override_dh_auto_test:
#	dh_auto_test --no-parallel
# buggy - fail nearly everytime
