gcc-defaults-arm64-cross-0.4/0000755000000000000000000000000012161310376012662 5ustar gcc-defaults-arm64-cross-0.4/debian/0000755000000000000000000000000012247627376014124 5ustar gcc-defaults-arm64-cross-0.4/debian/control.in0000644000000000000000000001513712161310232016112 0ustar Source: gcc-defaults-CROSS_ARCH-cross Section: devel Priority: standard Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Marcin Juszkiewicz Standards-Version: 3.9.4 Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.13.9), lsb-release XS-Python-Version: all Package: cpp-CROSS_GNU_TYPE Priority: optional Architecture: amd64 i386 Section: interpreters Depends: cpp-${pv:cpp}-CROSS_GNU_TYPE ${reqv:cpp}, ${misc:Depends} Conflicts: cpp-4.4-CROSS_GNU_TYPE (<= 4.4.5-15~), cpp-4.5-CROSS_GNU_TYPE (<= 4.5.2-8~) Suggests: cpp-doc Description: The GNU C preprocessor (cpp) for CROSS_ARCH architecture The GNU C preprocessor is a macro processor that is used automatically by the GNU C compiler to transform programs before actual compilation. . This package has been separated from gcc for the benefit of those who require the preprocessor but not the cross-compiler for CROSS_ARCH architecture. . This is a dependency package providing the default GNU C preprocessor for CROSS_ARCH architecture. Package: g++-CROSS_GNU_TYPE Priority: optional Architecture: amd64 i386 Depends: cpp-CROSS_GNU_TYPE (>= ${version:cpp}), gcc-CROSS_GNU_TYPE (>= ${version:cpp}), g++-${pv:gpp}MULTILIB-CROSS_GNU_TYPE ${reqv:gpp}, gcc-${pv:gpp}MULTILIB-CROSS_GNU_TYPE ${reqv:gpp}, ${misc:Depends} Conflicts: g++-4.4-CROSS_GNU_TYPE (<= 4.4.5-15~), g++-4.5-CROSS_GNU_TYPE (<= 4.5.2-8~) Description: The GNU C++ compiler for CROSS_ARCH architecture This is the GNU C++ compiler, a fairly portable optimizing compiler for C++. . This is a dependency package providing the default GNU C++ cross-compiler for CROSS_ARCH architecture. Package: gobjc-CROSS_GNU_TYPE Priority: optional Architecture: amd64 i386 Depends: cpp-CROSS_GNU_TYPE (>= ${version:cpp}), gcc-CROSS_GNU_TYPE (>= ${version:cpp}), gobjc-${pv:gobjc}MULTILIB-CROSS_GNU_TYPE ${reqv:gobjc}, ${misc:Depends} Conflicts: gobjc-4.4-CROSS_GNU_TYPE (<= 4.4.5-15~), gobjc-4.5-CROSS_GNU_TYPE (<= 4.5.2-8~) Description: The GNU Objective-C compiler for CROSS_ARCH architecture This is the GNU Objective-C compiler, which compiles Objective-C on platforms supported by the gcc compiler. It uses the gcc backend to generate optimized code. . This is a dependency package providing the default GNU Objective-C cross-compiler for CROSS_ARCH architecture. Package: gobjc++-CROSS_GNU_TYPE Priority: optional Architecture: amd64 i386 Depends: cpp-CROSS_GNU_TYPE (>= ${version:cpp}), gcc-CROSS_GNU_TYPE (>= ${version:cpp}), gobjc++-${pv:gobjcxx}MULTILIB-CROSS_GNU_TYPE ${reqv:gobjcxx}, ${misc:Depends} Conflicts: gobjc++-4.4-CROSS_GNU_TYPE (<= 4.4.5-15~), gobjc++-4.5-CROSS_GNU_TYPE (<= 4.5.2-8~) Recommends: g++-CROSS_GNU_TYPE (>= ${version:cpp}), gobjc-CROSS_GNU_TYPE (>= ${version:cpp}) Description: The GNU Objective-C++ compiler for CROSS_ARCH architecture This is the GNU Objective-C++ compiler, which compiles Objective-C++ on platforms supported by the gcc compiler. It uses the gcc backend to generate optimized code. . This is a dependency package providing the default GNU Objective-C++ cross-compiler for CROSS_ARCH architecture. Package: gfortran-CROSS_GNU_TYPE Priority: optional Architecture: amd64 i386 Depends: cpp-CROSS_GNU_TYPE (>= ${version:cpp}), gcc-CROSS_GNU_TYPE (>= ${version:gcc}), gfortran-${pv:gfort}MULTILIB-CROSS_GNU_TYPE ${reqv:gfort}, ${misc:Depends} Conflicts: gfortran-4.4-CROSS_GNU_TYPE (<= 4.4.5-15~), gfortran-4.5-CROSS_GNU_TYPE (<= 4.5.2-8~) Suggests: gfortran-doc Description: The GNU Fortran 95 compiler for CROSS_ARCH architecture This is the GNU Fortran 95 compiler, which compiles Fortran 95 on platforms supported by the gcc compiler. It uses the gcc backend to generate optimized code. . This is a dependency package providing the default GNU Fortran 95 cross-compiler for CROSS_ARCH architecture. Package: gccgo-CROSS_GNU_TYPE Priority: optional Architecture: amd64 i386 Depends: cpp-CROSS_GNU_TYPE (>= ${version:cpp}), g++-CROSS_GNU_TYPE (>= ${version:gcc}), gccgo-${pv:ggo}MULTIGOLIB-CROSS_GNU_TYPE ${reqv:ggo}, ${misc:Depends} Suggests: gccgo-doc Description: Go compiler, based on the GCC backend This is the GNU Go compiler, which compiles Go on platforms supported by the gcc compiler. It uses the gcc backend to generate optimized code. . This is a dependency package providing the default GNU Go cross-compiler cross-compiler for the CROSS_ARCH architecture. Package: gcj-CROSS_GNU_TYPE Priority: optional Architecture: amd64 i386 Depends: cpp-CROSS_GNU_TYPE (>= ${version:cpp}), gcj-${pv:gcj}MULTIGOLIB-CROSS_GNU_TYPE ${reqv:gcj}, ${misc:Depends} Description: GNU Java compiler, based on the GCC backend This is the GNU Java compiler, which compiles java on platforms supported by the gcc compiler. It uses the gcc backend to generate optimized code. . This is a dependency package providing the default GNU Java cross-compiler cross-compiler for the CROSS_ARCH architecture. Package: gdc-CROSS_GNU_TYPE Priority: optional Architecture: amd64 i386 Depends: cpp-CROSS_GNU_TYPE (>= ${version:cpp}), gdc-${pv:gdc}MULTIGOLIB-CROSS_GNU_TYPE ${reqv:gdc}, ${misc:Depends} Description: GNU D compiler, based on the GCC backend This is the GNU D compiler, which compiles D on platforms supported by the gcc compiler. It uses the gcc backend to generate optimized code. . This is a dependency package providing the default GNU D cross-compiler cross-compiler for the CROSS_ARCH architecture. Package: gcc-CROSS_GNU_TYPE Priority: optional Architecture: amd64 i386 Depends: cpp-CROSS_GNU_TYPE (>= ${version:cpp}), gcc-${pv:gcc}MULTILIB-CROSS_GNU_TYPE ${reqv:gcc}, ${misc:Depends} Conflicts: gcc-4.4-CROSS_GNU_TYPE (<= 4.4.5-15~), gcc-4.5-CROSS_GNU_TYPE (<= 4.5.2-8~) Recommends: libc6-dev-CROSS_ARCH-cross | libc-dev-CROSS_ARCH-cross Suggests: make, manpages-dev, autoconf, automake1.9, libtool, flex, bison, gdb-CROSS_GNU_TYPE, gcc-doc Description: The GNU C compiler for CROSS_ARCH architecture This is the GNU C compiler, a fairly portable optimizing compiler for C. . This is a dependency package providing the default GNU C cross-compiler for CROSS_ARCH architecture. Package: pkg-config-CROSS_GNU_TYPE Priority: optional Architecture: amd64 i386 Depends: pkg-config (>= 0.25-1.1ubuntu2), ${misc:Depends} Description: manage compile and link flags for libraries for CROSS_ARCH architecture pkg-config is a system for managing library compile and link flags that works with automake and autoconf. . Increasingly libraries ship with ".pc" files that allow querying of the compiler and linker flags needed to use them through the pkg-config(1) program. . This is a dependency package providing cross pkg-config support for the CROSS_ARCH architecture. gcc-defaults-arm64-cross-0.4/debian/copyright0000644000000000000000000000073311765576167016067 0ustar gcc-defaults is Copyright (C) 2000, 2001, 2006, 2009 Debian. gcc-defaults-armel-cross is Copyright (C) 2010 Linaro These scripts are free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. gcc-defaults-arm64-cross-0.4/debian/changelog0000644000000000000000000000134612247627376016002 0ustar gcc-defaults-arm64-cross (0.4) trusty; urgency=low * Bump version to 4.8.2. * Build gobjc, gobjc++, gccgo packages. -- Matthias Klose Wed, 04 Dec 2013 14:31:34 +0100 gcc-defaults-arm64-cross (0.3) saucy; urgency=low * Bump version to 4.8.1. * Build gcj and gdc packages. -- Matthias Klose Sat, 22 Jun 2013 13:54:28 +0200 gcc-defaults-arm64-cross (0.2) saucy; urgency=low * Bump default GCC version to 4.8 to match native compilers. -- Adam Conrad Sat, 27 Apr 2013 12:18:34 -0600 gcc-defaults-arm64-cross (0.1) raring; urgency=low * Initial package, based on binutils-armhf-cross 1.13. -- Matthias Klose Fri, 14 Dec 2012 18:12:51 +0100 gcc-defaults-arm64-cross-0.4/debian/compat0000644000000000000000000000000211765576167015327 0ustar 5 gcc-defaults-arm64-cross-0.4/debian/control0000644000000000000000000001507012247627403015521 0ustar Source: gcc-defaults-arm64-cross Section: devel Priority: standard Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Marcin Juszkiewicz Standards-Version: 3.9.4 Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.13.9), lsb-release XS-Python-Version: all Package: cpp-aarch64-linux-gnu Priority: optional Architecture: amd64 i386 Section: interpreters Depends: cpp-${pv:cpp}-aarch64-linux-gnu ${reqv:cpp}, ${misc:Depends} Conflicts: cpp-4.4-aarch64-linux-gnu (<= 4.4.5-15~), cpp-4.5-aarch64-linux-gnu (<= 4.5.2-8~) Suggests: cpp-doc Description: The GNU C preprocessor (cpp) for arm64 architecture The GNU C preprocessor is a macro processor that is used automatically by the GNU C compiler to transform programs before actual compilation. . This package has been separated from gcc for the benefit of those who require the preprocessor but not the cross-compiler for arm64 architecture. . This is a dependency package providing the default GNU C preprocessor for arm64 architecture. Package: g++-aarch64-linux-gnu Priority: optional Architecture: amd64 i386 Depends: cpp-aarch64-linux-gnu (>= ${version:cpp}), gcc-aarch64-linux-gnu (>= ${version:cpp}), g++-${pv:gpp}-aarch64-linux-gnu ${reqv:gpp}, gcc-${pv:gpp}-aarch64-linux-gnu ${reqv:gpp}, ${misc:Depends} Conflicts: g++-4.4-aarch64-linux-gnu (<= 4.4.5-15~), g++-4.5-aarch64-linux-gnu (<= 4.5.2-8~) Description: The GNU C++ compiler for arm64 architecture This is the GNU C++ compiler, a fairly portable optimizing compiler for C++. . This is a dependency package providing the default GNU C++ cross-compiler for arm64 architecture. Package: gobjc-aarch64-linux-gnu Priority: optional Architecture: amd64 i386 Depends: cpp-aarch64-linux-gnu (>= ${version:cpp}), gcc-aarch64-linux-gnu (>= ${version:cpp}), gobjc-${pv:gobjc}-aarch64-linux-gnu ${reqv:gobjc}, ${misc:Depends} Conflicts: gobjc-4.4-aarch64-linux-gnu (<= 4.4.5-15~), gobjc-4.5-aarch64-linux-gnu (<= 4.5.2-8~) Description: The GNU Objective-C compiler for arm64 architecture This is the GNU Objective-C compiler, which compiles Objective-C on platforms supported by the gcc compiler. It uses the gcc backend to generate optimized code. . This is a dependency package providing the default GNU Objective-C cross-compiler for arm64 architecture. Package: gobjc++-aarch64-linux-gnu Priority: optional Architecture: amd64 i386 Depends: cpp-aarch64-linux-gnu (>= ${version:cpp}), gcc-aarch64-linux-gnu (>= ${version:cpp}), gobjc++-${pv:gobjcxx}-aarch64-linux-gnu ${reqv:gobjcxx}, ${misc:Depends} Conflicts: gobjc++-4.4-aarch64-linux-gnu (<= 4.4.5-15~), gobjc++-4.5-aarch64-linux-gnu (<= 4.5.2-8~) Recommends: g++-aarch64-linux-gnu (>= ${version:cpp}), gobjc-aarch64-linux-gnu (>= ${version:cpp}) Description: The GNU Objective-C++ compiler for arm64 architecture This is the GNU Objective-C++ compiler, which compiles Objective-C++ on platforms supported by the gcc compiler. It uses the gcc backend to generate optimized code. . This is a dependency package providing the default GNU Objective-C++ cross-compiler for arm64 architecture. Package: gfortran-aarch64-linux-gnu Priority: optional Architecture: amd64 i386 Depends: cpp-aarch64-linux-gnu (>= ${version:cpp}), gcc-aarch64-linux-gnu (>= ${version:gcc}), gfortran-${pv:gfort}-aarch64-linux-gnu ${reqv:gfort}, ${misc:Depends} Conflicts: gfortran-4.4-aarch64-linux-gnu (<= 4.4.5-15~), gfortran-4.5-aarch64-linux-gnu (<= 4.5.2-8~) Suggests: gfortran-doc Description: The GNU Fortran 95 compiler for arm64 architecture This is the GNU Fortran 95 compiler, which compiles Fortran 95 on platforms supported by the gcc compiler. It uses the gcc backend to generate optimized code. . This is a dependency package providing the default GNU Fortran 95 cross-compiler for arm64 architecture. Package: gccgo-aarch64-linux-gnu Priority: optional Architecture: amd64 i386 Depends: cpp-aarch64-linux-gnu (>= ${version:cpp}), g++-aarch64-linux-gnu (>= ${version:gcc}), gccgo-${pv:ggo}-aarch64-linux-gnu ${reqv:ggo}, ${misc:Depends} Suggests: gccgo-doc Description: Go compiler, based on the GCC backend This is the GNU Go compiler, which compiles Go on platforms supported by the gcc compiler. It uses the gcc backend to generate optimized code. . This is a dependency package providing the default GNU Go cross-compiler cross-compiler for the arm64 architecture. Package: gcj-aarch64-linux-gnu Priority: optional Architecture: amd64 i386 Depends: cpp-aarch64-linux-gnu (>= ${version:cpp}), gcj-${pv:gcj}-aarch64-linux-gnu ${reqv:gcj}, ${misc:Depends} Description: GNU Java compiler, based on the GCC backend This is the GNU Java compiler, which compiles java on platforms supported by the gcc compiler. It uses the gcc backend to generate optimized code. . This is a dependency package providing the default GNU Java cross-compiler cross-compiler for the arm64 architecture. Package: gdc-aarch64-linux-gnu Priority: optional Architecture: amd64 i386 Depends: cpp-aarch64-linux-gnu (>= ${version:cpp}), gdc-${pv:gdc}-aarch64-linux-gnu ${reqv:gdc}, ${misc:Depends} Description: GNU D compiler, based on the GCC backend This is the GNU D compiler, which compiles D on platforms supported by the gcc compiler. It uses the gcc backend to generate optimized code. . This is a dependency package providing the default GNU D cross-compiler cross-compiler for the arm64 architecture. Package: gcc-aarch64-linux-gnu Priority: optional Architecture: amd64 i386 Depends: cpp-aarch64-linux-gnu (>= ${version:cpp}), gcc-${pv:gcc}-aarch64-linux-gnu ${reqv:gcc}, ${misc:Depends} Conflicts: gcc-4.4-aarch64-linux-gnu (<= 4.4.5-15~), gcc-4.5-aarch64-linux-gnu (<= 4.5.2-8~) Recommends: libc6-dev-arm64-cross | libc-dev-arm64-cross Suggests: make, manpages-dev, autoconf, automake1.9, libtool, flex, bison, gdb-aarch64-linux-gnu, gcc-doc Description: The GNU C compiler for arm64 architecture This is the GNU C compiler, a fairly portable optimizing compiler for C. . This is a dependency package providing the default GNU C cross-compiler for arm64 architecture. Package: pkg-config-aarch64-linux-gnu Priority: optional Architecture: amd64 i386 Depends: pkg-config (>= 0.25-1.1ubuntu2), ${misc:Depends} Description: manage compile and link flags for libraries for arm64 architecture pkg-config is a system for managing library compile and link flags that works with automake and autoconf. . Increasingly libraries ship with ".pc" files that allow querying of the compiler and linker flags needed to use them through the pkg-config(1) program. . This is a dependency package providing cross pkg-config support for the arm64 architecture. gcc-defaults-arm64-cross-0.4/debian/rules0000755000000000000000000002101012247627365015174 0ustar #! /usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 REL_NO := 1 GCC_VER := 4.8.2 # minimum required gcc-X.Y versions REQV := (>= $(GCC_VER)-$(REL_NO)) CV_CPP := $(GCC_VER)-$(REL_NO) CV_GCC := $(GCC_VER)-$(REL_NO) CV_GPP := $(GCC_VER)-$(REL_NO) CV_GOBJC := $(GCC_VER)-$(REL_NO) CV_GOBJCXX := $(GCC_VER)-$(REL_NO) CV_GFORT := $(GCC_VER)-$(REL_NO) CV_GGO := $(GCC_VER)-$(REL_NO) CV_GDC := $(GCC_VER)-$(REL_NO) CV_GCJ := $(GCC_VER)-$(REL_NO) REQV_CPP = $(REQV) REQV_GCC = $(REQV) REQV_GPP = $(REQV) REQV_GOBJC = $(REQV) REQV_GOBJCXX = $(REQV) REQV_GFORT = $(REQV) REQV_GGO = $(REQV) REQV_GDC = $(REQV) REQV_GCJ = $(REQV) CROSS_ARCH := $(shell dpkg-parsechangelog| sed -n 's/^Source: gcc-defaults-\(.*\)-cross/\1/p') CROSS_GNU_TYPE := $(shell dpkg-architecture -a${CROSS_ARCH} -qDEB_HOST_GNU_TYPE -f) ifneq (,$(filter $(CROSS_ARCH),armel armhf amd64 i386 mips mipsel powerpc ppc64 s390 s390x sparc sparc64)) MULTILIB = -multilib endif ifneq (,$(filter $(CROSS_ARCH),amd64 i386 mips mipsel powerpc ppc64 s390 s390x sparc sparc64)) MULTIGOLIB = -multilib endif print: @echo ${CROSS_ARCH} @echo ${CROSS_GNU_TYPE} EPOCH=4 distribution := $(shell lsb_release -is) all_packages := \ g++-${CROSS_GNU_TYPE} \ gfortran-${CROSS_GNU_TYPE} \ gdc-${CROSS_GNU_TYPE} \ gcj-${CROSS_GNU_TYPE} \ gobjc-${CROSS_GNU_TYPE} \ gobjc++-${CROSS_GNU_TYPE} \ gccgo-${CROSS_GNU_TYPE} \ pkg-config-${CROSS_GNU_TYPE} \ no_packages := packages := $(filter-out $(no_packages), $(all_packages)) # derived version number (without release) V_CPP := $(shell echo $(CV_CPP) | sed 's/-[^-]*$$//') V_GCC := $(shell echo $(CV_GCC) | sed 's/-[^-]*$$//') V_GPP := $(shell echo $(CV_GPP) | sed 's/-[^-]*$$//') V_GOBJC := $(shell echo $(CV_GOBJC) | sed 's/-[^-]*$$//') V_GOBJCXX := $(shell echo $(CV_GOBJCXX) | sed 's/-[^-]*$$//') V_GFORT := $(shell echo $(CV_GFORT) | sed 's/-[^-]*$$//') V_GGO := $(shell echo $(CV_GGO) | sed 's/-[^-]*$$//') V_GDC := $(shell echo $(CV_GDC) | sed 's/-[^-]*$$//') V_GCJ := $(shell echo $(CV_GCJ) | sed 's/-[^-]*$$//') # number for the package name PV_CPP := $(shell echo $(V_CPP) | awk -F. '{printf "%d.%d", $$1, $$2}') PV_GCC := $(shell echo $(V_GCC) | awk -F. '{printf "%d.%d", $$1, $$2}') PV_GPP := $(shell echo $(V_GPP) | awk -F. '{printf "%d.%d", $$1, $$2}') PV_GOBJC:= $(shell echo $(V_GOBJC) | awk -F. '{printf "%d.%d", $$1, $$2}') PV_GOBJCXX:= $(shell echo $(V_GOBJCXX) | awk -F. '{printf "%d.%d", $$1, $$2}') PV_GFORT:= $(shell echo $(V_GFORT) | awk -F. '{printf "%d.%d", $$1, $$2}') PV_GGO := $(shell echo $(V_GGO) | awk -F. '{printf "%d.%d", $$1, $$2}') PV_GDC := $(shell echo $(V_GDC) | awk -F. '{printf "%d.%d", $$1, $$2}') PV_GCJ := $(shell echo $(V_GCJ) | awk -F. '{printf "%d.%d", $$1, $$2}') substvars: ( \ echo 'version:cpp=$(EPOCH):$(CV_CPP)'; \ echo 'version:gcc=$(EPOCH):$(CV_GCC)'; \ echo 'version:gpp=$(EPOCH):$(CV_GPP)'; \ echo 'version:gobjc=$(EPOCH):$(CV_GOBJC)'; \ echo 'version:gfort=$(EPOCH):$(CV_GFORT)'; \ echo 'pv:cpp=$(PV_CPP)'; \ echo 'pv:gcc=$(PV_GCC)'; \ echo 'pv:gpp=$(PV_GPP)'; \ echo 'pv:gobjc=$(PV_GOBJC)'; \ echo 'pv:gobjcxx=$(PV_GOBJCXX)'; \ echo 'pv:gfort=$(PV_GFORT)'; \ echo 'pv:ggo=$(PV_GGO)'; \ echo 'pv:gdc=$(PV_GDC)'; \ echo 'pv:gcj=$(PV_GCJ)'; \ echo 'reqv:cpp=$(REQV_CPP)'; \ echo 'reqv:gcc=$(REQV_GCC)'; \ echo 'reqv:gpp=$(REQV_GPP)'; \ echo 'reqv:gobjc=$(REQV_GOBJC)'; \ echo 'reqv:gobjcxx=$(REQV_GOBJCXX)'; \ echo 'reqv:gfort=$(REQV_GFORT)'; \ echo 'reqv:ggo=$(REQV_GGO)'; \ echo 'reqv:gdc=$(REQV_GDC)'; \ echo 'reqv:gcj=$(REQV_GCJ)'; \ ) > debian/substvars.local build: build-stamp build-stamp: dh_testdir touch build-stamp clean: dh_testdir dh_testroot rm -f *-stamp rm -rf build rm -f debian/control.tmp* rm -f debian/substvars.local rm -rf *-${CROSS_GNU_TYPE} rm -f *-stamp dh_clean install: build substvars dh_testdir dh_testroot dh_clean -k for p in `dh_listpackages`; do \ cp -l debian/substvars.local debian/$$p.substvars; \ done nopkgs :=-s $(foreach p, $(no_packages),-N$(p)) build-indep: binary-indep: build-indep : build-arch: build binary-arch: build-arch install dh_testdir dh_testroot # dh_installdebconf dh_installdocs -pcpp-${CROSS_GNU_TYPE} for p in `dh_listpackages $(nopkgs) -Ncpp-${CROSS_GNU_TYPE} -Npkg-config-${CROSS_GNU_TYPE}`; do \ echo ln -sf cpp-${CROSS_GNU_TYPE} debian/$$p/usr/share/doc/$$p; \ mkdir -p debian/$$p/usr/share/doc; \ rm -f debian/$$p/usr/share/doc/$$p; \ ln -sf cpp-${CROSS_GNU_TYPE} debian/$$p/usr/share/doc/$$p; \ done dh_link -ppkg-config-${CROSS_GNU_TYPE} \ /usr/share/pkg-config-crosswrapper /usr/bin/${CROSS_GNU_TYPE}-pkg-config dh_link -pcpp-${CROSS_GNU_TYPE} \ /usr/bin/${CROSS_GNU_TYPE}-cpp-$(PV_CPP) /usr/bin/${CROSS_GNU_TYPE}-cpp \ /usr/share/man/man1/${CROSS_GNU_TYPE}-cpp-$(PV_CPP).1.gz /usr/share/man/man1/${CROSS_GNU_TYPE}-cpp.1.gz dh_link -pgcc-${CROSS_GNU_TYPE} \ /usr/bin/${CROSS_GNU_TYPE}-gcc-$(PV_GCC) /usr/bin/${CROSS_GNU_TYPE}-gcc \ /usr/bin/${CROSS_GNU_TYPE}-gcov-$(PV_GCC) /usr/bin/${CROSS_GNU_TYPE}-gcov \ /usr/share/man/man1/${CROSS_GNU_TYPE}-gcc-$(PV_GCC).1.gz /usr/share/man/man1/${CROSS_GNU_TYPE}-gcc.1.gz \ /usr/share/man/man1/${CROSS_GNU_TYPE}-gcov-$(PV_GCC).1.gz /usr/share/man/man1/${CROSS_GNU_TYPE}-gcov.1.gz dh_link -pg++-${CROSS_GNU_TYPE} \ /usr/bin/${CROSS_GNU_TYPE}-g++-$(PV_GPP) /usr/bin/${CROSS_GNU_TYPE}-g++ \ /usr/share/man/man1/${CROSS_GNU_TYPE}-g++-$(PV_GPP).1.gz /usr/share/man/man1/${CROSS_GNU_TYPE}-g++.1.gz \ dh_link -pgfortran-${CROSS_GNU_TYPE} \ /usr/bin/${CROSS_GNU_TYPE}-gfortran-$(PV_GFORT) /usr/bin/${CROSS_GNU_TYPE}-gfortran \ /usr/share/man/man1/${CROSS_GNU_TYPE}-gfortran-$(PV_GFORT).1.gz /usr/share/man/man1/${CROSS_GNU_TYPE}-gfortran.1.gz dh_link -pgccgo-${CROSS_GNU_TYPE} \ /usr/bin/${CROSS_GNU_TYPE}-gccgo-$(PV_GGO) /usr/bin/${CROSS_GNU_TYPE}-gccgo \ /usr/share/man/man1/${CROSS_GNU_TYPE}-gccgo-$(PV_GGO).1.gz /usr/share/man/man1/${CROSS_GNU_TYPE}-gccgo.1.gz dh_link -pgdc-${CROSS_GNU_TYPE} \ /usr/bin/${CROSS_GNU_TYPE}-gdc-$(PV_GDC) /usr/bin/${CROSS_GNU_TYPE}-gdc \ /usr/share/man/man1/${CROSS_GNU_TYPE}-gdc-$(PV_GDC).1.gz /usr/share/man/man1/${CROSS_GNU_TYPE}-gdc.1.gz dh_link -pgcj-${CROSS_GNU_TYPE} \ /usr/bin/${CROSS_GNU_TYPE}-gcj-$(PV_GCJ) /usr/bin/${CROSS_GNU_TYPE}-gcj \ /usr/share/man/man1/${CROSS_GNU_TYPE}-gcj-$(PV_GCJ).1.gz /usr/share/man/man1/${CROSS_GNU_TYPE}-gcj.1.gz dh_installchangelogs -pcpp-${CROSS_GNU_TYPE} mv debian/cpp-${CROSS_GNU_TYPE}/usr/share/doc/cpp-${CROSS_GNU_TYPE}/changelog \ debian/cpp-${CROSS_GNU_TYPE}/usr/share/doc/cpp-${CROSS_GNU_TYPE}/changelog.Debian dh_compress -s $(nopkgs) dh_fixperms -s $(nopkgs) dh_installdeb -s $(nopkgs) dh_gencontrol -pcpp-${CROSS_GNU_TYPE} -u-v$(EPOCH):$(CV_CPP) dh_gencontrol -pgcc-${CROSS_GNU_TYPE} -u-v$(EPOCH):$(CV_GCC) dh_gencontrol -ppkg-config-${CROSS_GNU_TYPE} -u-v$(EPOCH):$(CV_GCC) ifneq (,$(filter g++-${CROSS_GNU_TYPE}, $(packages))) dh_gencontrol -pg++-${CROSS_GNU_TYPE} -u-v$(EPOCH):$(CV_GPP) endif ifneq (,$(filter gobjc-${CROSS_GNU_TYPE}, $(packages))) dh_gencontrol -pgobjc-${CROSS_GNU_TYPE} -u-v$(EPOCH):$(CV_GOBJC) endif ifneq (,$(filter gobjc++-${CROSS_GNU_TYPE}, $(packages))) dh_gencontrol -pgobjc++-${CROSS_GNU_TYPE} -u-v$(EPOCH):$(CV_GOBJCXX) endif ifneq (,$(filter gfortran-${CROSS_GNU_TYPE}, $(packages))) dh_gencontrol -pgfortran-${CROSS_GNU_TYPE} -u-v$(EPOCH):$(CV_GFORT) endif ifneq (,$(filter gccgo-${CROSS_GNU_TYPE}, $(packages))) dh_gencontrol -pgccgo-${CROSS_GNU_TYPE} -u-v$(EPOCH):$(CV_GGO) endif ifneq (,$(filter gdc-${CROSS_GNU_TYPE}, $(packages))) dh_gencontrol -pgdc-${CROSS_GNU_TYPE} -u-v$(EPOCH):$(CV_GDC) endif ifneq (,$(filter gcj-${CROSS_GNU_TYPE}, $(packages))) dh_gencontrol -pgcj-${CROSS_GNU_TYPE} -u-v$(EPOCH):$(CV_GCJ) endif dh_md5sums -s $(nopkgs) dh_builddeb -s $(nopkgs) binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install control: sed -e "s/CROSS_ARCH/${CROSS_ARCH}/g" \ -e "s/CROSS_GNU_TYPE/${CROSS_GNU_TYPE}/g" \ -e "s/CROSS_GNU_TYPE/${CROSS_GNU_TYPE}/g" \ -e "s/MULTILIB/${MULTILIB}/g" \ -e "s/MULTIGOLIB/${MULTIGOLIB}/g" \ -e "s/MIN_VER_EGLIBC/${MIN_VER_EGLIBC}/g" \ -e "s/MIN_VER_LINUX/${MIN_VER_LINUX}/g" \ -e "s/VER_LINUX/${VER_LINUX}/g" \ -e "s/MIN_VER_GCC/${MIN_VER_GCC}/g" \ -e "s/VER_GCC_BASE/${VER_GCC_BASE}/g" \ -e "s/EXTRA_DEPS/${EXTRA_DEPS}/g" \ $(CURDIR)/debian/control.in >$(CURDIR)/debian/control