#!/usr/bin/make -f

# DH_VERBOSE=1

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

CXXFLAGS += -fvisibility=hidden

%:
	dh  $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure

override_dh_auto_clean:
	dh_auto_clean

override_dh_installdocs:
	dh_installdocs --link-doc=libopencsg1

override_dh_strip:
	dh_strip --dbg-package=libopencsg1-dbg
