File: rules

package info (click to toggle)
bmf 0.9.4-10
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 388 kB
  • sloc: ansic: 5,517; sh: 322; makefile: 132
file content (21 lines) | stat: -rwxr-xr-x 420 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

PACKAGE = bmf

export DEB_BUILD_MAINT_OPTIONS	= hardening=+all

export DEB_CFLAGS_MAINT_APPEND	= \
 -Wall -pedantic -DNDEBUG -D_UNIX -D_LINUX -Wall -DHAVE_LIBDB

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

override_dh_auto_configure:
	./configure --with-package=libdb

override_dh_auto_build:
	$(MAKE) LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS) $(CPPFLAGS)" SYSLIBS=-ldb

%:
	dh $@

# End of file