File: rules

package info (click to toggle)
libtoxcore 0.2.12-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,140 kB
  • sloc: ansic: 36,008; cpp: 1,663; sh: 670; python: 205; makefile: 77
file content (25 lines) | stat: -rwxr-xr-x 561 bytes parent folder | download
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
#!/usr/bin/make -f
#export DH_VERBOSE = 1


export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND =


%:
	dh $@ --buildsystem=cmake

.PHONY: build
build:
	dh build --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- -DTEST_TIMEOUT_SECONDS=120 -DSTRICT_ABI=ON

# iphy@#toktok: some of the tests use 100 ports
# And tox limits the range of ports it tries to 33445-33545 (101 ports)
#override_dh_auto_test:
#	dh_auto_test --no-parallel
# buggy - fail nearly everytime