File: rules

package info (click to toggle)
unixodbc 2.3.12-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,960 kB
  • sloc: ansic: 87,271; makefile: 1,126; sh: 1,059; yacc: 974; sql: 1
file content (20 lines) | stat: -rwxr-xr-x 593 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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 --enable-cursor-ver \
	    --with-pth=no --with-included-ltdl=no \
	    --with-odbc-driver-path=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)/odbc

override_dh_installchangelogs:
	dh_installchangelogs -XChangeLog