#!/usr/bin/make -f # -*- makefile -*- export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed # for definition of DEB_VERSION include /usr/share/dpkg/pkg-info.mk # extract the architecture for setting the library path suffix DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --buildsystem=cmake override_dh_auto_configure: dh_auto_configure -- \ -DENABLE_SIMD_FLAGS=none \ -DBUILD_SHARED_LIBS=ON \ -DCMAKE_AUTOSET_INSTALL_RPATH=FALSE \ -DUDEV_RULES_PATH=/lib/udev/rules.d \ -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" \ -DOVERRIDE_LIME_SUITE_VERSION="$(DEB_VERSION)" override_dh_installdocs: dh_installdocs -p soapysdr-module-lms7 \ --link-doc=soapysdr0.6-module-lms7 dh_installdocs --remaining-packages