#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CFLAGS_MAINT_APPEND = -DTINYALSA_USES_PLUGINS

%:
	dh $@ --buildsystem=meson

# Fail at configure time if gtest (or a C++ compiler) is missing, instead of
# silently dropping tinyalsa_test, the only file in tinyalsa-tests.
override_dh_auto_configure:
	dh_auto_configure -- -Dtests=enabled
