blob: 5d4c73d3d2acff2b4be7236f8fae7391ec49e5cf [file] [log] [blame]
Holger Hans Peter Freytherd17b1892016-03-18 20:13:23 +01001#!/usr/bin/make -f
2
Max833e97e2017-01-24 15:14:32 +01003export DEB_BUILD_MAINT_OPTIONS = hardening=+all
Holger Hans Peter Freytherd17b1892016-03-18 20:13:23 +01004
5%:
6 dh $@ --with autoreconf
7
8override_dh_shlibdeps:
9 dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
10
Harald Welte96f0f2c2018-04-28 14:18:23 +020011override_dh_auto_configure:
Oliver Smithf1ce0e72024-03-18 11:34:57 +010012 dh_auto_configure -- \
13 --enable-manuals \
14 --with-systemdsystemunitdir=/lib/systemd/system \
Oliver Smith25590be2024-03-18 12:27:21 +010015 --with-bladerf \
Oliver Smithf1ce0e72024-03-18 11:34:57 +010016 --with-ipc \
17 --with-lms \
Oliver Smith25590be2024-03-18 12:27:21 +010018 --with-mstrx \
Oliver Smithf1ce0e72024-03-18 11:34:57 +010019 --with-uhd \
20 --with-usrp1 \
21 $(NULL)
Harald Welte96f0f2c2018-04-28 14:18:23 +020022
Holger Hans Peter Freytherd17b1892016-03-18 20:13:23 +010023override_dh_strip:
24 dh_strip --dbg-package=osmo-trx-dbg
Oliver Smith76a50132019-05-22 14:10:01 +020025
26# Don't create .pdf.gz files (barely saves space and they can't be opened directly by most pdf readers)
27override_dh_compress:
28 dh_compress -X.pdf