Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export DEB_CFLAGS_MAINT_APPEND = -Wall -DDBLIB_UNIMPLEMENTED=1
4
5 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
6
7 %:
8 dh $@
9
10 override_dh_auto_configure:
11 dh_auto_configure -- --with-gnu-ld \
12 --with-unixodbc=/usr --sysconfdir=/etc/freetds \
13 --enable-sybase-compat --with-gnutls --enable-krb5
14
15 override_dh_auto_test:
16 make -j1 check "TESTSUITEFLAGS=-j1 --verbose" VERBOSE=1 TDS_SKIP_NETWORK=1
17
18 override_dh_auto_install:
19 dh_auto_install
20 mkdir -p $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/odbc
21 mv $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libtdsodbc.so \
22 $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/odbc/libtdsodbc.so
23 rm -f $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libtdsodbc*
24
25 override_dh_fixperms:
26 ifneq (,$(filter freetds-common, $(shell dh_listpackages)))
27 chmod a-x $(CURDIR)/debian/freetds-common/usr/share/freetds/freetds.conf
28 endif
29 dh_fixperms
30
31 override_dh_makeshlibs:
32 dh_makeshlibs -Xtdsodbc -V