#!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) export CFLAGS := $(shell dpkg-buildflags --get CFLAGS) export CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed export AUTOHEADER = true %: dh $@ --with autoreconf --parallel override_dh_auto_clean: rm -rf lib/.libs dh_auto_clean dh_auto_clean --buildsystem=cmake override_dh_auto_configure: CONFIG_SHELL=/bin/bash dh_auto_configure -- \ --enable-shared \ --enable-deriv \ --enable-r12 \ --enable-debug=opt \ --with-libint-max-am=5 \ --with-libderiv-max-am1=4 \ --with-libderiv-max-am2=3 \ --prefix=/usr \ --with-cc-optflags="$(CFLAGS) $(CPPFLAGS)" \ --with-cxx-optflags="$(CXXFLAGS) $(CPPFLAGS)" \ --with-libdirs="$(LDFLAGS)" dh_auto_configure --buildsystem=cmake -- \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_LIBDIR=lib \ -DMAX_AM_ERI=4 override_dh_auto_build: $(MAKE) -C doc dh_auto_build dh_auto_build --buildsystem=cmake override_dh_auto_install: dh_auto_install dh_auto_install --buildsystem=cmake override_dh_install: dh_install --list-missing override_dh_installchangelogs: dh_installchangelogs CHANGES