#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all future=+lfs export DEB_CPPFLAGS_MAINT_APPEND = -DUNIX -DCASEINSENSE export DEB_CFLAGS_MAINT_APPEND = -Wall include /usr/share/dpkg/default.mk ifeq ($(DEB_HOST_ARCH_ENDIAN),little) DEB_CPPFLAGS_MAINT_APPEND += -DLO_HI_BYTE_ORDER else ifeq ($(DEB_HOST_ARCH_ENDIAN),big) DEB_CPPFLAGS_MAINT_APPEND += -DHI_LO_BYTE_ORDER else $(error "unknown endian") endif %: dh $@ --buildsystem=makefile override_dh_auto_clean: dh_auto_clean -- -f unix/makefile override_dh_auto_build: dh_auto_build -- -f unix/makefile override_dh_installchangelogs: dh_installchangelogs changes.log