|
@@ -1,5 +1,5 @@
|
|
|
#
|
|
|
-# Don't edit, this file is generated by fpcmake v1.99.0 [2001/06/10]
|
|
|
+# Don't edit, this file is generated by fpcmake v1.99.0 [2001/07/13]
|
|
|
#
|
|
|
default: all
|
|
|
override PATH:=$(subst \,/,$(PATH))
|
|
@@ -34,7 +34,7 @@ inOS2=1
|
|
|
endif
|
|
|
endif
|
|
|
else
|
|
|
-ifneq ($(findstring cygwin,$(MACH_TYPE)),)
|
|
|
+ifneq ($(findstring cygwin,$(MACHTYPE)),)
|
|
|
inCygWin=1
|
|
|
endif
|
|
|
endif
|
|
@@ -54,6 +54,13 @@ PATHSEP:=$(subst /,\,/)
|
|
|
endif
|
|
|
ifdef 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
|
|
|
BASEDIR=.
|
|
|
endif
|
|
@@ -140,7 +147,7 @@ include $(WININC)/makefile.inc
|
|
|
WINDOWS_SOURCE_FILES=$(addprefix $(WININC)/,$(addsuffix .inc,$(WINDOWS_FILES)))
|
|
|
override TARGET_UNITS+=$(SYSTEMUNIT) objpas strings windows ole2 opengl32 os_types winsock initc dos crt objects graph sysutils typinfo math varutils cpu mmx getopts heaptrc lineinfo wincrt winmouse winevent sockets printer dynlibs video mouse keyboard
|
|
|
override TARGET_LOADERS+=wprt0 wdllprt0
|
|
|
-override TARGET_RSTS+=math varutils
|
|
|
+override TARGET_RSTS+=math varutils typinfo
|
|
|
override INSTALL_FPCPACKAGE=y
|
|
|
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
|
|
|
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC)
|