File: rules

package info (click to toggle)
rtmpdump 2.4%2B20151223.gitfa8646d.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 888 kB
  • sloc: ansic: 12,658; makefile: 186; sh: 15
file content (30 lines) | stat: -rwxr-xr-x 600 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
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed

include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/buildflags.mk

MAKEVARS= \
	prefix=/usr \
	CRYPTO=GNUTLS \
	libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
	XCFLAGS="$(CFLAGS) $(CPPFLAGS)" \
	XLDFLAGS="$(LDFLAGS)"

ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
	MAKEVARS += CROSS_COMPILE=$(DEB_HOST_GNU_TYPE)-
endif

%:
	dh $@ --no-parallel

override_dh_auto_build:
	dh_auto_build -- $(MAKEVARS)

override_dh_auto_install:
	dh_auto_install -- $(MAKEVARS)

get-orig-source:
	debian/get-git-source.sh