Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-09-01 18:20:30 +0400
committerChristopher Faylor <me@cgf.cx>2000-09-01 18:20:30 +0400
commitb13be6f6fb07be0120e0e3e8593ad2f9453a4764 (patch)
treede30e689d4542499119b757a10c357b8cb4a678d /winsup/Makefile.common
parentdc941354a1cab91227c5c762beed52c61a165f9e (diff)
* Makefile.in: More normalization.
Diffstat (limited to 'winsup/Makefile.common')
-rw-r--r--winsup/Makefile.common7
1 files changed, 3 insertions, 4 deletions
diff --git a/winsup/Makefile.common b/winsup/Makefile.common
index be83ba41b..a6a200812 100644
--- a/winsup/Makefile.common
+++ b/winsup/Makefile.common
@@ -28,13 +28,12 @@ endif
endif
pwd:=${shell pwd}
-dummy_pwd:=${word 1,${subst winsup/,winsup ,$(pwd)}}/foo
-ifneq (,${filter-out /%,$(dummy_pwd)})
- bupdir:=..
+here:=${word 1,${subst winsup/,winsup ,$(pwd)}}/cygwin
+bupdir:=${shell cd $(here)/..; pwd}
+ifneq (,${filter-out /%,$(bupdir)})
bupdir1:=../..
bupdir2:=../../..
else
- bupdir:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(dummy_pwd)):::}}
ifneq (,${findstring /,$(bupdir)})
bupdir1:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(bupdir)):::}}
else