4
4
CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
5
5
LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
6
PPPD_PLUGIN_DIR := $(shell dh_ppp --plugin-dir)
6
7
CFLAGS+=$(HARDENING_CFLAGS)
7
8
LDFLAGS+=$(HARDENING_LDFLAGS)
14
--localstatedir=/var \
15
--includedir=${prefix}/include \
16
--libexecdir=${prefix}/lib/sstp-client \
17
--mandir=${prefix}/share/man \
18
--infodir=${prefix}/share/info \
19
--disable-dependency-tracking \
20
--with-runtime-dir="/var/run/sstpc" \
21
--with-pppd-plugin-dir="/usr/lib/pppd/2.4.6" \
14
--localstatedir=/var \
15
--includedir=${prefix}/include \
16
--libexecdir=${prefix}/lib/sstp-client \
17
--mandir=${prefix}/share/man \
18
--infodir=${prefix}/share/info \
19
--disable-dependency-tracking \
20
--with-runtime-dir="/var/run/sstpc" \
21
--with-pppd-plugin-dir=$(PPPD_PLUGIN_DIR) \
26
dh $@ --with autoreconf,ppp
28
28
override_dh_makeshlibs:
29
dh_makeshlibs -X/usr/lib/pppd/
29
dh_makeshlibs -X$(PPPD_PLUGIN_DIR)
33
33
cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
34
uscan --rename --force-download --watchfile debian/watch --destdir $(CURDIR)
34
uscan --rename --force-download --watchfile debian/watch --destdir $(CURDIR)