File: rules

package info (click to toggle)
unixodbc 2.3.11-2%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,924 kB
  • sloc: ansic: 86,782; makefile: 1,125; sh: 1,059; yacc: 972; sql: 1
file content (19 lines) | stat: -rwxr-xr-x 559 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

# build should fail if anything at all is wrong with the library symbols
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
# always force the check for undefined symbols
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-static --enable-fastvalidate \
	    --with-pth=no --with-included-ltdl=no \
	    --with-odbc-driver-path=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)/odbc

override_dh_installchangelogs:
	dh_installchangelogs -XChangeLog