/usr/src/gcc-5/debian/rules.d/binary-libgccjit.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 | ifeq ($(with_libgccjit),yes)
$(lib_binaries) += libgccjit
endif
$(lib_binaries) += libgccjitdev
ifneq ($(DEB_CROSS),yes)
indep_binaries := $(indep_binaries) libgccjitdoc
endif
p_jitlib = libgccjit$(GCCJIT_SONAME)
p_jitdev = libgccjit$(pkg_ver)-dev
p_jitdbg = libgccjit$(pkg_ver)-dbg
p_jitdoc = libgccjit$(pkg_ver)-doc
d_jitlib = debian/$(p_jitlib)
d_jitdev = debian/$(p_jitdev)
d_jitdbg = debian/$(p_jitdbg)
d_jitdoc = debian/$(p_jitdoc)
$(binary_stamp)-libgccjit: $(install_jit_stamp)
dh_testdir
dh_testroot
mv $(install_stamp) $(install_stamp)-tmp
rm -rf $(d_jitlib) $(d_jitdbg)
dh_installdirs -p$(p_jitlib) \
$(usr_lib)
dh_installdirs -p$(p_jitdbg)
$(dh_compat2) dh_movefiles -p$(p_jitlib) \
$(usr_lib)/libgccjit.so.*
rm -f $(d)/$(usr_lib)/libgccjit.so
debian/dh_doclink -p$(p_jitlib) $(p_base)
debian/dh_doclink -p$(p_jitdbg) $(p_base)
dh_strip -p$(p_jitlib) --dbg-package=$(p_jitdbg)
$(cross_makeshlibs) dh_makeshlibs -p$(p_jitlib)
$(call cross_mangle_shlibs,$(p_jitlib))
$(ignshld)$(cross_shlibdeps) dh_shlibdeps -p$(p_jitlib) \
$(if $(filter yes, $(with_common_libs)),,-- -Ldebian/shlibs.common$(2))
$(call cross_mangle_substvars,$(p_jitlib))
echo $(p_jitlib) $(p_jitdbg) >> debian/arch_binaries
trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
touch $@
$(binary_stamp)-libgccjitdev: $(install_jit_stamp)
dh_testdir
dh_testroot
mv $(install_stamp) $(install_stamp)-tmp
rm -rf $(d_jitdev)
dh_installdirs -p$(p_jitdev) \
$(usr_lib) \
$(gcc_lib_dir)/include
rm -f $(d)/$(usr_lib)/libgccjit.so
$(dh_compat2) dh_movefiles -p$(p_jitdev) \
$(gcc_lib_dir)/include/libgccjit*.h
dh_link -p$(p_jitdev) \
$(usr_lib)/libgccjit.so.$(GCCJIT_SONAME) $(gcc_lib_dir)/libgccjit.so
debian/dh_doclink -p$(p_jitdev) $(p_base)
echo $(p_jitdev) >> debian/arch_binaries
trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
touch $@
$(binary_stamp)-libgccjitdoc: $(install_jit_stamp)
dh_testdir
dh_testroot
mv $(install_stamp) $(install_stamp)-tmp
rm -rf $(d_jitdoc)
dh_installdirs -p$(p_jitdoc) \
$(PF)/share/info
$(dh_compat2) dh_movefiles -p$(p_jitdoc) \
$(PF)/share/info/libgccjit*
debian/dh_doclink -p$(p_jitdoc) $(p_base)
echo $(p_jitdoc) >> debian/indep_binaries
trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
touch $@
|