#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DlibADLMIDI_SHARED=ON \
		-DUSE_ESFMU_EMULATOR=OFF \
		-DUSE_JAVA_EMULATOR=OFF \
		-DUSE_MAME_EMULATOR=OFF \
		-DUSE_OPAL_EMULATOR=OFF

execute_after_dh_auto_install:
	find debian/tmp -name 'LICENSE.*' -delete
