* Makefile.in: Normalize 'pwd' based on location of winsup.

This commit is contained in:
Christopher Faylor 2000-08-31 20:39:32 +00:00
parent 83a27d401a
commit dc941354a1
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Thu Aug 31 16:37:31 2000 Christopher Faylor <cgf@cygnus.com>
* Makefile.in: Normalize 'pwd' based on location of winsup.
Thu Aug 24 15:02:26 2000 Christopher Faylor <cgf@cygnus.com>
* Makefile.common: Add bupdir2 to reference above the i686-pc-cygwin

View File

@ -28,12 +28,13 @@ endif
endif
pwd:=${shell pwd}
ifneq (,${filter-out /%,$(pwd)})
dummy_pwd:=${word 1,${subst winsup/,winsup ,$(pwd)}}/foo
ifneq (,${filter-out /%,$(dummy_pwd)})
bupdir:=..
bupdir1:=../..
bupdir2:=../../..
else
bupdir:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(pwd)):::}}
bupdir:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(dummy_pwd)):::}}
ifneq (,${findstring /,$(bupdir)})
bupdir1:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(bupdir)):::}}
else