Lines Matching refs:lib
295 before-compile += $(common-objpfx)gnu/lib-names.h
298 lib-names-h-abi = gnu/lib-names.h
299 lib-names-stmp-abi = gnu/lib-names.stmp
301 lib-names-h-abi = gnu/lib-names-$(default-abi).h
302 lib-names-stmp-abi = gnu/lib-names-$(default-abi).stmp
303 before-compile += $(common-objpfx)$(lib-names-h-abi)
304 common-generated += gnu/lib-names.h
305 install-others-nosubdir: $(inst_includedir)/$(lib-names-h-abi)
306 $(common-objpfx)gnu/lib-names.h:
321 echo '# include <gnu/lib-names-$(v).h>'); \
324 echo '#endif /* gnu/lib-names.h */'; \
327 $(common-objpfx)$(lib-names-h-abi): $(common-objpfx)$(lib-names-stmp-abi); @:
328 $(common-objpfx)$(lib-names-stmp-abi): $(..)scripts/lib-names.awk \
335 echo '# error "Never use <$(lib-names-h-abi)> directly; include <gnu/lib-names.h> instead."'; \
347 echo '#endif /* gnu/lib-names.h */';) \
352 common-generated += $(lib-names-h-abi) $(lib-names-stmp-abi)
532 lib%.so: lib%_pic.a $(+preinit) $(+postinit) $(link-libc-deps)
540 $(extra-B-$(@F:lib%.so=%).so) -B$(csu-objpfx) \
541 $(extra-B-$(@F:lib%.so=%).so) $(load-map-file) \
542 -Wl,-soname=lib$(libprefix)$(@F:lib%.so=%).so$($(@F)-version) \
543 $(LDFLAGS.so) $(LDFLAGS-lib.so) $(LDFLAGS-$(@F:lib%.so=%).so) \
600 # and it does not depend on the destination name to start with `lib'.
625 $(LDLIBS-$(@F:lib%.so=%).so) \
727 # extra-lib.mk is included once for each extra lib to define rules
729 # During its evaluation, $(lib) is set to the name of the library.
731 include $(patsubst %,$(..)extra-lib.mk,$(extra-libs))
741 lib := extramodules
748 lib := testsuite
825 .PHONY: lib lib-noranlib
826 lib: lib-noranlib $(foreach l,$(libtypes),$(patsubst %,$(common-objpfx)$l,c))
827 lib-noranlib: libobjs
836 others: $(addprefix $(objpfx),$(install-lib))
891 define build-extra-lib
902 # $(install-lib) are installed from the object directory into $(libdir);
903 # files in $(install-lib) matching `lib%.a' are ranlib'd after installation
904 # unless they also appear in $(non-lib.a). $(install-data) are installed as
956 $(installed-libcs): $(inst_libdir)/lib$(libprefix)%: lib $(+force)
958 $(INSTALL_DATA) $(common-objpfx)lib$(*:$(libc-name)%=c%) $@
972 install-lib.so := $(filter %.so,$(install-lib:%_pic.a=%.so))
973 install-lib := $(filter-out %.so %_pic.a,$(install-lib))
977 versioned := $(strip $(foreach so,$(install-lib.so),\
980 install-lib.so-versioned := $(filter $(versioned), $(install-lib.so))
981 install-lib.so-unversioned := $(filter-out $(versioned), $(install-lib.so))
986 install-lib-nosubdir: $(install-lib.so-unversioned:%=$(inst_slibdir)/%) \
987 $(foreach L,$(install-lib.so-versioned),\
992 $(install-lib.so-unversioned:%=$(inst_slibdir)/%): $(inst_slibdir)/%.so: \
1076 object-suffixes-left := $(filter-out $(install-lib-ldscripts),$(versioned))
1106 so-versions := $(sort $(foreach so,$(install-lib.so),.so$($(so)-version)))
1108 $(inst_slibdir)/lib$(libprefix)%$v): $(common-objpfx)lib%.so \
1136 ifdef install-lib
1137 install-lib.a := $(filter lib%.a,$(install-lib))
1138 install-lib.a := $(filter-out $(install-lib-ldscripts),$(install-lib.a))
1139 install-lib-non.a := $(filter-out lib%.a,$(install-lib))
1140 ifdef install-lib-non.a
1141 $(addprefix $(inst_libdir)/$(libprefix),$(install-lib-non.a)): \
1145 ifdef install-lib.a
1146 $(install-lib.a:lib%.a=$(inst_libdir)/lib$(libprefix)%.a): \
1147 $(inst_libdir)/lib$(libprefix)%.a: $(objpfx)lib%.a $(+force)
1177 install-rootsbin-nosubdir install-sbin-nosubdir install-lib-nosubdir \
1184 install-lib-nosubdir: $(addprefix $(inst_libdir)/,\
1185 $(patsubst lib%.a,lib$(libprefix)%.a,$(install-lib.a)) \
1186 $(addprefix $(libprefix),$(install-lib-non.a)))
1200 install-lib-nosubdir install-others-nosubdir
1249 lib := testsuite
1256 lib := nonlib
1266 lib := testsuite-internal
1329 update-abi: $(patsubst %.so,update-abi-%,$(install-lib.so-versioned))
1330 update-all-abi: $(patsubst %.so,update-all-abi-%,$(install-lib.so-versioned))
1332 $(install-lib.so-versioned))
1448 $(install-lib) $(install-lib.so) \
1449 $(install-lib.so:%.so=%_pic.a))
1490 $(gpl2lgpl): %: $(..)gpl2lgpl.sed /home/gd/gnu/lib/%