File: rules

package info (click to toggle)
ucx 1.10.1~rc1%2Breally.1.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 12,480 kB
  • sloc: ansic: 113,657; cpp: 62,176; sh: 2,314; java: 2,175; makefile: 1,477; asm: 297; xml: 233; python: 194; lisp: 19
file content (36 lines) | stat: -rwxr-xr-x 1,004 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ 

# No ibverbs support available on kFreeBSD, Hurd
NO_VERBS_ARCH:= hurd-i386 kfreebsd-amd64 kfreebsd-i386 s390x
NO_JAVA_ARCH:= hppa hurd-i386 ia64
NO_NUMA_ARCH:= hurd-i386 kfreebsd-amd64 kfreebsd-i386

VERBS:=   $(if $(filter $(DEB_TARGET_ARCH), $(NO_VERBS_ARCH)), , --with-verbs )
NUMA:=   $(if $(filter $(DEB_TARGET_ARCH), $(NO_NUMA_ARCH)),  --disable-numa , )
ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
       JAVA := $(if $(filter $(DEB_TARGET_ARCH), $(NO_JAVA_ARCH)), \
                 ,--with-jdk-dir=/usr/lib/jvm/default-java --with-java=/usr/lib/jvm/default-java )
endif
#$(JAVA) 

override_dh_auto_configure:
	dh_auto_configure --  \
		--enable-mt \
		$(VERBS) \
		$(NUMA) \
		--disable-backtrace-detail \
		--disable-logging \
		--enable-devel-headers \
		--enable-examples \
		--enable-cma

override_dh_shlibdeps:
	dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info