#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS=hardening=+all export BUILD_DIR=debian/build %: dh $@ --builddirectory=$(BUILD_DIR) override_dh_auto_configure: # -fPIC is needed, because we want to be able to link this library into # a shared object dh_auto_configure --builddirectory=$(BUILD_DIR) -- \ -DBUILD_SHARED_LIBS=ON \ -DNAMESPACE=martchus override_dh_auto_test: $(MAKE) -C $(BUILD_DIR) check