#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed ifeq ($(DEB_HOST_ARCH_CPU),i386) export DEB_CXXFLAGS_MAINT_APPEND = -msse -msse2 -mfpmath=sse endif ifeq ($(DEB_HOST_ARCH_OS),hurd) THREADS=OFF else THREADS=ON endif %: dh $@ --buildsystem=cmake override_dh_auto_configure: dh_auto_configure -- -DCMAKE_SKIP_INSTALL_RPATH=ON -DUSE_FFTW3=ON -DUSE_HDF5=OFF \ -DUSE_THREADS=$(THREADS) -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) \ -DDATA_DIR=/var/lib/casacore/data -DBUILD_PYTHON3=ON -DBUILD_TESTING=True override_dh_auto_build-indep: doxygen doxygen.cfg rm -f doc/html/jquery.js override_dh_auto_test-indep override_dh_auto_install-indep: override_dh_auto_test-arch: HOME=$(CURDIR) dh_auto_test --max-parallel=1 -a override_dh_clean: dh_clean rm -rf doc