rules 513 Bytes
Newer Older
1
2
3
4
#!/usr/bin/make -f

export V=1

5
6
7
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
LIB_DIR := /usr/lib/$(DEB_HOST_MULTIARCH)

8
9
10
_dhopts := --with autoreconf

_shlibdeps := \
11
  -a -X$(LIB_DIR) \
12
13
14
  -l$(CURDIR)/debian/build/extensions/.libs

_configure := \
15
  --disable-libipq \
16
  --enable-devel \
17
18
19
  --libdir=$(LIB_DIR) \
  --with-xtlibdir=$(LIB_DIR)/xtables

20
21
22
23
24
25
26
27
28

%:
	dh $@ $(_dhopts)

override_dh_shlibdeps:
	dh_shlibdeps $(_shlibdeps)

override_dh_auto_configure:
	dh_auto_configure -- $(_configure)