mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-06 14:10:30 +08:00
Use it in dependency list of installation targets.
This commit is contained in:
parent
1a4ffda300
commit
04bc415a06
2
Makefile
2
Makefile
@ -194,7 +194,7 @@ $(inst_includedir)/gnu/stubs.h: subdir_install
|
||||
|
||||
ifeq (yes,$(build-shared))
|
||||
|
||||
$(inst_includedir)/gnu/lib-names.h: $(common-objpfx)gnu/lib-names.h
|
||||
$(inst_includedir)/gnu/lib-names.h: $(common-objpfx)gnu/lib-names.h $(+force)
|
||||
if test -r $@ && cmp -s $< $@; \
|
||||
then echo 'gnu/lib-names.h unchanged'; \
|
||||
else $(INSTALL_DATA) $< $@; fi
|
||||
|
@ -52,11 +52,11 @@ endif
|
||||
$(objpfx)libdb.so: $(common-objpfx)libc.so
|
||||
|
||||
subdir_install: $(inst_libdir)/libndbm.a
|
||||
$(inst_libdir)/libndbm.a: $(inst_libdir)/libdb.a
|
||||
$(inst_libdir)/libndbm.a: $(inst_libdir)/libdb.a $(+force)
|
||||
$(make-link)
|
||||
|
||||
ifeq ($(build-shared),yes)
|
||||
subdir_install: $(inst_libdir)/libndbm.so
|
||||
$(inst_libdir)/libndbm.so: $(inst_libdir)/libdb.so
|
||||
$(inst_libdir)/libndbm.so: $(inst_libdir)/libdb.so $(+force)
|
||||
$(make-link)
|
||||
endif
|
||||
|
@ -124,7 +124,7 @@ CFLAGS-dl-load.c += -Wno-uninitialized
|
||||
# rule to build a shared library.
|
||||
$(objpfx)libdl.so: $(objpfx)libdl_pic.a $(common-objpfx)libc.so $(objpfx)ld.so
|
||||
|
||||
$(inst_slibdir)/$(rtld-version-installed-name): $(objpfx)ld.so
|
||||
$(inst_slibdir)/$(rtld-version-installed-name): $(objpfx)ld.so $(+force)
|
||||
$(do-install-program)
|
||||
|
||||
$(inst_slibdir)/$(rtld-installed-name): \
|
||||
|
@ -77,7 +77,7 @@ sunrpc-headers = netdb.h pmap_prot.h xdr.h types.h auth.h \
|
||||
installed-sunrpc-headers = $(addprefix $(inst_includedir)/rpc/, \
|
||||
$(sunrpc-headers))
|
||||
install-headers-nosubdir: $(installed-sunrpc-headers)
|
||||
$(installed-sunrpc-headers): $(inst_includedir)/%: $(..)sunrpc/%
|
||||
$(installed-sunrpc-headers): $(inst_includedir)/%: $(..)sunrpc/% $(+force)
|
||||
$(do-install)
|
||||
|
||||
|
||||
|
@ -32,7 +32,7 @@ include ../Rules
|
||||
CPPFLAGS += -D'GNULOCALEDIR="$(localedir)"' \
|
||||
-D'LOCALE_ALIAS_PATH="$(localedir):$(i18ndir)"'
|
||||
|
||||
$(inst_localedir)/locale.alias: locale.alias
|
||||
$(inst_localedir)/locale.alias: locale.alias $(+force)
|
||||
$(do-install)
|
||||
|
||||
ifdef gettext-srcdir
|
||||
|
@ -61,7 +61,7 @@ include ../Rules
|
||||
$(MSGFMT) -o $@ $<
|
||||
|
||||
# Install the message object files as libc.po in the language directory.
|
||||
$(mo-installed): %.mo; $(do-install) || exit 0
|
||||
$(mo-installed): %.mo $(+force); $(do-install) || exit 0
|
||||
|
||||
.PHONY: linguas linguas.mo
|
||||
linguas: $(ALL_LINGUAS:=.po)
|
||||
|
@ -106,12 +106,12 @@ rpcgen-cmd = $(built-program-cmd)
|
||||
# a shorter name. But if the filesystem can handle it, we want to
|
||||
# install under the proper name as well.
|
||||
$(inst_includedir)/rpcsvc/bootparam_prot.h: \
|
||||
$(inst_includedir)/rpcsvc/bootparam.h
|
||||
$(inst_includedir)/rpcsvc/bootparam.h $(+force)
|
||||
@echo It is safe to ignore an error here if this file name is too long.
|
||||
-$(do-install)
|
||||
|
||||
# Install the rpc data base file.
|
||||
$(inst_sysconfdir)/rpc: etc.rpc
|
||||
$(inst_sysconfdir)/rpc: etc.rpc $(+force)
|
||||
$(do-install)
|
||||
|
||||
defines := $(defines) -D_PATH_RPC='"$(sysconfdir)/rpc"'
|
||||
|
@ -104,8 +104,8 @@ libc-name = crt
|
||||
|
||||
ifeq (,$(subdir))
|
||||
install-others += $(inst_libdir)/libc.a $(inst_libdir)/libc_p.a
|
||||
$(inst_libdir)/libc.a: $(hurd)/libc-ldscript; $(do-install)
|
||||
$(inst_libdir)/libc_p.a: $(hurd)/libc_p-ldscript; $(do-install)
|
||||
$(inst_libdir)/libc.a: $(hurd)/libc-ldscript $(+force); $(do-install)
|
||||
$(inst_libdir)/libc_p.a: $(hurd)/libc_p-ldscript $(+force); $(do-install)
|
||||
endif
|
||||
|
||||
# Make sure these are used to build the libc.so shared object too.
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
ifeq (bare,$(subdir))
|
||||
install-others += $(inst_libdir)/force_cpu386.ld
|
||||
$(inst_libdir)/force_cpu386.ld: $(sysdep_dir)/standalone/i386/target.ld
|
||||
$(inst_libdir)/force_cpu386.ld: $(sysdep_dir)/standalone/i386/target.ld \
|
||||
$(+force)
|
||||
$(do-install)
|
||||
endif
|
||||
|
@ -139,7 +139,8 @@ target-zone-flavor = $(filter /posix /right, \
|
||||
$(patsubst $(inst_zonedir)/%,%,$@))))
|
||||
|
||||
ifdef localtime
|
||||
$(installed-localtime-file): $(inst_zonedir)/$(localtime) $(objpfx)zic
|
||||
$(installed-localtime-file): $(inst_zonedir)/$(localtime) $(objpfx)zic \
|
||||
$(+force)
|
||||
$(make-target-directory)
|
||||
if test -r $@; then \
|
||||
echo Site timezone NOT reset to Factory.; \
|
||||
@ -150,7 +151,8 @@ $(installed-localtime-file): $(inst_zonedir)/$(localtime) $(objpfx)zic
|
||||
fi
|
||||
endif
|
||||
ifdef posixrules
|
||||
$(installed-posixrules-file): $(inst_zonedir)/$(posixrules) $(objpfx)zic
|
||||
$(installed-posixrules-file): $(inst_zonedir)/$(posixrules) $(objpfx)zic \
|
||||
$(+force)
|
||||
$(zic-cmd) -p $(posixrules)
|
||||
endif
|
||||
|
||||
@ -193,5 +195,6 @@ $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
|
||||
chmod 555 $@.new
|
||||
mv -f $@.new $@
|
||||
|
||||
$(addprefix $(inst_zonedir)/,iso3166.tab zone.tab): $(inst_zonedir)/%: %
|
||||
$(addprefix $(inst_zonedir)/,iso3166.tab zone.tab): \
|
||||
$(inst_zonedir)/%: % $(+force)
|
||||
$(do-install)
|
||||
|
Loading…
x
Reference in New Issue
Block a user