| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
DPKG_EXPORT_BUILDFLAGS := 1 |
| 27 |
DEB_CFLAGS_MAINT_APPEND := -w |
| 28 |
DEB_ADAFLAGS_MAINT_APPEND := -gnatVa -gnatafno |
| 29 |
DEB_LDFLAGS_MAINT_APPEND := \ |
| 30 |
-Wl,--no-allow-shlib-undefined \ |
| 31 |
-Wl,--no-copy-dt-needed-entries \ |
| 32 |
-Wl,--no-undefined |
| 33 |
DEB_BUILD_MAINT_OPTIONS := hardening=+all |
| 34 |
include /usr/share/dpkg/buildflags.mk |
| 35 |
include /usr/share/ada/packaging.mk |
| 36 |
|
| 37 |
export florist_shared_object_version := $(florist_SO_VERSION) |
| 38 |
|
| 39 |
%: |
| 40 |
dh $@ |
| 41 |
|
| 42 |
|
| 43 |
.PHONY: override_dh_autoreconf |
| 44 |
override_dh_autoreconf: |
| 45 |
AUTOHEADER=true dh_autoreconf |
| 46 |
|
| 47 |
.PHONY: $(addprefix override_dh_auto_, configure build test install) |
| 48 |
|
| 49 |
|
| 50 |
override_dh_auto_configure: |
| 51 |
dh_auto_configure -- CC=gcc-$(DEB_GNAT_VERSION) --enable-shared |
| 52 |
|
| 53 |
override_dh_auto_build: |
| 54 |
interfer |
| 55 |
$(MAKE) 'GPRBUILD=gprbuild $(GPRBUILDFLAGS)' |
| 56 |
|
| 57 |
override_dh_auto_install: |
| 58 |
gprinstall florist.gpr -XLIBRARY_TYPE=static $(static_GPRINSTALLFLAGS) |
| 59 |
gprinstall florist.gpr -XLIBRARY_TYPE=relocatable \ |
| 60 |
$(call shared_GPRINSTALLFLAGS,florist) |