File: rules

package info (click to toggle)
bmf 0.9.4-12
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 392 kB
  • sloc: ansic: 5,517; sh: 322; makefile: 131
file content (19 lines) | stat: -rwxr-xr-x 369 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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

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

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

%:
	dh $@

# End of file