File: rules

package info (click to toggle)
liblo 0.34-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,088 kB
  • sloc: ansic: 8,500; sh: 4,616; cpp: 1,098; makefile: 157
file content (21 lines) | stat: -rwxr-xr-x 395 bytes parent folder | download | duplicates (2)
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

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

.PHONY: build
%:
	dh $@

build: build-arch

override_dh_auto_configure:
	test "$(DEB_HOST_ARCH_CPU)" != "sparc"
	test "$(DEB_HOST_ARCH_CPU)" != "sparc64"
	dh_auto_configure -- \
		--enable-static \
		--disable-network-tests \
		--enable-tests \
		--enable-examples