#!/usr/bin/make -f #export DH_VERBOSE=1 # Enable hardening build flags export DEB_BUILD_MAINT_OPTIONS=hardening=+all include /usr/share/dpkg/pkg-info.mk DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) CFLAGS += $(CPPFLAGS) CXXFLAGS += $(CPPFLAGS) CITYGML_VERSION=$(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//') %: dh $@ --with pkgkde_symbolshelper override_dh_auto_clean: dh_auto_clean -rm -rf obj-*-* override_dh_auto_configure: dh_auto_configure -- \ -DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) override_dh_install: dh_install --list-missing override_dh_makeshlibs: dh_makeshlibs -- -c0 -v$(CITYGML_VERSION)