File: rules

package info (click to toggle)
liblivemedia 2016.11.28-1+deb9u2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,632 kB
  • sloc: cpp: 51,173; ansic: 719; sh: 68; makefile: 17
file content (22 lines) | stat: -rwxr-xr-x 428 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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk
ifeq ($(origin CC),default)
CC := $(DEB_HOST_GNU_TYPE)-gcc
endif
export CC
ifeq ($(origin CXX),default)
CXX := $(DEB_HOST_GNU_TYPE)-g++
endif
export CXX

%:
	dh $@

override_dh_auto_configure:
	./genMakefiles linux-with-shared-libraries

override_dh_auto_install:
	dh_auto_install -- \
		PREFIX=/usr \
		LIBDIR=/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)