File: rules

package info (click to toggle)
libnet 1.1.6+dfsg-3.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,208 kB
  • sloc: ansic: 18,416; sh: 10,754; makefile: 158
file content (16 lines) | stat: -rwxr-xr-x 520 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/class/autotools.mk

#DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-z,defs,--as-needed"

# Don't enable -Werror as the package may FTBFS when a new gcc is introduced
# Use it for testing though
# -Werror
CFLAGS += -Wno-uninitialized -Wno-unused-but-set-variable

DEB_INSTALL_CHANGELOGS_libnet1 := doc/CHANGELOG
DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)