| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
include /usr/share/dpkg/architecture.mk |
| 7 |
|
| 8 |
CONFIGURE_FLAGS:= --disable-werror --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH) |
| 9 |
|
| 10 |
|
| 11 |
MDDS_VER:=3.0 |
| 12 |
CONFIGURE_FLAGS += --with-mdds=$(MDDS_VER) |
| 13 |
|
| 14 |
ifneq (noopt,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
| 15 |
ifneq (,$(findstring arm,$(DEB_HOST_ARCH))) |
| 16 |
DEB_BUILD_OPTIONS += noopt |
| 17 |
endif |
| 18 |
ifneq (,$(findstring i386,$(DEB_HOST_ARCH))) |
| 19 |
DEB_BUILD_OPTIONS += noopt |
| 20 |
endif |
| 21 |
endif |
| 22 |
export DEB_BUILD_OPTIONS |
| 23 |
|
| 24 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 25 |
|
| 26 |
%: |
| 27 |
dh $@ |
| 28 |
|
| 29 |
override_dh_auto_configure: |
| 30 |
dh_auto_configure -- --without-docs $(CONFIGURE_FLAGS) |