File: rules

package info (click to toggle)
linux-igd 1.0%2Bcvs20070630-5
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 888 kB
  • ctags: 618
  • sloc: ansic: 2,066; xml: 593; sh: 136; makefile: 50
file content (21 lines) | stat: -rwxr-xr-x 654 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

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -DDEBUG

CPPFLAGS_DEF += `dpkg-buildflags --get CPPFLAGS`
CFLAGS_DEF += `dpkg-buildflags --get CFLAGS`
LDFLAGS_DEF += `dpkg-buildflags --get LDFLAGS`

%:
	dh $@

override_dh_auto_build:
	## iptc was removed as a public interface in iptables 1.4.0.  We will need
	## to re-work it all for netfilter+xtables and, in due course, for IPV6.
	# dh_auto_build -- HAVE_LIBIPTC=1 HAVE_XTABLES=1 HAVE_IPTABLES_143=1
	dh_auto_build -- CFLAGS="$(CPPFLAGS_DEF) $(CFLAGS_DEF)" LDFLAGS="$(LDFLAGS_DEF)"