#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
export DEB_BUILD_HARDENING=1
export LDFLAGS="-Wl,--as-needed -Wl,-z,defs"
export DPKG_EXPORT_BUILDFLAGS = 1

include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --with quilt

override_dh_auto_clean:
	dh_auto_clean
	[ ! -f makefile.linux ] || $(MAKE) -f makefile.linux clean

override_dh_auto_build:
	$(MAKE) -f makefile.linux

