File: rules

package info (click to toggle)
restbed 4.0~dfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 1,388 kB
  • sloc: cpp: 15,273; sh: 37; makefile: 14
file content (21 lines) | stat: -rwxr-xr-x 404 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
# -*- makefile -*-

# Hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
	    -DBUILD_TESTS=OFF \
	    -DBUILD_EXAMPLES=OFF \
	    -DBUILD_SSL=ON \
	    -DBUILD_SHARED=ON \
	    -DCMAKE_BUILD_TYPE=Release

override_dh_auto_install:
	dh_auto_install