File: rules

package info (click to toggle)
dragonfly-reverb 3.2.10-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 51,108 kB
  • sloc: cpp: 71,143; ansic: 590; makefile: 251; sh: 85
file content (31 lines) | stat: -rwxr-xr-x 643 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
24
25
26
27
28
29
30
31
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export SKIP_STRIPPING = true

# Verbose build
export VERBOSE = true

# Allow cross compiling
ifneq (${DEB_BUILD_ARCH},${DEB_HOST_ARCH})
	export CROSS_COMPILING = true
endif
export NOOPT = true

%:
	dh $@

execute_before_dh_auto_build:
	@echo "blhc: ignore-line-regexp: ^Compiling .*"

override_dh_auto_build:
	dh_auto_build -- \
		CFLAGS="$(CPPFLAGS) $(CFLAGS)" \
		CXXFLAGS="$(CPPFLAGS) $(CXXFLAGS)" \
		$(empty)

execute_before_dh_auto_configure:
	cp -fr /usr/share/dpf/ .

override_dh_auto_clean:
	dh_clean bin/ build/ common/*.d common/*.o common/*/*.d common/*/*.o dpf/