#!/usr/bin/make -f
# makefile for libmad

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/dpkg/default.mk

ifneq (,$(findstring $(DEB_HOST_ARCH),armel armhf))
DEB_CONFIGURE_EXTRA_FLAGS += -DASO=OFF
endif

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_POLICY_VERSION_MINIMUM=3.5 $(DEB_CONFIGURE_EXTRA_FLAGS)
