File: rules

package info (click to toggle)
libfabric 1.11.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,828 kB
  • sloc: ansic: 229,445; sh: 1,649; python: 1,019; makefile: 791; perl: 743; cpp: 554; ruby: 123
file content (40 lines) | stat: -rwxr-xr-x 828 bytes parent folder | download | duplicates (3)
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
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/pkg-info.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

EXTRAFLAGS :=
ifeq (amd64,$(DEB_HOST_ARCH))
EXTRAFLAGS := --enable-psm=yes --enable-psm2=yes
endif
ifeq (i386,$(DEB_HOST_ARCH))
EXTRAFLAGS := --enable-psm=yes
endif

configure_providers = \
	--enable-sockets=yes \
	--enable-verbs=yes \
	--enable-usnic=no \
	--enable-mlx=no \
	--enable-gni=no \
	--enable-udp=yes \
	--enable-rxm=yes \
	--enable-rxd=yes \
	--enable-bgq=no \
	$(EXTRAFLAGS)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(configure_providers)

override_dh_missing:
	find debian/tmp -name libfabric.la -delete
	dh_missing --fail-missing

override_dh_strip:
	dh_strip --dbgsym-migration='libfabric1-dbg (<< 1.5.2)'