summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1996-03-01 17:19:01 +0000
committerRoland McGrath <roland@redhat.com>1996-03-01 17:19:01 +0000
commitf9c4aae3bfa4fccd0d4f06e0463f8254f03146a1 (patch)
tree477c0f5fb7ae4226c9c4b9276b6ec9175b5b766e
parent74e456e107c279cb52a652bdc0c17c2b3581c155 (diff)
downloadgunmake-f9c4aae3bfa4fccd0d4f06e0463f8254f03146a1.tar.gz
(libc-srcdir) New var.
(stamp-glob): Use $(libc-srcdir).
-rw-r--r--GNUmakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 7358f46..76a27d2 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -151,15 +151,16 @@ $(prog): $(objs) $(globdep) #$(addprefix $(ARCH)/,gmalloc.o mcheck.o)
$(CC) $(LDFLAGS) $^ $(globlib) $(LOADLIBES) -o $@.new
mv -f $@.new $@
+libc-srcdir = /home/gd/gnu/libc
globfiles = $(addprefix glob/,COPYING.LIB configure.in configure Makefile.in \
configure.bat glob.c fnmatch.c glob.h fnmatch.h)
$(globfiles): stamp-glob ;
-stamp-glob: /home/gd/gnu/libc/posix/glob.tar
+stamp-glob: $(libc-srcdir)/posix/glob.tar
-rm -f stamp-glob glob/*
tar xvf $< glob
cvs commit -m'Updated from libc' glob
touch $@
-/home/gd/gnu/libc/posix/glob.tar: force
+$(libc-srcdir)/posix/glob.tar: force
$(MAKE) -C $(@D) $(@F) no_deps=t
.PHONY: force
force: