~ubuntu-branches/ubuntu/saucy/mupen64plus-video-rice/saucy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Sven Eckelmann
  • Date: 2011-01-22 11:05:28 UTC
  • Revision ID: james.westby@ubuntu.com-20110122110528-ur02h11mxe5nwzf8
Tags: 1.99.4-1
* New Upstream Version
* Updated my maintainer e-mail address
* Split source package to match upstreams modular release packages
* debian/copyright:
  - Update to DEP5 revision 164
  - Update copyright years
* debian/patches:
  - Add hurd_os.patch, Add GNU/Hurd as operating system with "linux" userland
  - Rebase default-optimisations.patch against 1.99.4
  - Remove upstream merged patches: as-needed.patch,
    correct_fpr32_mapping.patch, correct_security_printf.patch,
    debian-archs.patch, dejavu-font.patch, destdir.patch,
    dont-install-unneeded.patch, fix-7z-subfolder.patch,
    fix-desktop-file.patch, fix_r0_override.patch, fix_readpng.patch,
    ftbfs-debugger.patch, ftbfs-dynarec.patch, ftbfs-glibc210.patch,
    ftbfs-gvariant-type-conflicts.patch, ftbfs-kfreebsd.patch,
    glide64_hurd.patch, glide64-noasm.patch, gtk-open-filter.patch,
    interpreter_x86_fldcw.patch, jttl_fix_romclosed.patch, link_gdk.patch,
    load_aidacrate.patch, load_vistatus.patch, noexecstack.patch,
    optional_signinfo.patch, osd-pause-crash.patch, path_max.patch,
    pie_support.patch, plugin-searchpath.patch, remove-gln64.patch,
    remove-nondfsg-icons.patch, resume_on_start.patch, rice-ati-symbols.patch,
    rice-crash-vendorstring.patch, rice_fog.patch, rice_nodebug.patch,
    rice-screenflickering.patch, rice-texturepack-crash.patch,
    rsp_hle_bigendian.patch, rsp_ucode2_reset.patch,
    static-binutils-libs.patch, system-libbz2.patch, system-liblzma.patch,
    system-libpng.patch, system-zlib.patch, version-string.patch,
    xdg-basedir.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# -*- makefile -*-
 
3
 
 
4
export CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
 
5
export CPPFLAGS=$(shell dpkg-buildflags --get CPPFLAGS)
 
6
export CXXFLAGS=$(shell dpkg-buildflags --get CXXFLAGS)
 
7
export LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
 
8
 
 
9
DEB_BUILD_HARDENING_PIE:=0
 
10
include /usr/share/hardening-includes/hardening.make
 
11
CFLAGS += $(HARDENING_CFLAGS)
 
12
CXXFLAGS += $(HARDENING_CFLAGS)
 
13
LDFLAGS += $(HARDENING_LDFLAGS)
 
14
 
 
15
LDFLAGS += -Wl,--as-needed
 
16
 
 
17
DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
 
18
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
19
MAKEOPTIONS = V=1 UNAME='$(DEB_HOST_ARCH_OS)' HOST_CPU='$(DEB_HOST_GNU_CPU)' APIDIR=/usr/include/mupen64plus/ DEBUG=1 PREFIX=/usr/
 
20
 
 
21
%:
 
22
        dh $@ --sourcedirectory="projects/unix" --parallel --list-missing
 
23
 
 
24
get-orig-source:
 
25
        uscan --verbose --force-download
 
26
 
 
27
override_dh_auto_build:
 
28
        dh_auto_build -- all $(MAKEOPTIONS)
 
29
 
 
30
override_dh_auto_install:
 
31
        dh_auto_install -- $(MAKEOPTIONS)
 
32
 
 
33
override_dh_strip:
 
34
        dh_strip -a --dbg-package=mupen64plus-video-rice-dbg
 
35
 
 
36
override_dh_installchangelogs:
 
37
        dh_installchangelogs RELEASE
 
38
 
 
39
.PHONY: get-orig-source