#!/usr/bin/make -f export V=1 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) LIB_DIR := /usr/lib/$(DEB_HOST_MULTIARCH) _dhopts := --with autoreconf _shlibdeps := \ -a -X$(LIB_DIR) \ -l$(CURDIR)/debian/build/extensions/.libs _configure := \ --disable-libipq \ --enable-devel \ --libdir=$(LIB_DIR) \ --with-xtlibdir=$(LIB_DIR)/xtables %: dh $@ $(_dhopts) override_dh_shlibdeps: dh_shlibdeps $(_shlibdeps) override_dh_auto_configure: dh_auto_configure -- $(_configure)