/usr/src/gcc-5/debian/rules.d/binary-libssp.mk is in gcc-5-source 5.5.0-12ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | arch_binaries := $(arch_binaries) libssp
ifeq ($(with_lib64ssp),yes)
arch_binaries := $(arch_binaries) lib64ssp
endif
ifeq ($(with_lib32ssp),yes)
arch_binaries := $(arch_binaries) lib32ssp
endif
ifeq ($(with_libn32ssp),yes)
arch_binaries := $(arch_binaries) libn32ssp
endif
ifeq ($(with_libx32ssp),yes)
arch_binaries := $(arch_binaries) libx32ssp
endif
p_ssp = libssp$(SSP_SONAME)
p_ssp32 = lib32ssp$(SSP_SONAME)
p_ssp64 = lib64ssp$(SSP_SONAME)
p_sspx32 = libx32ssp$(SSP_SONAME)
p_sspd = libssp$(SSP_SONAME)-dev
d_ssp = debian/$(p_ssp)
d_ssp32 = debian/$(p_ssp32)
d_ssp64 = debian/$(p_ssp64)
d_sspx32 = debian/$(p_sspx32)
d_sspd = debian/$(p_sspd)
dirs_ssp = \
$(docdir)/$(p_base) \
$(PF)/$(libdir)
files_ssp = \
$(PF)/$(libdir)/libssp.so.*
dirs_sspd = \
$(docdir) \
$(PF)/include \
$(PF)/$(libdir)
files_sspd = \
$(gcc_lib_dir)/include/ssp \
$(PF)/$(libdir)/libssp.{a,so} \
$(PF)/$(libdir)/libssp_nonshared.a
ifeq ($(with_lib32ssp),yes)
dirs_sspd += $(lib32)
files_sspd += $(lib32)/libssp.{a,so}
files_sspd += $(lib32)/libssp_nonshared.a
endif
ifeq ($(with_lib64ssp),yes)
dirs_sspd += $(PF)/lib64
files_sspd += $(PF)/lib64/libssp.{a,so}
files_sspd += $(PF)/lib64/libssp_nonshared.a
endif
$(binary_stamp)-libssp: $(install_stamp)
dh_testdir
dh_testroot
mv $(install_stamp) $(install_stamp)-tmp
rm -rf $(d_ssp)
dh_installdirs -p$(p_ssp)
$(dh_compat2) dh_movefiles -p$(p_ssp) $(files_ssp)
debian/dh_doclink -p$(p_ssp) $(p_lbase)
debian/dh_rmemptydirs -p$(p_ssp)
dh_strip -p$(p_ssp)
dh_makeshlibs $(ldconfig_arg) -p$(p_ssp) -V '$(p_ssp) (>= $(DEB_SOVERSION))'
dh_shlibdeps -p$(p_ssp)
echo $(p_ssp) >> debian/arch_binaries
trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
# ----------------------------------------------------------------------
$(binary_stamp)-lib64ssp: $(install_stamp)
dh_testdir
dh_testroot
mv $(install_stamp) $(install_stamp)-tmp
rm -rf $(d_ssp64)
dh_installdirs -p$(p_ssp64) \
$(PF)/lib64
$(dh_compat2) dh_movefiles -p$(p_ssp64) \
$(PF)/lib64/libssp.so.*
debian/dh_doclink -p$(p_ssp64) $(p_lbase)
dh_strip -p$(p_ssp64)
dh_makeshlibs $(ldconfig_arg) -p$(p_ssp64) -V '$(p_ssp64) (>= $(DEB_SOVERSION))'
# dh_shlibdeps -p$(p_ssp64)
echo $(p_ssp64) >> debian/arch_binaries
trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
# ----------------------------------------------------------------------
$(binary_stamp)-lib32ssp: $(install_stamp)
dh_testdir
dh_testroot
mv $(install_stamp) $(install_stamp)-tmp
rm -rf $(d_ssp32)
dh_installdirs -p$(p_ssp32) \
$(lib32)
$(dh_compat2) dh_movefiles -p$(p_ssp32) \
$(lib32)/libssp.so.*
debian/dh_doclink -p$(p_ssp32) $(p_lbase)
dh_strip -p$(p_ssp32)
dh_makeshlibs $(ldconfig_arg) -p$(p_ssp32) -V '$(p_ssp32) (>= $(DEB_SOVERSION))'
# dh_shlibdeps -p$(p_ssp32)
echo $(p_ssp32) >> debian/arch_binaries
trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
# ----------------------------------------------------------------------
$(binary_stamp)-libn32ssp: $(install_stamp)
dh_testdir
dh_testroot
mv $(install_stamp) $(install_stamp)-tmp
rm -rf $(d_sspn32)
dh_installdirs -p$(p_sspn32) \
$(PF)/$(libn32)
$(dh_compat2) dh_movefiles -p$(p_sspn32) \
$(PF)/$(libn32)/libssp.so.*
debian/dh_doclink -p$(p_sspn32) $(p_lbase)
dh_strip -p$(p_sspn32)
dh_makeshlibs $(ldconfig_arg) -p$(p_sspn32) -V '$(p_sspn32) (>= $(DEB_SOVERSION))'
# dh_shlibdeps -p$(p_sspn32)
echo $(p_sspn32) >> debian/arch_binaries
trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
# ----------------------------------------------------------------------
$(binary_stamp)-libx32ssp: $(install_stamp)
dh_testdir
dh_testroot
mv $(install_stamp) $(install_stamp)-tmp
rm -rf $(d_sspx32)
dh_installdirs -p$(p_sspx32) \
$(PF)/$(libx32)
$(dh_compat2) dh_movefiles -p$(p_sspx32) \
$(PF)/$(libx32)/libssp.so.*
debian/dh_doclink -p$(p_sspx32) $(p_lbase)
dh_strip -p$(p_sspx32)
dh_makeshlibs $(ldconfig_arg) -p$(p_sspx32) -V '$(p_sspx32) (>= $(DEB_SOVERSION))'
# dh_shlibdeps -p$(p_sspx32)
echo $(p_sspx32) >> debian/arch_binaries
trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
|