File: rules

package info (click to toggle)
sipxtapi 3.3.0~test18%2Bdfsg.1-0.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 55,892 kB
  • sloc: cpp: 435,979; ansic: 14,207; makefile: 2,491; java: 2,264; sh: 1,310; perl: 844; xml: 225; awk: 5
file content (31 lines) | stat: -rwxr-xr-x 701 bytes parent folder | download | duplicates (4)
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
27
28
29
30
31
#!/usr/bin/make -f

DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp

override_dh_auto_configure:
	dh_auto_configure -- \
		--enable-topology-graph \
		--disable-codec-ilbc \
		--disable-codec-g726 \
		--enable-codec-speex \
		--enable-speex-dsp \
		--enable-codec-g722 \
		--enable-codec-opus \
		--enable-codec-gsm

override_dh_auto_build:
	dh_auto_build --parallel

# don't actually run the test cases, they don't run well
# automatically and require network access
override_dh_auto_test:
	true

# force building in the pkgroot or it won't build
%:
	dh $@ --with autoreconf --builddirectory=.