File: rules

package info (click to toggle)
azure-uamqp-python 1.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 35,388 kB
  • sloc: ansic: 181,988; cpp: 7,738; python: 7,670; cs: 5,766; sh: 780; xml: 298; makefile: 34
file content (21 lines) | stat: -rwxr-xr-x 675 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
#!/usr/bin/make -f

# __FILE__ used in logging macros, so -fdebug-prefix-map is not enough,
# to make the build reproducible we need -ffile-prefix-map
export DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=+fixfilepath

# Required to build with OpenSSL 3.0, can be dropped once upstream fixes it
export DEB_CFLAGS_MAINT_APPEND=-Wno-error=deprecated-declarations

# CMake is used to build the vendored uamqp library, which ignores CPPFLAGS
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
CFLAGS+=$(CPPFLAGS)
CXXFLAGS+=$(CPPFLAGS)
# For the CMake build
ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS)))
export VERBOSE=1
endif

%:
	dh $@ --buildsystem=pybuild