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-08-24 23:05:38 +0400
committerChristopher Faylor <me@cgf.cx>2000-08-24 23:05:38 +0400
commit5f3cb291b1b78ae000abbc794c1cd158034634bd (patch)
tree5d3d7b23ff88ecb5390c34cffb4a85f29583b291 /winsup/Makefile.common
parent0ad10c0f96c86c1727559b91efe347484c3c1fa1 (diff)
* Makefile.common: Add bupdir2 to reference above the i686-pc-cygwin directory.
Diffstat (limited to 'winsup/Makefile.common')
-rw-r--r--winsup/Makefile.common10
1 files changed, 8 insertions, 2 deletions
diff --git a/winsup/Makefile.common b/winsup/Makefile.common
index c5e19f3a5..550aaddfc 100644
--- a/winsup/Makefile.common
+++ b/winsup/Makefile.common
@@ -11,8 +11,8 @@
# This makefile requires GNU make.
CFLAGS_COMMON:=-Wall -Wwrite-strings # -finline-functions
-MALLOC_DEBUG:=#-DMALLOC_DEBUG -I/cygnus/src/sourceware/winsup/dlmalloc
-MALLOC_OBJ:=#/cygnus/src/sourceware/winsup/dlmalloc/malloc.o
+MALLOC_DEBUG:=#-DMALLOC_DEBUG -I/cygnus/src/sourceware/winsup/cygwin/dlmalloc
+MALLOC_OBJ:=#/cygnus/src/sourceware/winsup/cygwin/dlmalloc/malloc.o
override srcdir:=${shell cd $(srcdir); pwd}
ifneq (,${filter-out /%,$(srcdir)})
@@ -31,6 +31,7 @@ pwd:=${shell pwd}
ifneq (,${filter-out /%,$(pwd)})
bupdir:=..
bupdir1:=../..
+ bupdir2:=../../..
else
bupdir:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(pwd)):::}}
ifneq (,${findstring /,$(bupdir)})
@@ -38,6 +39,11 @@ ifneq (,${findstring /,$(bupdir)})
else
bupdir1:=$(bupdir)/..
endif
+ifneq (,${findstring /,$(bupdir1)})
+ bupdir2:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(bupdir1)):::}}
+else
+ bupdir2:=$(bupdir1)/..
+endif
endif
w32api_source:=$(updir)/w32api