| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | # Work-around for #1075155 for the time being. |
| 5 | # The upstream has been notified, -Wno-incompatible-pointer-types should be removed when a proper fix appears. |
| 6 | CFLAGS += -Wno-incompatible-pointer-types |
| 7 | |
| 8 | # Work-around for #957430. Upstream has confirmed that argument mismatch |
| 9 | # is not critical, and even desired, especially for QREAD and QWRITE. |
| 10 | FFLAGS += -fallow-argument-mismatch |
| 11 | |
| 12 | %: |
| 13 | dh $@ |
| 14 | |
| 15 | override_dh_auto_configure: |
| 16 | dh_auto_configure -- --disable-static --enable-shared --datadir=/usr/share/ccp4 |
| 17 | |
| 18 | override_dh_strip: |
| 19 | dh_strip -plibccp4c0t64 |
| 20 | dh_strip -plibccp4f0t64 |
| 21 | dh_strip -a -Nlibccp4c0t64 -Nlibccp4f0t64 |