|
@@ -1,5 +1,5 @@
|
|
#
|
|
#
|
|
-# Makefile generated by fpcmake v1.00 [2000/11/08]
|
|
|
|
|
|
+# Makefile generated by fpcmake v1.00 [2000/10/27]
|
|
#
|
|
#
|
|
|
|
|
|
defaultrule: all
|
|
defaultrule: all
|
|
@@ -103,25 +103,12 @@ ifndef FPC_VERSION
|
|
FPC_VERSION:=$(shell $(FPC) -iV)
|
|
FPC_VERSION:=$(shell $(FPC) -iV)
|
|
endif
|
|
endif
|
|
|
|
|
|
-export FPC OS_TARGET OS_SOURCE CPU_TARGET CPU_SOURCE FPC_VERSION FPCOPT
|
|
|
|
|
|
+export FPC OS_TARGET OS_SOURCE CPU_TARGET CPU_SOURCE FPC_VERSION
|
|
|
|
|
|
#####################################################################
|
|
#####################################################################
|
|
# Pre Settings
|
|
# Pre Settings
|
|
#####################################################################
|
|
#####################################################################
|
|
|
|
|
|
-# Define Unix also for Linux
|
|
|
|
-ifeq ($(OS_TARGET),linux)
|
|
|
|
-ifneq ($(findstring 1.0.,$(FPC_VERSION)),)
|
|
|
|
-override FPCOPT+=-dUNIX
|
|
|
|
-endif
|
|
|
|
-endif
|
|
|
|
-
|
|
|
|
-ifeq ($(OS_TARGET),freebsd)
|
|
|
|
-ifneq ($(findstring 1.0.,$(FPC_VERSION)),)
|
|
|
|
-override FPCOPT+=-dUNIX
|
|
|
|
-endif
|
|
|
|
-endif
|
|
|
|
-
|
|
|
|
# Don't export OS_SOURCE because it can change after the first compile
|
|
# Don't export OS_SOURCE because it can change after the first compile
|
|
unexport OS_SOURCE FPC_VERSION
|
|
unexport OS_SOURCE FPC_VERSION
|
|
|
|
|
|
@@ -167,6 +154,19 @@ endif
|
|
|
|
|
|
# Message files
|
|
# Message files
|
|
MSGFILES=$(wildcard error*.msg)
|
|
MSGFILES=$(wildcard error*.msg)
|
|
|
|
+
|
|
|
|
+# Define Unix also for Linux
|
|
|
|
+ifeq ($(OS_TARGET),linux)
|
|
|
|
+ifneq ($(findstring 1.0.,$(FPC_VERSION)),)
|
|
|
|
+override LOCALDEF+=-dUNIX
|
|
|
|
+endif
|
|
|
|
+endif
|
|
|
|
+
|
|
|
|
+ifeq ($(OS_TARGET),freebsd)
|
|
|
|
+ifneq ($(findstring 1.0.,$(FPC_VERSION)),)
|
|
|
|
+override LOCALDEF+=-dUNIX
|
|
|
|
+endif
|
|
|
|
+endif
|
|
#####################################################################
|
|
#####################################################################
|
|
# FPCDIR Setting
|
|
# FPCDIR Setting
|
|
#####################################################################
|
|
#####################################################################
|
|
@@ -288,7 +288,7 @@ endif
|
|
|
|
|
|
override LOCALOPT+=$(LOCALDEF)
|
|
override LOCALOPT+=$(LOCALDEF)
|
|
|
|
|
|
-override FPCOPT+=$(LOCALOPT)
|
|
|
|
|
|
+override FPCOPT:=$(LOCALOPT)
|
|
|
|
|
|
#####################################################################
|
|
#####################################################################
|
|
# Shell tools
|
|
# Shell tools
|