Use +force in dependency list of installation targets.
authordrepper <drepper>
Thu, 9 Apr 1998 10:12:06 +0000 (10:12 +0000)
committerdrepper <drepper>
Thu, 9 Apr 1998 10:12:06 +0000 (10:12 +0000)
14 files changed:
db/Makefile
db2/Makefile
elf/Makefile
iconv/Makefile
iconvdata/Makefile
intl/Makefile
localedata/Makefile
login/Makefile
po/Makefile
sunrpc/Makefile
sysdeps/mach/hurd/Makefile
sysdeps/standalone/i386/force_cpu386/Makefile
sysdeps/unix/sysv/linux/Makefile
timezone/Makefile

index 2d742d1..e9817e2 100644 (file)
@@ -53,11 +53,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
index 2d95bd7..594b802 100644 (file)
@@ -112,11 +112,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
index 70b0c6a..8ad8d98 100644 (file)
@@ -155,7 +155,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): \
index afe48d9..783b1d5 100644 (file)
@@ -35,5 +35,5 @@ include ../Rules
 
 subdir_install: $(inst_bindir)/iconv
 
-$(inst_bindir)/iconv: $(objpfx)iconv_prog
+$(inst_bindir)/iconv: $(objpfx)iconv_prog $(+force)
        $(do-install-program)
index cd635d8..f549091 100644 (file)
@@ -184,9 +184,10 @@ endif
 headers: $(sed-generated-headers) $(perl-generated-headers)
 
 
-$(addprefix $(inst_gconvdir)/, $(modules.so)): $(inst_gconvdir)/%: $(objpfx)%
+$(addprefix $(inst_gconvdir)/, $(modules.so)): \
+    $(inst_gconvdir)/%: $(objpfx)% $(+force)
        $(do-install-program)
-$(inst_gconvdir)/gconv-modules: gconv-modules
+$(inst_gconvdir)/gconv-modules: gconv-modules $(+force)
        $(do-install)
 endif
 
index 9ee9ba4..c6d58da 100644 (file)
@@ -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
index dac6620..25dde67 100644 (file)
@@ -55,8 +55,8 @@ install-others := $(addprefix $(inst_i18ndir)/, $(charmaps) $(locales))
 include ../Rules
 
 # Install the source files in the appropriate directories.
-$(inst_i18ndir)/charmaps/%: charmaps/%; $(do-install)
-$(inst_i18ndir)/locales/%: locales/%; $(do-install)
+$(inst_i18ndir)/charmaps/%: charmaps/% $(+force); $(do-install)
+$(inst_i18ndir)/locales/%: locales/% $(+force); $(do-install)
 
 
 ifeq (no,$(cross-compiling))
index e203e9a..5f7861b 100644 (file)
@@ -53,7 +53,7 @@ libutil-map   := libutil.map
 include ../Rules
 
 # pt_chown needs to be setuid root.
-$(inst_libexecdir)/pt_chown: $(objpfx)pt_chown
+$(inst_libexecdir)/pt_chown: $(objpfx)pt_chown $(+force)
        $(make-target-directory)
        -$(INSTALL) -m 4755 -o root $< $@
 
index 4056201..e1a5314 100644 (file)
@@ -59,7 +59,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)
index c0c9288..25a62a2 100644 (file)
@@ -124,12 +124,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)
 \f
 # Generate the rpcsvc headers with rpcgen.
index 9f1ce74..454ac8f 100644 (file)
@@ -106,8 +106,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.
index a51ed7f..3ed0964 100644 (file)
@@ -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
index 9abab1e..3d52210 100644 (file)
@@ -37,7 +37,7 @@ $(objpfx)syscall-%.h $(objpfx)syscall-%.d: ../sysdeps/unix/sysv/linux/sys/syscal
        } > $(@:.d=.h).new
        mv -f $(@:.d=.h).new $(@:.d=.h)
 
-$(inst_includedir)/bits/syscall.h: $(objpfx)syscall-list.h
+$(inst_includedir)/bits/syscall.h: $(objpfx)syscall-list.h $(+force)
        $(make-target-directory)
        if test -r $@ && cmp -s $< $@; \
         then echo 'bits/syscall.h unchanged'; \
index fc8b598..3d05109 100644 (file)
@@ -136,7 +136,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.; \
@@ -147,7 +148,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
 
@@ -188,5 +190,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)