Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 30 lines (20 sloc) 1.183 kb
9484a9b Christoph Korn PlayDeb to Git (Ubuntu 12.04 precise)
authored
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
5
6 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
7 DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
8 DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
9 MAKEOPTIONS = V=1 UNAME='$(DEB_HOST_ARCH_OS)' HOST_CPU='$(DEB_HOST_GNU_CPU)' APIDIR=/usr/include/mupen64plus/ DEBUG=1 PREFIX=/usr/ LIBDIR="/usr/lib/$(DEB_HOST_MULTIARCH)" PIC=1 OPTFLAGS="" LTO=1
10
11 DBG_PACKAGE=$(shell dpkg-parsechangelog|grep '^Source: '|sed 's/^Source:\s*//')-dbg
12
13 binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep:
14 dh $@ --sourcedirectory="projects/unix" --parallel --list-missing
15
16 get-orig-source:
17 $(CURDIR)/debian/get-orig-source.sh
18
19 override_dh_auto_build:
20 dh_auto_build -- all $(MAKEOPTIONS)
21
22 override_dh_auto_install:
23 dh_auto_install -- $(MAKEOPTIONS)
24
25 override_dh_strip:
26 dh_strip -a --dbg-package="$(DBG_PACKAGE)"
27
28 .PHONY: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep \
29 get-orig-source override_dh_auto_build override_dh_auto_install override_dh_strip
Something went wrong with that request. Please try again.