File: rules

package info (click to toggle)
libmikmod 3.3.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,188 kB
  • sloc: ansic: 36,299; sh: 5,013; makefile: 548; javascript: 1
file content (28 lines) | stat: -rwxr-xr-x 541 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
#! /usr/bin/make -f

export DH_OPTIONS		+= -O-Bbuild
export DEB_BUILD_MAINT_OPTIONS	 = hardening=-fortify

ENABLED = --disable-esd
ENABLED += --enable-openal
ENABLED += --enable-sdl --enable-sdl2
# Only enable ALSA on Linux
ifeq ($(DEB_HOST_ARCH_OS), linux)
  ENABLED += --enable-alsa
else
  ENABLED += --disable-alsa
endif

include /usr/share/dpkg/pkg-info.mk

override_dh_auto_configure:
	dh_auto_configure -- $(ENABLED)

override_dh_installchangelogs-arch:
	dh_installchangelogs -a NEWS

override_dh_missing:
	dh_missing -X.la

%:
	dh $@