File: rules

package info (click to toggle)
rapmap 0.15.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,356 kB
  • sloc: cpp: 48,826; ansic: 4,471; sh: 215; python: 82; makefile: 19
file content (30 lines) | stat: -rwxr-xr-x 938 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
23
24
25
26
27
28
29
30
#!/usr/bin/make -f

# DH_VERBOSE := 1

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

ifneq (,$(filter $(DEB_HOST_ARCH),arm64 ppc64el))
	export NON_APPLECLANG_LIBS=z
	# not really z, but we need something innocent here
else
	export NON_APPLECLANG_LIBS=rt
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DJELLYFISH_ROOT=/usr -DNO_NATIVE_ARCH=true $(EXTRA)

override_dh_auto_build:
	dh_auto_build
	python3 -m markdown -f README.html README.md

override_dh_clean:
	dh_clean README.html sample_data/sample_quasi_index/ sample_data/sample_quasi_index_ph/ sample_data/sample_quasi_map.sam sample_data/sample_quasi_map_ph.sam

override_dh_gencontrol:
	dh_gencontrol -- -Vsimde:Built-Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W "libsimde-dev")"