#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DPKG_EXPORT_BUILDFLAGS = 1

include /usr/share/dpkg/default.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure --buildsystem=cmake -- \
		-DPLAYFIELD_TARGET_LINUX=ON \
		-DPLAYFIELD_ENABLE_SHARED=ON \
		-DPLAYFIELD_ENABLE_DIST=ON \
		-DPLAYFIELD_ENABLE_INSTALL=ON \
		-DPLAYFIELD_ENABLE_BIN=ON \
		-DPLAYFIELD_ENABLE_I18N=ON \
		-DPLAYFIELD_ENABLE_I18N_LIBINTL=ON \
		-DPLAYFIELD_ENABLE_AOTC=ON \
		-DPLAYFIELD_ENABLE_BCC=ON \
		-DPLAYFIELD_ENABLE_PACK=ON
