File: rules

package info (click to toggle)
audacious-plugins 4.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,464 kB
  • sloc: cpp: 104,135; sh: 4,029; makefile: 1,229; ansic: 608; objc: 447; xml: 44
file content (32 lines) | stat: -rwxr-xr-x 637 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
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/make -f

BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)

ifeq ($(BUILD_ARCH),i386)
additional_confflags := --disable-sse2
endif

ifeq ($(BUILD_ARCH),armel)
additional_confflags := --disable-qtglspectrum
endif

ifeq ($(BUILD_ARCH),armhf)
additional_confflags := --disable-qtglspectrum
endif

export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow,-fortify

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(additional_confflags) \
		--disable-rpath --enable-gtk

override_dh_auto_clean:
	dh_auto_clean || true


override_dh_missing:
	dh_missing --fail-missing