File: rules

package info (click to toggle)
paho.mqtt.c 1.3.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,780 kB
  • sloc: ansic: 45,981; python: 3,143; javascript: 2,919; makefile: 300; xml: 281; sh: 99
file content (23 lines) | stat: -rwxr-xr-x 582 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
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@  --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- \
		-DPAHO_BUILD_SHARED=TRUE \
		-DPAHO_BUILD_STATIC=TRUE \
		-DPAHO_WITH_SSL=TRUE \
		-DPAHO_WITH_UNIX_SOCKETS=TRUE \
		-DPAHO_BUILD_SAMPLES=TRUE \
		-DPAHO_ENABLE_TESTING=FALSE \
		-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON

override_dh_auto_install:
	dh_auto_install