#!/usr/bin/make -f

export DEB_CFLAGS_MAINT_APPEND = -fPIC
export DEB_CPPFLAGS_MAINT_APPEND = -DNDEBUG
export DEB_LDFLAGS_MAINT_APPEND = -fPIC

%:
	dh $@ --without autoreconf

override_dh_auto_build:
	make -f debian/libunwind.mk

override_dh_auto_clean:
	make clean -f debian/libunwind.mk
	dh_auto_clean

get-orig-source:
	uscan --download-current-version --force-download --rename
