File: rules

package info (click to toggle)
iml 1.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,336 kB
  • sloc: sh: 19,923; ansic: 6,900; makefile: 73
file content (17 lines) | stat: -rwxr-xr-x 395 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--enable-shared \
		--with-gmp-include=/usr/include/$(DEB_HOST_MULTIARCH) \
		--with-gmp-lib=/usr/lib/$(DEB_HOST_MULTIARCH) \
		--with-cblas=-lblas

override_dh_auto_clean:
	rm -f tests/test-largeentry tests/test-smallentry
	dh_auto_clean