File: rules

package info (click to toggle)
bwa 0.7.17-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,704 kB
  • sloc: ansic: 23,999; perl: 189; sh: 100; makefile: 93
file content (22 lines) | stat: -rwxr-xr-x 623 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND += -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3
export DEB_CXXFLAGS_MAINT_APPEND += -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3

%:
	dh $@

DFLAGS := -DHAVE_PTHREAD

override_dh_auto_build:
	dh_auto_build -- CFLAGS="-Wall $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)" DFLAGS="$(DFLAGS)"

override_dh_installchangelogs:
	dh_installchangelogs NEWS.md

override_dh_install:
	dh_install
	for pl in `grep -Rl '#!/usr/bin/env[[:space:]]\+perl' debian/*/usr/*` ; do \
	    sed -i '1s?^#!/usr/bin/env[[:space:]]\+perl?#!/usr/bin/perl?' $${pl} ; \
	done