~ubuntu-branches/debian/sid/gcc-4.8/sid

« back to all changes in this revision

Viewing changes to .svn/pristine/cd/cd9311dfe8f19ad96e335464b2fac4b13238fbf0.svn-base

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-12-19 19:48:34 UTC
  • Revision ID: package-import@ubuntu.com-20141219194834-4dz1q7rrn5pad823
Tags: 4.8.4-1
* GCC 4.8.4 release.
  - Fix PR target/61407 (darwin), PR middle-end/58624 (ice),
    PR sanitizer/64265 (wrong code).
* Require recent binutils to pass go test failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
$(lib_binaries)  += libqmath
 
2
ifeq ($(with_lib64qmath),yes)
 
3
  $(lib_binaries)  += lib64qmath
 
4
endif
 
5
ifeq ($(with_lib32qmath),yes)
 
6
  $(lib_binaries)       += lib32qmath
 
7
endif
 
8
ifeq ($(with_libn32qmath),yes)
 
9
  $(lib_binaries)       += libn32qmath
 
10
endif
 
11
ifeq ($(with_libx32qmath),yes)
 
12
  $(lib_binaries)       += libx32qmath
 
13
endif
 
14
ifeq ($(with_libhfqmath),yes)
 
15
  $(lib_binaries)       += libhfqmath
 
16
endif
 
17
ifeq ($(with_libsfqmath),yes)
 
18
  $(lib_binaries)       += libsfqmath
 
19
endif
 
20
 
 
21
define __do_qmath
 
22
        dh_testdir
 
23
        dh_testroot
 
24
        mv $(install_stamp) $(install_stamp)-tmp
 
25
 
 
26
        rm -rf $(d_l) $(d_d)
 
27
        dh_installdirs -p$(p_l) $(usr_lib$(2))
 
28
        DH_COMPAT=2 dh_movefiles -p$(p_l) $(usr_lib$(2))/libquadmath.so.*
 
29
 
 
30
        debian/dh_doclink -p$(p_l) $(p_base)
 
31
        debian/dh_doclink -p$(p_d) $(p_base)
 
32
 
 
33
        dh_strip -p$(p_l) --dbg-package=$(p_d)
 
34
        dh_compress -p$(p_l) -p$(p_d)
 
35
        dh_fixperms -p$(p_l) -p$(p_d)
 
36
        $(cross_makeshlibs) dh_makeshlibs -p$(p_l)
 
37
        $(call cross_mangle_shlibs,$(p_l))
 
38
        $(cross_shlibdeps) dh_shlibdeps -p$(p_l) \
 
39
                $(call shlibdirs_to_search,,$(2))
 
40
        $(call cross_mangle_substvars,$(p_l))
 
41
        $(cross_gencontrol) dh_gencontrol -p$(p_l) -p$(p_d)     \
 
42
                -- -v$(DEB_VERSION) $(common_substvars)
 
43
        $(call cross_mangle_control,$(p_l))
 
44
        dh_installdeb -p$(p_l) -p$(p_d)
 
45
        dh_md5sums -p$(p_l) -p$(p_d)
 
46
        dh_builddeb -p$(p_l) -p$(p_d)
 
47
 
 
48
        trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
 
49
endef
 
50
 
 
51
# ----------------------------------------------------------------------
 
52
 
 
53
do_qmath = $(call __do_qmath,lib$(1)quadmath$(QMATH_SONAME),$(1))
 
54
 
 
55
$(binary_stamp)-libqmath: $(install_stamp)
 
56
        $(call do_qmath,)
 
57
 
 
58
$(binary_stamp)-lib64qmath: $(install_stamp)
 
59
        $(call do_qmath,64)
 
60
 
 
61
$(binary_stamp)-lib32qmath: $(install_stamp)
 
62
        $(call do_qmath,32)
 
63
 
 
64
$(binary_stamp)-libn32qmath: $(install_stamp)
 
65
        $(call do_qmath,n32)
 
66
 
 
67
$(binary_stamp)-libx32qmath: $(install_stamp)
 
68
        $(call do_qmath,x32)
 
69
 
 
70
$(binary_stamp)-libhfqmath: $(install_stamp)
 
71
        $(call do_qmath,hf)
 
72
 
 
73
$(binary_stamp)-libsfqmath: $(install_stamp)
 
74
        $(call do_qmath,sf)