Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7
8 # kfreebsd in Debian supplies alsa via the alsa-oss wrapper package, but that
9 # is missing snd_pcm_recover() at least, so build --without-alsa on the
10 # non-Linux platforms:
11 include /usr/share/dpkg/architecture.mk
12 ifneq (linux,$(DEB_HOST_ARCH_OS))
13 configure_flags += --without-alsa
14 endif
15
16 # enable hardening flags (for debian/compat<9):
17 configure_flags += $(shell f=`dpkg-buildflags --export=configure` && echo $$f)
18
19 override_dh_auto_configure:
20 dh_auto_configure -- $(configure_flags)
21
22 %:
23 dh $@