This file is indexed.

/usr/src/gcc-4.7/debian/rules.d/binary-libobjc.mk is in gcc-4.7-source 4.7.3-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
156
157
158
159
160
161
162
163
164
165
166
167
ifeq ($(with_libobjc),yes)
  $(lib_binaries) += libobjc
endif
ifeq ($(with_objcdev),yes)
  $(lib_binaries) += libobjc-dev
endif
ifeq ($(with_lib64objc),yes)
  $(lib_binaries)	+= lib64objc
endif
ifeq ($(with_lib64objcdev),yes)
  $(lib_binaries)	+= lib64objc-dev
endif
ifeq ($(with_lib32objc),yes)
  $(lib_binaries)	+= lib32objc
endif
ifeq ($(with_lib32objcdev),yes)
  $(lib_binaries)	+= lib32objc-dev
endif
ifeq ($(with_libn32objc),yes)
  $(lib_binaries)	+= libn32objc
endif
ifeq ($(with_libn32objcdev),yes)
  $(lib_binaries)	+= libn32objc-dev
endif
ifeq ($(with_libx32objc),yes)
  $(lib_binaries)	+= libx32objc
endif
ifeq ($(with_libx32objcdev),yes)
  $(lib_binaries)	+= libx32objc-dev
endif
ifeq ($(with_libhfobjc),yes)
  $(lib_binaries)	+= libhfobjc
endif
ifeq ($(with_libhfobjcdev),yes)
  $(lib_binaries)	+= libhfobjc-dev
endif
ifeq ($(with_libsfobjc),yes)
  $(lib_binaries)	+= libsfobjc
endif
ifeq ($(with_libsfobjcdev),yes)
  $(lib_binaries)	+= libsfobjc-dev
endif

files_lobjcdev= \
	$(gcc_lib_dir)/include/objc

files_lobjc = \
	$(usr_lib$(2))/libobjc.so.*
ifeq ($(with_objc_gc),yes)
  files_lobjc += \
	$(usr_lib$(2))/libobjc_gc.so.*
endif

define __do_libobjc
	dh_testdir
	dh_testroot
	mv $(install_stamp) $(install_stamp)-tmp

	rm -rf $(d_l) $(d_d)
	dh_installdirs -p$(p_l) \
		$(usr_lib$(2))
	DH_COMPAT=2 dh_movefiles -p$(p_l) \
		$(files_lobjc)

	debian/dh_doclink -p$(p_l) $(p_base)
	debian/dh_doclink -p$(p_d) $(p_base)

	dh_strip -p$(p_l) --dbg-package=$(p_d)
	dh_compress -p$(p_l) -p$(p_d)
	dh_fixperms -p$(p_l) -p$(p_d)
	$(cross_makeshlibs) dh_makeshlibs -p$(p_l) -Xlibobjc_gc.so
	$(call cross_mangle_shlibs,$(p_l))
	$(ignshld)DIRNAME=$(subst n,,$(2)) $(cross_shlibdeps) dh_shlibdeps -p$(p_l) \
		$(call shlibdirs_to_search,$(subst objc$(OBJC_SONAME),gcc$(GCC_SONAME),$(p_l)),$(2))
	$(call cross_mangle_substvars,$(p_l))
	$(cross_gencontrol) dh_gencontrol -p$(p_l) -p$(p_d) \
		-- -v$(DEB_VERSION) $(common_substvars)
	$(call cross_mangle_control,$(p_l))
	dh_installdeb -p$(p_l) -p$(p_d)
	dh_md5sums -p$(p_l) -p$(p_d)
	dh_builddeb -p$(p_l) -p$(p_d)

	trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
endef


define __do_libobjc_dev
	dh_testdir
	dh_testroot
	mv $(install_stamp) $(install_stamp)-tmp

	rm -rf $(d_l)
	dh_installdirs -p$(p_l) \
		$(gcc_lib_dir$(2))
	DH_COMPAT=2 dh_movefiles -p$(p_l) \
		$(files_lobjcdev)

	$(call install_gcc_lib,libobjc,$(OBJC_SONAME),$(2),$(p_l))
	$(if $(filter yes,$(with_objc_gc)),
		dh_link -p$(p_l) \
		  /$(usr_lib$(2))/libobjc_gc.so.$(OBJC_SONAME) \
		  /$(gcc_lib_dir$(2))/libobjc_gc.so
	)

	debian/dh_doclink -p$(p_l) $(p_base)

	dh_compress -p$(p_l)
	dh_fixperms -p$(p_l)
	$(cross_gencontrol) dh_gencontrol -p$(p_l) \
		-- -v$(DEB_VERSION) $(common_substvars)
	$(call cross_mangle_control,$(p_l))
	dh_installdeb -p$(p_l)
	dh_md5sums -p$(p_l)
	dh_builddeb -p$(p_l)

	trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
endef



# ----------------------------------------------------------------------

do_libobjc = $(call __do_libobjc,lib$(1)objc$(OBJC_SONAME),$(1))
do_libobjc_dev = $(call __do_libobjc_dev,lib$(1)objc-$(BASE_VERSION)-dev,$(1))

$(binary_stamp)-libobjc: $(install_stamp)
	$(call do_libobjc,)

$(binary_stamp)-lib64objc: $(install_stamp)
	$(call do_libobjc,64)

$(binary_stamp)-lib32objc: $(install_stamp)
	$(call do_libobjc,32)

$(binary_stamp)-libn32objc: $(install_stamp)
	$(call do_libobjc,n32)

$(binary_stamp)-libx32objc: $(install_stamp)
	$(call do_libobjc,x32)

$(binary_stamp)-libhfobjc: $(install_stamp)
	$(call do_libobjc,hf)

$(binary_stamp)-libsfobjc: $(install_stamp)
	$(call do_libobjc,sf)


$(binary_stamp)-libobjc-dev: $(install_stamp)
	$(call do_libobjc_dev,)

$(binary_stamp)-lib64objc-dev: $(install_stamp)
	$(call do_libobjc_dev,64)

$(binary_stamp)-lib32objc-dev: $(install_stamp)
	$(call do_libobjc_dev,32)

$(binary_stamp)-libx32objc-dev: $(install_stamp)
	$(call do_libobjc_dev,x32)

$(binary_stamp)-libn32objc-dev: $(install_stamp)
	$(call do_libobjc_dev,n32)

$(binary_stamp)-libhfobjc-dev: $(install_stamp)
	$(call do_libobjc_dev,hf)

$(binary_stamp)-libsfobjc-dev: $(install_stamp)
	$(call do_libobjc_dev,sf)