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)
|
||||
|
||||
ifdef subdir-dirs
|
||||
vpath %.c $(addprefix $(subdir)/,$(subdir-dirs))
|
||||
vpath % $(addprefix $(subdir)/,$(subdir-dirs))
|
||||
endif
|
||||
|
||||
# Now find all the sysdep versions of those files.
|
||||
|
@ -793,8 +793,8 @@ distinfo: Makefile $(..)Makerules
|
||||
|
||||
define distinfo-vars
|
||||
rm -f $@.new
|
||||
$(foreach var,subdir subdir-dirs sources elided-routines headers distribute \
|
||||
dont_distribute generated others tests \
|
||||
$(foreach var,subdir subdir-dirs sources elided-routines sysdep_routines \
|
||||
headers distribute dont_distribute generated others tests \
|
||||
extra-libs $(extra-libs:%=%-routines),
|
||||
echo >> $@.new '$(var) := $($(var))')
|
||||
echo >> $@.new 'sources += $$(addsuffix .c,$$(elided-routines))'
|
||||
|
@ -37,6 +37,7 @@ install-bin = localedef locale
|
||||
extra-objs = $(localedef-modules:=.o) $(locale-modules:=.o) \
|
||||
$(lib-modules:=.o)
|
||||
|
||||
subdir-dirs = programs
|
||||
vpath %.c programs
|
||||
vpath %.h programs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user