| 1 |
#! /usr/bin/make -f |
| 2 |
|
| 3 |
export DH_OPTIONS += -O-Bbuild |
| 4 |
export DEB_BUILD_MAINT_OPTIONS = hardening=-fortify |
| 5 |
|
| 6 |
ENABLED = --disable-esd |
| 7 |
ENABLED += --enable-openal |
| 8 |
ENABLED += --enable-sdl --enable-sdl2 |
| 9 |
# Only enable ALSA on Linux |
| 10 |
ifeq ($(DEB_HOST_ARCH_OS), linux) |
| 11 |
ENABLED += --enable-alsa |
| 12 |
else |
| 13 |
ENABLED += --disable-alsa |
| 14 |
endif |
| 15 |
|
| 16 |
include /usr/share/dpkg/pkg-info.mk |
| 17 |
|
| 18 |
override_dh_auto_configure: |
| 19 |
dh_auto_configure -- $(ENABLED) |
| 20 |
|
| 21 |
override_dh_installchangelogs-arch: |
| 22 |
dh_installchangelogs -a NEWS |
| 23 |
|
| 24 |
override_dh_missing: |
| 25 |
dh_missing -X.la |
| 26 |
|
| 27 |
%: |
| 28 |
dh $@ |