File: rules

package info (click to toggle)
paho.mqtt.c 1.3.14-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 8,192 kB
  • sloc: ansic: 45,908; python: 3,143; javascript: 3,010; makefile: 294; xml: 281; sh: 99
file content (17 lines) | stat: -rwxr-xr-x 502 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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_WITH_SSL=TRUE -DPAHO_ENABLE_TESTING=FALSE \
	-DPAHO_BUILD_STATIC=TRUE -DPAHO_BUILD_SAMPLES=TRUE -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON

override_dh_auto_install:
	dh_auto_install