|
@@ -1,13 +1,13 @@
|
|
|
#
|
|
|
-# Don't edit, this file is generated by fpcmake v1.99.0 [2001/02/24]
|
|
|
+# Don't edit, this file is generated by fpcmake v1.99.0 [2001/04/25]
|
|
|
#
|
|
|
default: all
|
|
|
override PATH:=$(subst \,/,$(PATH))
|
|
|
ifeq ($(findstring ;,$(PATH)),)
|
|
|
inUnix=1
|
|
|
-SEARCHPATH=$(subst :, ,$(PATH))
|
|
|
+SEARCHPATH:=$(subst :, ,$(PATH))
|
|
|
else
|
|
|
-SEARCHPATH=$(subst ;, ,$(PATH))
|
|
|
+SEARCHPATH:=$(subst ;, ,$(PATH))
|
|
|
endif
|
|
|
PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH))))
|
|
|
ifeq ($(PWD),)
|
|
@@ -50,7 +50,7 @@ endif
|
|
|
ifdef inUnix
|
|
|
PATHSEP=/
|
|
|
else
|
|
|
-PATHSEP=$(subst /,\,/)
|
|
|
+PATHSEP:=$(subst /,\,/)
|
|
|
endif
|
|
|
ifdef PWD
|
|
|
BASEDIR:=$(shell $(PWD))
|
|
@@ -115,13 +115,13 @@ endif
|
|
|
endif
|
|
|
endif
|
|
|
endif
|
|
|
-UNITSDIR=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
|
|
|
-PACKAGESDIR=$(wildcard $(FPCDIR) $(FPCDIR)/packages)
|
|
|
+UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
|
|
|
+PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages)
|
|
|
override PACKAGE_NAME=fputils
|
|
|
-override PACKAGE_VERSION=1.1
|
|
|
+override PACKAGE_VERSION=1.05
|
|
|
override TARGET_DIRS+=fpcm tply h2pas fprcp
|
|
|
-override TARGET_PROGRAMS+=ppufiles ppudump ppumove ppdep ptop rstconv data2inc delp bin2obj postw32
|
|
|
-override CLEAN_UNITS+=ppu ptopu makeini crc
|
|
|
+override TARGET_PROGRAMS+=ppdep ptop rstconv data2inc delp bin2obj postw32
|
|
|
+override CLEAN_UNITS+=ptopu
|
|
|
ifndef ECHO
|
|
|
ECHO:=$(strip $(wildcard $(addsuffix /gecho$(EXEEXT),$(SEARCHPATH))))
|
|
|
ifeq ($(ECHO),)
|
|
@@ -178,6 +178,9 @@ endif
|
|
|
ifndef LD
|
|
|
LD=ld
|
|
|
endif
|
|
|
+ifndef RC
|
|
|
+RC=rc
|
|
|
+endif
|
|
|
PPAS=ppas$(BATCHEXT)
|
|
|
ifdef inUnix
|
|
|
LDCONFIG=ldconfig
|
|
@@ -711,6 +714,9 @@ ifdef CFGFILE
|
|
|
override FPCOPT+=@$(CFGFILE)
|
|
|
endif
|
|
|
ifeq ($(OS_SOURCE),win32)
|
|
|
+USEENV=1
|
|
|
+endif
|
|
|
+ifdef USEENV
|
|
|
override FPCEXTCMD:=$(FPCOPT)
|
|
|
override FPCOPT:=!FPCEXTCMD
|
|
|
export FPCEXTCMD
|
|
@@ -807,14 +813,13 @@ fpc_sourceinstall: distclean
|
|
|
$(MKDIR) $(INSTALL_SOURCEDIR)
|
|
|
$(COPYTREE) $(BASEDIR) $(INSTALL_SOURCEDIR)
|
|
|
fpc_exampleinstall: $(addsuffix _distclean,$(TARGET_EXAMPLEDIRS))
|
|
|
-ifdef EXAMPLESOURCEFILES
|
|
|
+ifdef HASEXAMPLES
|
|
|
$(MKDIR) $(INSTALL_EXAMPLEDIR)
|
|
|
+endif
|
|
|
+ifdef EXAMPLESOURCEFILES
|
|
|
$(COPY) $(EXAMPLESOURCEFILES) $(INSTALL_EXAMPLEDIR)
|
|
|
endif
|
|
|
ifdef TARGET_EXAMPLEDIRS
|
|
|
-ifndef EXAMPLESOURCEFILES
|
|
|
- $(MKDIR) $(INSTALL_EXAMPLEDIR)
|
|
|
-endif
|
|
|
$(COPYTREE) $(addsuffix /*,$(TARGET_EXAMPLEDIRS)) $(INSTALL_EXAMPLEDIR)
|
|
|
endif
|
|
|
fpc_distinstall: fpc_install fpc_exampleinstall
|
|
@@ -884,7 +889,9 @@ endif
|
|
|
fpc_zipsourceinstall:
|
|
|
$(MAKE) fpc_zipinstall ZIPTARGET=sourceinstall ZIPSUFFIX=src
|
|
|
fpc_zipexampleinstall:
|
|
|
+ifdef HASEXAMPLES
|
|
|
$(MAKE) fpc_zipinstall ZIPTARGET=exampleinstall ZIPSUFFIX=exm
|
|
|
+endif
|
|
|
fpc_zipdistinstall:
|
|
|
$(MAKE) fpc_zipinstall ZIPTARGET=distinstall
|
|
|
.PHONY: fpc_clean fpc_cleanall fpc_distclean
|
|
@@ -1186,10 +1193,7 @@ info: fpc_info $(addsuffix _info,$(TARGET_DIRS))
|
|
|
ifneq ($(wildcard fpcmake.loc),)
|
|
|
include fpcmake.loc
|
|
|
endif
|
|
|
-ppu$(PPUEXT): ppu.pas
|
|
|
-ppudump$(EXEEXT): ppudump.pp ppu$(PPUEXT)
|
|
|
-ppumove$(EXEEXT): ppumove.pp ppu$(PPUEXT)
|
|
|
ptop$(EXEEXT): ptop.pp ptopu$(PPUEXT)
|
|
|
ptopu$(PPUEXT): ptopu.pp
|
|
|
ppdep$(EXEEXT): ppdep.pp
|
|
|
-unexport PPUFILES PPUMOVE DATA2INC
|
|
|
+unexport DATA2INC
|