| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) |
| 4 | |
| 5 | %: |
| 6 | dh $@ |
| 7 | |
| 8 | override_dh_auto_configure: |
| 9 | dh_auto_configure -- \ |
| 10 | --enable-shared \ |
| 11 | --with-gmp-include=/usr/include/$(DEB_HOST_MULTIARCH) \ |
| 12 | --with-gmp-lib=/usr/lib/$(DEB_HOST_MULTIARCH) \ |
| 13 | --with-cblas=-lblas |
| 14 | |
| 15 | override_dh_auto_clean: |
| 16 | rm -f tests/test-largeentry tests/test-smallentry |
| 17 | dh_auto_clean |