File: rules

package info (click to toggle)
libfabric 2.1.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 26,108 kB
  • sloc: ansic: 387,262; python: 3,171; sh: 2,555; makefile: 1,313; cpp: 617; perl: 474; ruby: 123; asm: 27
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)'