File: rules

package info (click to toggle)
amsynth 1.12.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 17,256 kB
  • sloc: cpp: 9,013; ansic: 3,921; makefile: 366; python: 69; sh: 30
file content (23 lines) | stat: -rwxr-xr-x 456 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
#!/usr/bin/make -f

export CFLAGS+=-Wall -g -fomit-frame-pointer
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
	CFLAGS += -O0
else
	CFLAGS += -O2
endif

ifneq ($(DEB_HOST_ARCH_OS),linux)
EXTRA_CONFIG_FLAGS=--with-alsa=no
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-pic --with-lv2 $(EXTRA_CONFIG_FLAGS) --libdir=/usr/lib

override_dh_autoreconf:
	dh_autoreconf -- ./autogen.sh