| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
DPKG_EXPORT_BUILDFLAGS := 1 |
| 7 |
DEB_BUILD_MAINT_OPTIONS := hardening=+all |
| 8 |
DEB_LDFLAGS_MAINT_APPEND := \ |
| 9 |
-Wl,--no-allow-shlib-undefined \ |
| 10 |
-Wl,--no-copy-dt-needed-entries \ |
| 11 |
-Wl,--no-undefined |
| 12 |
include /usr/share/dpkg/buildflags.mk |
| 13 |
include /usr/share/ada/packaging.mk |
| 14 |
|
| 15 |
%: |
| 16 |
dh $@ |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
.PHONY: override_dh_auto_configure |
| 21 |
override_dh_auto_configure: |
| 22 |
dh_auto_configure -- \ |
| 23 |
--with-libversioninfo=$(adasockets_SO_VERSION) \ |
| 24 |
--with-adasrcinstalldir=/$(DEB_ADA_SOURCE_DIR) \ |
| 25 |
--with-aliinstalldir=/$(DEB_ADA_LIB_INFO_DIR) \ |
| 26 |
--with-gprinstalldir=/$(DEB_GNAT_PROJECT_DIR) \ |
| 27 |
$(if $(filter nodoc,$(DEB_BUILD_OPTIONS)),--disable-doc) \ |
| 28 |
CC=gcc-$(DEB_GNAT_VERSION) \ |
| 29 |
GNATMAKE='gnatmake $(GNATMAKEFLAGS)' \ |
| 30 |
LIBS='-lgnarl-$(DEB_GNAT_VERSION) -lgnat-$(DEB_GNAT_VERSION)' |
| 31 |
|
| 32 |
|
| 33 |
override_dh_auto_build-arch \ |
| 34 |
override_dh_auto_test-arch \ |
| 35 |
override_dh_auto_install-arch: override_%-arch: |
| 36 |
$* -- SUBDIR_DOC= SUBDIR_EXAMPLES= |