File: rules

package info (click to toggle)
c-ares 1.34.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,732 kB
  • sloc: ansic: 31,201; cpp: 13,236; sh: 4,454; makefile: 124
file content (19 lines) | stat: -rwxr-xr-x 521 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=+all
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
export GTEST_FILTER = -*Live*:*.FamilyV4ServiceName/*:LibraryTest.GetTCPSock

%:
	dh $@ --buildsystem=cmake+ninja

# useless for CMake (see #844504)
override_dh_autoreconf:

override_dh_auto_configure:
	dh_auto_configure -- \
	-DCARES_BUILD_TOOLS=OFF \
	-DCARES_SHARED=ON \
	-DCARES_STATIC=ON \
	-DCARES_SYMBOL_HIDING=ON \
	-DCARES_BUILD_TESTS=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),OFF,ON)