#!/usr/bin/make -f DPKG_EXPORT_BUILDFLAGS := 1 DEB_BUILD_MAINT_OPTIONS := hardening=+all DEB_LDFLAGS_MAINT_APPEND := -Wl,--no-undefined \ -Wl,--no-copy-dt-needed-entries -Wl,--no-allow-shlib-undefined include /usr/share/dpkg/buildflags.mk include /usr/share/ada/packaging.mk export STYLE_CHECK := off export SONAME := libxmlezout.so.$(xmlezout_SO_VERSION) %: dh $@ .PHONY: override_dh_auto_build override_dh_auto_build: gprbuild -Pxmlezout.gpr -XLIBRARY_TYPE=static $(GPRBUILDFLAGS) gprbuild -Pxmlezout.gpr -XLIBRARY_TYPE=relocatable $(GPRBUILDFLAGS) .PHONY: override_dh_auto_install override_dh_auto_install: gprinstall -Pxmlezout.gpr -XLIBRARY_TYPE=static $(static_GPRINSTALLFLAGS) gprinstall -Pxmlezout.gpr -XLIBRARY_TYPE=relocatable \ $(call shared_GPRINSTALLFLAGS,xmlezout)