/usr/src/gcc-4.8/debian/rules.d/binary-nof.mk is in gcc-4.8-source 4.8.5-4ubuntu2.
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 | arch_binaries := $(arch_binaries) nof
p_nof = gcc$(pkg_ver)-nof
d_nof = debian/$(p_nof)
dirs_nof = \
$(docdir) \
$(usr_lib)/nof
ifeq ($(with_cdev),yes)
dirs_nof += \
$(gcc_lib_dir)/nof
endif
ifeq ($(with_cdev),yes)
files_nof = \
$(libgcc_dir)/libgcc_s_nof.so.$(GCC_SONAME) \
$(gcc_lib_dir)/libgcc_s_nof.so \
$(usr_lib)/nof \
$(gcc_lib_dir)/nof
else
files_nof = \
$(usr_lib)/libgcc_s_nof.so.$(GCC_SONAME)
endif
# ----------------------------------------------------------------------
$(binary_stamp)-nof: $(install_stamp)
dh_testdir
dh_testroot
mv $(install_stamp) $(install_stamp)-tmp
mv $(d)/$(usr_lib)/libgcc_s_nof.so.$(GCC_SONAME) $(d)/$(libgcc_dir)/.
rm -f $(d)/$(usr_lib)/libgcc_s_nof.so
ln -sf $(libgcc_dir)/libgcc_s_nof.so.$(GCC_SONAME) \
$(d)/$(gcc_lib_dir)/libgcc_s_nof.so
rm -rf $(d_nof)
dh_installdirs -p$(p_nof) $(dirs_nof)
$(dh_compat2) dh_movefiles -p$(p_nof) $(files_nof)
debian/dh_doclink -p$(p_nof) $(p_xbase)
dh_strip -p$(p_nof)
dh_compress -p$(p_nof)
dh_fixperms -p$(p_nof)
dh_shlibdeps -p$(p_nof)
dh_makeshlibs -p$(p_nof)
: # Only keep the shlibs file for the libgcc_s_nof library
fgrep libgcc_s_nof debian/$(p_nof)/DEBIAN/shlibs \
> debian/$(p_nof)/DEBIAN/shlibs.tmp
mv -f debian/$(p_nof)/DEBIAN/shlibs.tmp debian/$(p_nof)/DEBIAN/shlibs
dh_gencontrol -p$(p_nof) -- -v$(DEB_VERSION) $(common_substvars)
dh_installdeb -p$(p_nof)
dh_md5sums -p$(p_nof)
dh_builddeb -p$(p_nof)
trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
|