mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
Wed Jun 5 15:10:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* Make-dist [subdir-dirs]: Set vpath for %, not just %.c.
This commit is contained in:
parent
aa592a63f9
commit
df7c0d2312
@ -76,7 +76,7 @@ foo:=$(shell echo 'stub/generic +sysdeps=$(+sysdeps)'>&2)
|
|||||||
foo:=$(shell echo '+sysdep-names=$(+sysdep-names)' >&2)
|
foo:=$(shell echo '+sysdep-names=$(+sysdep-names)' >&2)
|
||||||
|
|
||||||
ifdef subdir-dirs
|
ifdef subdir-dirs
|
||||||
vpath %.c $(addprefix $(subdir)/,$(subdir-dirs))
|
vpath % $(addprefix $(subdir)/,$(subdir-dirs))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Now find all the sysdep versions of those files.
|
# Now find all the sysdep versions of those files.
|
||||||
|
@ -793,8 +793,8 @@ distinfo: Makefile $(..)Makerules
|
|||||||
|
|
||||||
define distinfo-vars
|
define distinfo-vars
|
||||||
rm -f $@.new
|
rm -f $@.new
|
||||||
$(foreach var,subdir subdir-dirs sources elided-routines headers distribute \
|
$(foreach var,subdir subdir-dirs sources elided-routines sysdep_routines \
|
||||||
dont_distribute generated others tests \
|
headers distribute dont_distribute generated others tests \
|
||||||
extra-libs $(extra-libs:%=%-routines),
|
extra-libs $(extra-libs:%=%-routines),
|
||||||
echo >> $@.new '$(var) := $($(var))')
|
echo >> $@.new '$(var) := $($(var))')
|
||||||
echo >> $@.new 'sources += $$(addsuffix .c,$$(elided-routines))'
|
echo >> $@.new 'sources += $$(addsuffix .c,$$(elided-routines))'
|
||||||
|
@ -37,6 +37,7 @@ install-bin = localedef locale
|
|||||||
extra-objs = $(localedef-modules:=.o) $(locale-modules:=.o) \
|
extra-objs = $(localedef-modules:=.o) $(locale-modules:=.o) \
|
||||||
$(lib-modules:=.o)
|
$(lib-modules:=.o)
|
||||||
|
|
||||||
|
subdir-dirs = programs
|
||||||
vpath %.c programs
|
vpath %.c programs
|
||||||
vpath %.h programs
|
vpath %.h programs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user