File: rules

package info (click to toggle)
sip-tester 1%3A3.7.3-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,516 kB
  • sloc: cpp: 29,203; xml: 13,385; ansic: 2,369; python: 2,218; sh: 496; makefile: 13
file content (21 lines) | stat: -rwxr-xr-x 450 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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:
	dh_auto_configure -- -DUSE_SSL=1 -DUSE_PCAP=1 -DUSE_GSL=1 $(SIPP_CONFIG)

override_dh_auto_clean:
	rm -rf include/version.cmake
	dh_auto_clean