File: rules

package info (click to toggle)
libccp4 8.0.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,100 kB
  • sloc: ansic: 19,540; fortran: 18,766; sh: 11,561; makefile: 73
file content (21 lines) | stat: -rwxr-xr-x 653 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
# -*- makefile -*-

# Work-around for #1075155 for the time being.
# The upstream has been notified, -Wno-incompatible-pointer-types should be removed when a proper fix appears.
CFLAGS += -Wno-incompatible-pointer-types

# Work-around for #957430. Upstream has confirmed that argument mismatch
# is not critical, and even desired, especially for QREAD and QWRITE.
FFLAGS += -fallow-argument-mismatch

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --disable-static --enable-shared --datadir=/usr/share/ccp4

override_dh_strip:
	dh_strip -plibccp4c0t64
	dh_strip -plibccp4f0t64
	dh_strip -a -Nlibccp4c0t64 -Nlibccp4f0t64