#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS=hardening=+all include /usr/share/dpkg/default.mk export CFLAGS += $(shell getconf LFS_CFLAGS) export LDFLAGS += $(shell getconf LFS_LDFLAGS) %: dh $@ override_dh_auto_configure: echo $(CC) $(CFLAGS) $(CPPFLAGS) > conf-cc echo $(CC) $(LDFLAGS) > conf-ld echo /var/lib/qmail > conf-qmail # Do not use upstream build system, install via debhelper. override_dh_auto_install: override_dh_auto_test: execute_after_dh_auto_clean: $(RM) *.o *.a $(RM) auto-str fastforward newaliases newinclude printforward printmaillist setforward setmaillist $(RM) auto-ccld.sh auto_qmail.c compile fastforward.0 find-systype fork.h hassgact.h haswaitp.h load make-compile make-load make-makelib makelib newaliases.0 newinclude.0 printforward.0 printmaillist.0 qmail-newaliases.1 setforward.0 setmaillist.0 systype uint32.h $(RM) conf-cc conf-ld conf-qmail override_dh_installman: cp -f newaliases.1 qmail-newaliases.1 dh_installman