24 lines
558 B
Makefile
Executable file
24 lines
558 B
Makefile
Executable file
#!/usr/bin/make -f
|
|
# -*- makefile -*-
|
|
# Uncomment this to turn on verbose mode.
|
|
# export DH_VERBOSE=1
|
|
|
|
# Hardening
|
|
DPKG_EXPORT_BUILDFLAGS = 1
|
|
include /usr/share/dpkg/default.mk
|
|
|
|
# needed for CMake that ignores CPPFLAGS
|
|
CFLAGS+=$(CPPFLAGS)
|
|
CXXFLAGS+=$(CPPFLAGS)
|
|
|
|
# be strict when comparing symbols in libnetconf2-1
|
|
export DPKG_GENSYMBOLS_CHECK_LEVEL=4
|
|
|
|
%:
|
|
dh $@ --buildsystem=cmake
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- -DENABLE_SSH=ON -DENABLE_TLS=ON -DENABLE_DNSSEC=OFF -DENABLE_PYTHON=OFF
|
|
|
|
override_dh_auto_build-indep:
|
|
dh_auto_build -- doc
|