File: rules

package info (click to toggle)
paho.mqtt.cpp 1.5.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,668 kB
  • sloc: cpp: 13,070; ansic: 113; sh: 55; makefile: 22
file content (22 lines) | stat: -rwxr-xr-x 652 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
22
#!/usr/bin/make -f
# You must remove unused comment lines for the released package.
#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@  --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_TARGET_MULTIARCH)" \
		-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
		-DPAHO_BUILD_DEB_PACKAGE=FALSE \
		-DPAHO_BUILD_DOCUMENTATION=TRUE \
		-DPAHO_BUILD_SHARED=TRUE \
		-DPAHO_BUILD_STATIC=TRUE \
		-DPAHO_BUILD_SAMPLES=FALSE \
		-DPAHO_BUILD_TESTS=FALSE \
		-DPAHO_WITH_SSL=TRUE