File: rules

package info (click to toggle)
bmf 0.9.4-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 408 kB
  • sloc: ansic: 6,206; sh: 322; makefile: 134
file content (21 lines) | stat: -rwxr-xr-x 455 bytes parent folder | download
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

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

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

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