File: rules

package info (click to toggle)
sip-tester 1%3A3.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,540 kB
  • sloc: cpp: 20,297; ansic: 2,283; python: 2,218; xml: 1,790; sh: 482; makefile: 12
file content (20 lines) | stat: -rwxr-xr-x 415 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

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

ifeq ($(DEB_HOST_ARCH_OS),linux)
	SIPP_CONFIG += -DUSE_SCTP=1
endif

%:
	dh $@

override_dh_auto_configure:
	cp version.h include/
	dh_auto_configure -- -DUSE_PCAP=1 -DUSE_GSL=1 $(SIPP_CONFIG)

override_dh_auto_test: