File: rules

package info (click to toggle)
amsynth 1.4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,828 kB
  • ctags: 2,337
  • sloc: sh: 11,343; cpp: 7,401; ansic: 4,715; makefile: 287
file content (23 lines) | stat: -rwxr-xr-x 436 bytes parent folder | download | duplicates (2)
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 LDFLAGS+=-Wl,--as-needed
export CFLAGS+=-Wall -g -fomit-frame-pointer

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 $@ --parallel --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --with-pic $(EXTRA_CONFIG_FLAGS)

override_dh_autoreconf:
	dh_autoreconf --as-needed