File: rules

package info (click to toggle)
unixodbc-gui-qt 2.3.0-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 4,064 kB
  • ctags: 3,458
  • sloc: cpp: 30,828; sh: 10,934; ansic: 1,311; makefile: 499
file content (19 lines) | stat: -rwxr-xr-x 612 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
# Copyright 2009 Steve Langasek <vorlon@debian.org>

# 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

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	# Add here commands to configure the package.
	CXXFLAGS="-g -O2 -pipe" \
	dh_auto_configure -- --with-qt_dir_include=/usr/include/qt4 \
		--enable-static --without-pth
	# clean sources to remove all moc-autogenerated files,
	# without which this won't build with Qt4.
	make clean