File: rules

package info (click to toggle)
libsignal-protocol-c 2.3.1%2Bgit20171007-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,256 kB
  • sloc: ansic: 30,611; makefile: 10
file content (13 lines) | stat: -rwxr-xr-x 311 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
	dh $@ --buildsystem=cmake

override_dh_auto_build:
	( cd protobuf ; $(MAKE) )
	dh_auto_build

override_dh_auto_configure:
	dh_auto_configure -- -DBUILD_SHARED_LIBS=ON -DLIB_INSTALL_DIR=/usr/lib/${DEB_HOST_MULTIARCH}