#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1

# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

# main packaging script based on dh7 syntax
%:
	dh $@ --parallel

override_dh_auto_configure:
	dh_auto_configure -- \
		-DUSE_SYMBOL_VERSIONING=1 \
		-DCHECK_SYMBOL_VERSIONING=1

override_dh_auto_test:
	# The unit tests require PdCom development files, which are not
	# packaged for Debian in this project (only for RPM as
	# libpdcom1-devel); skip them here and rely on the RPM build's
	# %check to exercise the test suite.
