1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
ifeq ($(filter $(ARCH),amd64 i386),$(ARCH))
DEB_CFLAGS_MAINT_APPEND += -fcf-protection
endif
%:
dh $@
override_dh_auto_configure:
xmkmf -a
override_dh_auto_build:
$(MAKE) CDEBUGFLAGS="$(CFLAGS)" LDOPTIONS="$(LDFLAGS)"
override_dh_install:
dh_install
rm -rf $(CURDIR)/debian/xmountains/usr/bin
|