diff options
author | Christopher Faylor <me@cgf.cx> | 2000-09-01 14:20:30 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-09-01 14:20:30 +0000 |
commit | b13be6f6fb07be0120e0e3e8593ad2f9453a4764 (patch) | |
tree | de30e689d4542499119b757a10c357b8cb4a678d /winsup/Makefile.common | |
parent | dc941354a1cab91227c5c762beed52c61a165f9e (diff) | |
download | newlib-b13be6f6fb07be0120e0e3e8593ad2f9453a4764.zip newlib-b13be6f6fb07be0120e0e3e8593ad2f9453a4764.tar.gz newlib-b13be6f6fb07be0120e0e3e8593ad2f9453a4764.tar.bz2 |
* Makefile.in: More normalization.
Diffstat (limited to 'winsup/Makefile.common')
-rw-r--r-- | winsup/Makefile.common | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/winsup/Makefile.common b/winsup/Makefile.common index be83ba4..a6a2008 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 |