|
@@ -1,5 +1,5 @@
|
|
#
|
|
#
|
|
-# Don't edit, this file is generated by fpcmake v1.99.0 [2001/06/06]
|
|
|
|
|
|
+# Don't edit, this file is generated by fpcmake v1.99.0 [2001/07/13]
|
|
#
|
|
#
|
|
default: all
|
|
default: all
|
|
override PATH:=$(subst \,/,$(PATH))
|
|
override PATH:=$(subst \,/,$(PATH))
|
|
@@ -34,7 +34,7 @@ inOS2=1
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
else
|
|
else
|
|
-ifneq ($(findstring cygwin,$(MACH_TYPE)),)
|
|
|
|
|
|
+ifneq ($(findstring cygwin,$(MACHTYPE)),)
|
|
inCygWin=1
|
|
inCygWin=1
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
@@ -54,6 +54,13 @@ PATHSEP:=$(subst /,\,/)
|
|
endif
|
|
endif
|
|
ifdef PWD
|
|
ifdef PWD
|
|
BASEDIR:=$(subst \,/,$(shell $(PWD)))
|
|
BASEDIR:=$(subst \,/,$(shell $(PWD)))
|
|
|
|
+ifdef inCygWin
|
|
|
|
+ifneq ($(findstring /cygdrive/,$(BASEDIR)),)
|
|
|
|
+BASENODIR:=$(patsubst /cygdrive%,%,$(BASEDIR))
|
|
|
|
+BASEDRIVE:=$(firstword $(subst /, ,$(BASENODIR)))
|
|
|
|
+BASEDIR:=$(subst /cygdrive/$(BASEDRIVE)/,$(BASEDRIVE):/,$(BASEDIR))
|
|
|
|
+endif
|
|
|
|
+endif
|
|
else
|
|
else
|
|
BASEDIR=.
|
|
BASEDIR=.
|
|
endif
|
|
endif
|