#!/usr/bin/make -f
# -*- makefile -*-

#export DH_VERBOSE=1
export LDFLAGS=-Wl,-z,defs

override_dh_auto_configure:
	cmake . -DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_C_FLAGS="$(CFLAGS)" \
		-DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \
		-DCMAKE_SKIP_RPATH=ON \
		-DCMAKE_VERBOSE_MAKEFILE=ON

%:
	dh --with quilt $@