mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-03 12:10:26 +02:00
* moved tcl to extra
This commit is contained in:
parent
a31524e0b5
commit
5175cf4e0c
@ -1,8 +1,8 @@
|
||||
#
|
||||
# Don't edit, this file is generated by FPCMake Version 1.1 [2002/05/22]
|
||||
# Don't edit, this file is generated by FPCMake Version 1.1 [2002/08/24]
|
||||
#
|
||||
default: all
|
||||
MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware
|
||||
MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx
|
||||
override PATH:=$(subst \,/,$(PATH))
|
||||
ifeq ($(findstring ;,$(PATH)),)
|
||||
inUnix=1
|
||||
@ -42,6 +42,9 @@ endif
|
||||
ifeq ($(OS_TARGET),netbsd)
|
||||
BSDhier=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),openbsd)
|
||||
BSDhier=1
|
||||
endif
|
||||
ifdef inUnix
|
||||
BATCHEXT=.sh
|
||||
else
|
||||
@ -198,13 +201,13 @@ endif
|
||||
PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages/base $(FPCDIR)/packages/extra)
|
||||
override TARGET_DIRS+=paszlib regexpr
|
||||
ifeq ($(OS_TARGET),linux)
|
||||
override TARGET_DIRS+=inet gdbint libasync mysql ibase postgres oracle odbc tcl
|
||||
override TARGET_DIRS+=inet gdbint libasync mysql ibase postgres oracle odbc
|
||||
endif
|
||||
ifeq ($(OS_TARGET),go32v2)
|
||||
override TARGET_DIRS+=gdbint
|
||||
endif
|
||||
ifeq ($(OS_TARGET),win32)
|
||||
override TARGET_DIRS+=inet gdbint mysql ibase odbc tcl
|
||||
override TARGET_DIRS+=inet gdbint mysql ibase odbc
|
||||
endif
|
||||
ifeq ($(OS_TARGET),freebsd)
|
||||
override TARGET_DIRS+=inet gdbint libasync mysql ibase postgres oracle
|
||||
@ -212,6 +215,9 @@ endif
|
||||
ifeq ($(OS_TARGET),netbsd)
|
||||
override TARGET_DIRS+=inet gdbint libasync mysql ibase postgres oracle
|
||||
endif
|
||||
ifeq ($(OS_TARGET),openbsd)
|
||||
override TARGET_DIRS+=inet gdbint libasync mysql ibase postgres oracle
|
||||
endif
|
||||
override INSTALL_FPCPACKAGE=y
|
||||
override INSTALL_FPCSUBDIR=packages/base
|
||||
ifdef REQUIRE_UNITSDIR
|
||||
@ -230,6 +236,9 @@ endif
|
||||
ifeq ($(OS_TARGET),netbsd)
|
||||
UNIXINSTALLDIR=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),openbsd)
|
||||
UNIXINSTALLDIR=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),sunos)
|
||||
UNIXINSTALLDIR=1
|
||||
endif
|
||||
@ -246,6 +255,9 @@ endif
|
||||
ifeq ($(OS_SOURCE),netbsd)
|
||||
UNIXINSTALLDIR=1
|
||||
endif
|
||||
ifeq ($(OS_SOURCE),openbsd)
|
||||
UNIXINSTALLDIR=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),sunos)
|
||||
UNIXINSTALLDIR=1
|
||||
endif
|
||||
@ -447,6 +459,12 @@ HASSHAREDLIB=1
|
||||
FPCMADE=fpcmade.netbsd
|
||||
ZIPSUFFIX=netbsd
|
||||
endif
|
||||
ifeq ($(OS_TARGET),openbsd)
|
||||
EXEEXT=
|
||||
HASSHAREDLIB=1
|
||||
FPCMADE=fpcmade.openbsd
|
||||
ZIPSUFFIX=openbsd
|
||||
endif
|
||||
ifeq ($(OS_TARGET),win32)
|
||||
PPUEXT=.ppw
|
||||
OEXT=.ow
|
||||
@ -758,6 +776,9 @@ endif
|
||||
ifneq ($(OS_TARGET),$(OS_SOURCE))
|
||||
override FPCOPT+=-T$(OS_TARGET)
|
||||
endif
|
||||
ifeq ($(OS_SOURCE),openbsd)
|
||||
override FPCOPT+=-FD$(NEW_BINUTILS_PATH)
|
||||
endif
|
||||
ifdef UNITDIR
|
||||
override FPCOPT+=$(addprefix -Fu,$(UNITDIR))
|
||||
endif
|
||||
@ -1023,7 +1044,6 @@ TARGET_DIRS_IBASE=1
|
||||
TARGET_DIRS_POSTGRES=1
|
||||
TARGET_DIRS_ORACLE=1
|
||||
TARGET_DIRS_ODBC=1
|
||||
TARGET_DIRS_TCL=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),go32v2)
|
||||
TARGET_DIRS_GDBINT=1
|
||||
@ -1034,7 +1054,6 @@ TARGET_DIRS_GDBINT=1
|
||||
TARGET_DIRS_MYSQL=1
|
||||
TARGET_DIRS_IBASE=1
|
||||
TARGET_DIRS_ODBC=1
|
||||
TARGET_DIRS_TCL=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),freebsd)
|
||||
TARGET_DIRS_INET=1
|
||||
@ -1054,6 +1073,15 @@ TARGET_DIRS_IBASE=1
|
||||
TARGET_DIRS_POSTGRES=1
|
||||
TARGET_DIRS_ORACLE=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),openbsd)
|
||||
TARGET_DIRS_INET=1
|
||||
TARGET_DIRS_GDBINT=1
|
||||
TARGET_DIRS_LIBASYNC=1
|
||||
TARGET_DIRS_MYSQL=1
|
||||
TARGET_DIRS_IBASE=1
|
||||
TARGET_DIRS_POSTGRES=1
|
||||
TARGET_DIRS_ORACLE=1
|
||||
endif
|
||||
ifdef TARGET_DIRS_PASZLIB
|
||||
paszlib_all:
|
||||
$(MAKE) -C paszlib all
|
||||
@ -1484,49 +1512,6 @@ odbc:
|
||||
$(MAKE) -C odbc all
|
||||
.PHONY: odbc_all odbc_debug odbc_smart odbc_release odbc_examples odbc_shared odbc_install odbc_sourceinstall odbc_exampleinstall odbc_distinstall odbc_zipinstall odbc_zipsourceinstall odbc_zipexampleinstall odbc_zipdistinstall odbc_clean odbc_distclean odbc_cleanall odbc_info odbc_makefiles odbc
|
||||
endif
|
||||
ifdef TARGET_DIRS_TCL
|
||||
tcl_all:
|
||||
$(MAKE) -C tcl all
|
||||
tcl_debug:
|
||||
$(MAKE) -C tcl debug
|
||||
tcl_smart:
|
||||
$(MAKE) -C tcl smart
|
||||
tcl_release:
|
||||
$(MAKE) -C tcl release
|
||||
tcl_examples:
|
||||
$(MAKE) -C tcl examples
|
||||
tcl_shared:
|
||||
$(MAKE) -C tcl shared
|
||||
tcl_install:
|
||||
$(MAKE) -C tcl install
|
||||
tcl_sourceinstall:
|
||||
$(MAKE) -C tcl sourceinstall
|
||||
tcl_exampleinstall:
|
||||
$(MAKE) -C tcl exampleinstall
|
||||
tcl_distinstall:
|
||||
$(MAKE) -C tcl distinstall
|
||||
tcl_zipinstall:
|
||||
$(MAKE) -C tcl zipinstall
|
||||
tcl_zipsourceinstall:
|
||||
$(MAKE) -C tcl zipsourceinstall
|
||||
tcl_zipexampleinstall:
|
||||
$(MAKE) -C tcl zipexampleinstall
|
||||
tcl_zipdistinstall:
|
||||
$(MAKE) -C tcl zipdistinstall
|
||||
tcl_clean:
|
||||
$(MAKE) -C tcl clean
|
||||
tcl_distclean:
|
||||
$(MAKE) -C tcl distclean
|
||||
tcl_cleanall:
|
||||
$(MAKE) -C tcl cleanall
|
||||
tcl_info:
|
||||
$(MAKE) -C tcl info
|
||||
tcl_makefiles:
|
||||
$(MAKE) -C tcl makefiles
|
||||
tcl:
|
||||
$(MAKE) -C tcl all
|
||||
.PHONY: tcl_all tcl_debug tcl_smart tcl_release tcl_examples tcl_shared tcl_install tcl_sourceinstall tcl_exampleinstall tcl_distinstall tcl_zipinstall tcl_zipsourceinstall tcl_zipexampleinstall tcl_zipdistinstall tcl_clean tcl_distclean tcl_cleanall tcl_info tcl_makefiles tcl
|
||||
endif
|
||||
all: $(addsuffix _all,$(TARGET_DIRS))
|
||||
debug: $(addsuffix _debug,$(TARGET_DIRS))
|
||||
smart: $(addsuffix _smart,$(TARGET_DIRS))
|
||||
|
@ -5,9 +5,9 @@
|
||||
[target]
|
||||
dirs=paszlib regexpr
|
||||
dirs_linux=inet gdbint libasync \
|
||||
mysql ibase postgres oracle odbc tcl
|
||||
mysql ibase postgres oracle odbc
|
||||
dirs_win32=inet gdbint \
|
||||
mysql ibase odbc tcl
|
||||
mysql ibase odbc
|
||||
dirs_go32v2=gdbint
|
||||
dirs_netbsd=inet gdbint libasync \
|
||||
mysql ibase postgres oracle
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Don't edit, this file is generated by FPCMake Version 1.1 [2002/08/01]
|
||||
# Don't edit, this file is generated by FPCMake Version 1.1 [2002/08/24]
|
||||
#
|
||||
default: all
|
||||
MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx
|
||||
@ -200,13 +200,13 @@ UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
|
||||
endif
|
||||
PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages/base $(FPCDIR)/packages/extra)
|
||||
ifeq ($(OS_TARGET),linux)
|
||||
override TARGET_DIRS+=unzip uncgi fpasync x11 opengl gtk syslog forms svgalib ggi libpng libgd utmp cmem bfd zlib gdbm ncurses
|
||||
override TARGET_DIRS+=unzip uncgi fpasync x11 opengl gtk syslog forms svgalib ggi libpng libgd utmp cmem bfd zlib gdbm ncurses tcl
|
||||
endif
|
||||
ifeq ($(OS_TARGET),go32v2)
|
||||
override TARGET_DIRS+=unzip uncgi
|
||||
endif
|
||||
ifeq ($(OS_TARGET),win32)
|
||||
override TARGET_DIRS+=unzip uncgi opengl gtk zlib mmsystem
|
||||
override TARGET_DIRS+=unzip uncgi opengl gtk zlib mmsystem tcl
|
||||
endif
|
||||
ifeq ($(OS_TARGET),os2)
|
||||
override TARGET_DIRS+=unzip uncgi
|
||||
@ -1054,6 +1054,7 @@ TARGET_DIRS_BFD=1
|
||||
TARGET_DIRS_ZLIB=1
|
||||
TARGET_DIRS_GDBM=1
|
||||
TARGET_DIRS_NCURSES=1
|
||||
TARGET_DIRS_TCL=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),go32v2)
|
||||
TARGET_DIRS_UNZIP=1
|
||||
@ -1066,6 +1067,7 @@ TARGET_DIRS_OPENGL=1
|
||||
TARGET_DIRS_GTK=1
|
||||
TARGET_DIRS_ZLIB=1
|
||||
TARGET_DIRS_MMSYSTEM=1
|
||||
TARGET_DIRS_TCL=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),os2)
|
||||
TARGET_DIRS_UNZIP=1
|
||||
@ -1905,6 +1907,49 @@ ncurses:
|
||||
$(MAKE) -C ncurses all
|
||||
.PHONY: ncurses_all ncurses_debug ncurses_smart ncurses_release ncurses_examples ncurses_shared ncurses_install ncurses_sourceinstall ncurses_exampleinstall ncurses_distinstall ncurses_zipinstall ncurses_zipsourceinstall ncurses_zipexampleinstall ncurses_zipdistinstall ncurses_clean ncurses_distclean ncurses_cleanall ncurses_info ncurses_makefiles ncurses
|
||||
endif
|
||||
ifdef TARGET_DIRS_TCL
|
||||
tcl_all:
|
||||
$(MAKE) -C tcl all
|
||||
tcl_debug:
|
||||
$(MAKE) -C tcl debug
|
||||
tcl_smart:
|
||||
$(MAKE) -C tcl smart
|
||||
tcl_release:
|
||||
$(MAKE) -C tcl release
|
||||
tcl_examples:
|
||||
$(MAKE) -C tcl examples
|
||||
tcl_shared:
|
||||
$(MAKE) -C tcl shared
|
||||
tcl_install:
|
||||
$(MAKE) -C tcl install
|
||||
tcl_sourceinstall:
|
||||
$(MAKE) -C tcl sourceinstall
|
||||
tcl_exampleinstall:
|
||||
$(MAKE) -C tcl exampleinstall
|
||||
tcl_distinstall:
|
||||
$(MAKE) -C tcl distinstall
|
||||
tcl_zipinstall:
|
||||
$(MAKE) -C tcl zipinstall
|
||||
tcl_zipsourceinstall:
|
||||
$(MAKE) -C tcl zipsourceinstall
|
||||
tcl_zipexampleinstall:
|
||||
$(MAKE) -C tcl zipexampleinstall
|
||||
tcl_zipdistinstall:
|
||||
$(MAKE) -C tcl zipdistinstall
|
||||
tcl_clean:
|
||||
$(MAKE) -C tcl clean
|
||||
tcl_distclean:
|
||||
$(MAKE) -C tcl distclean
|
||||
tcl_cleanall:
|
||||
$(MAKE) -C tcl cleanall
|
||||
tcl_info:
|
||||
$(MAKE) -C tcl info
|
||||
tcl_makefiles:
|
||||
$(MAKE) -C tcl makefiles
|
||||
tcl:
|
||||
$(MAKE) -C tcl all
|
||||
.PHONY: tcl_all tcl_debug tcl_smart tcl_release tcl_examples tcl_shared tcl_install tcl_sourceinstall tcl_exampleinstall tcl_distinstall tcl_zipinstall tcl_zipsourceinstall tcl_zipexampleinstall tcl_zipdistinstall tcl_clean tcl_distclean tcl_cleanall tcl_info tcl_makefiles tcl
|
||||
endif
|
||||
ifdef TARGET_DIRS_MMSYSTEM
|
||||
mmsystem_all:
|
||||
$(MAKE) -C mmsystem all
|
||||
|
@ -6,7 +6,7 @@
|
||||
dirs_linux=unzip uncgi fpasync \
|
||||
x11 opengl gtk syslog \
|
||||
forms svgalib ggi libpng libgd \
|
||||
utmp cmem bfd zlib gdbm ncurses
|
||||
utmp cmem bfd zlib gdbm ncurses tcl
|
||||
dirs_netbsd=unzip uncgi fpasync \
|
||||
x11 opengl gtk syslog \
|
||||
forms svgalib ggi libpng libgd \
|
||||
@ -20,7 +20,7 @@ dirs_openbsd=unzip uncgi fpasync \
|
||||
forms svgalib ggi libpng libgd \
|
||||
utmp cmem bfd zlib gdbm ncurses
|
||||
dirs_win32=unzip uncgi opengl gtk \
|
||||
zlib mmsystem
|
||||
zlib mmsystem tcl
|
||||
dirs_os2=unzip uncgi
|
||||
dirs_go32v2=unzip uncgi
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
#
|
||||
# Don't edit, this file is generated by FPCMake Version 1.1 [2002/05/22]
|
||||
# Don't edit, this file is generated by FPCMake Version 1.1 [2002/08/24]
|
||||
#
|
||||
default: all
|
||||
MAKEFILETARGETS=linux win32
|
||||
MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx
|
||||
override PATH:=$(subst \,/,$(PATH))
|
||||
ifeq ($(findstring ;,$(PATH)),)
|
||||
inUnix=1
|
||||
@ -42,6 +42,9 @@ endif
|
||||
ifeq ($(OS_TARGET),netbsd)
|
||||
BSDhier=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),openbsd)
|
||||
BSDhier=1
|
||||
endif
|
||||
ifdef inUnix
|
||||
BATCHEXT=.sh
|
||||
else
|
||||
@ -217,6 +220,9 @@ endif
|
||||
ifeq ($(OS_TARGET),netbsd)
|
||||
UNIXINSTALLDIR=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),openbsd)
|
||||
UNIXINSTALLDIR=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),sunos)
|
||||
UNIXINSTALLDIR=1
|
||||
endif
|
||||
@ -233,6 +239,9 @@ endif
|
||||
ifeq ($(OS_SOURCE),netbsd)
|
||||
UNIXINSTALLDIR=1
|
||||
endif
|
||||
ifeq ($(OS_SOURCE),openbsd)
|
||||
UNIXINSTALLDIR=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),sunos)
|
||||
UNIXINSTALLDIR=1
|
||||
endif
|
||||
@ -448,6 +457,12 @@ HASSHAREDLIB=1
|
||||
FPCMADE=fpcmade.netbsd
|
||||
ZIPSUFFIX=netbsd
|
||||
endif
|
||||
ifeq ($(OS_TARGET),openbsd)
|
||||
EXEEXT=
|
||||
HASSHAREDLIB=1
|
||||
FPCMADE=fpcmade.openbsd
|
||||
ZIPSUFFIX=openbsd
|
||||
endif
|
||||
ifeq ($(OS_TARGET),win32)
|
||||
PPUEXT=.ppw
|
||||
OEXT=.ow
|
||||
@ -753,12 +768,90 @@ else
|
||||
TAROPT=vz
|
||||
TAREXT=.tar.gz
|
||||
endif
|
||||
override REQUIRE_PACKAGES=rtl
|
||||
override REQUIRE_PACKAGES=rtl fcl
|
||||
ifeq ($(OS_TARGET),linux)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
REQUIRE_PACKAGES_INET=1
|
||||
REQUIRE_PACKAGES_FCL=1
|
||||
REQUIRE_PACKAGES_MYSQL=1
|
||||
REQUIRE_PACKAGES_IBASE=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),go32v2)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
REQUIRE_PACKAGES_FCL=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),win32)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
REQUIRE_PACKAGES_FCL=1
|
||||
REQUIRE_PACKAGES_MYSQL=1
|
||||
REQUIRE_PACKAGES_IBASE=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),os2)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
REQUIRE_PACKAGES_FCL=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),freebsd)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
REQUIRE_PACKAGES_INET=1
|
||||
REQUIRE_PACKAGES_FCL=1
|
||||
REQUIRE_PACKAGES_MYSQL=1
|
||||
REQUIRE_PACKAGES_IBASE=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),beos)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
REQUIRE_PACKAGES_FCL=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),netbsd)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
REQUIRE_PACKAGES_INET=1
|
||||
REQUIRE_PACKAGES_FCL=1
|
||||
REQUIRE_PACKAGES_MYSQL=1
|
||||
REQUIRE_PACKAGES_IBASE=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),amiga)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
REQUIRE_PACKAGES_FCL=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),atari)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
REQUIRE_PACKAGES_FCL=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),sunos)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
REQUIRE_PACKAGES_FCL=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),qnx)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
REQUIRE_PACKAGES_FCL=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),netware)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
REQUIRE_PACKAGES_FCL=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),openbsd)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
REQUIRE_PACKAGES_INET=1
|
||||
REQUIRE_PACKAGES_FCL=1
|
||||
REQUIRE_PACKAGES_MYSQL=1
|
||||
REQUIRE_PACKAGES_IBASE=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),wdosx)
|
||||
REQUIRE_PACKAGES_RTL=1
|
||||
REQUIRE_PACKAGES_PASZLIB=1
|
||||
REQUIRE_PACKAGES_FCL=1
|
||||
endif
|
||||
ifdef REQUIRE_PACKAGES_RTL
|
||||
PACKAGEDIR_RTL:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/$(OS_TARGET)/Makefile.fpc,$(PACKAGESDIR))))))
|
||||
@ -786,12 +879,145 @@ ifdef UNITDIR_RTL
|
||||
override COMPILER_UNITDIR+=$(UNITDIR_RTL)
|
||||
endif
|
||||
endif
|
||||
ifdef REQUIRE_PACKAGES_PASZLIB
|
||||
PACKAGEDIR_PASZLIB:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /paszlib/Makefile.fpc,$(PACKAGESDIR))))))
|
||||
ifneq ($(PACKAGEDIR_PASZLIB),)
|
||||
ifneq ($(wildcard $(PACKAGEDIR_PASZLIB)/$(OS_TARGET)),)
|
||||
UNITDIR_PASZLIB=$(PACKAGEDIR_PASZLIB)/$(OS_TARGET)
|
||||
else
|
||||
UNITDIR_PASZLIB=$(PACKAGEDIR_PASZLIB)
|
||||
endif
|
||||
ifdef CHECKDEPEND
|
||||
$(PACKAGEDIR_PASZLIB)/$(FPCMADE):
|
||||
$(MAKE) -C $(PACKAGEDIR_PASZLIB) $(FPCMADE)
|
||||
override ALLDEPENDENCIES+=$(PACKAGEDIR_PASZLIB)/$(FPCMADE)
|
||||
endif
|
||||
else
|
||||
PACKAGEDIR_PASZLIB=
|
||||
UNITDIR_PASZLIB:=$(subst /Package.fpc,,$(strip $(wildcard $(addsuffix /paszlib/Package.fpc,$(UNITSDIR)))))
|
||||
ifneq ($(UNITDIR_PASZLIB),)
|
||||
UNITDIR_PASZLIB:=$(firstword $(UNITDIR_PASZLIB))
|
||||
else
|
||||
UNITDIR_PASZLIB=
|
||||
endif
|
||||
endif
|
||||
ifdef UNITDIR_PASZLIB
|
||||
override COMPILER_UNITDIR+=$(UNITDIR_PASZLIB)
|
||||
endif
|
||||
endif
|
||||
ifdef REQUIRE_PACKAGES_INET
|
||||
PACKAGEDIR_INET:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /inet/Makefile.fpc,$(PACKAGESDIR))))))
|
||||
ifneq ($(PACKAGEDIR_INET),)
|
||||
ifneq ($(wildcard $(PACKAGEDIR_INET)/$(OS_TARGET)),)
|
||||
UNITDIR_INET=$(PACKAGEDIR_INET)/$(OS_TARGET)
|
||||
else
|
||||
UNITDIR_INET=$(PACKAGEDIR_INET)
|
||||
endif
|
||||
ifdef CHECKDEPEND
|
||||
$(PACKAGEDIR_INET)/$(FPCMADE):
|
||||
$(MAKE) -C $(PACKAGEDIR_INET) $(FPCMADE)
|
||||
override ALLDEPENDENCIES+=$(PACKAGEDIR_INET)/$(FPCMADE)
|
||||
endif
|
||||
else
|
||||
PACKAGEDIR_INET=
|
||||
UNITDIR_INET:=$(subst /Package.fpc,,$(strip $(wildcard $(addsuffix /inet/Package.fpc,$(UNITSDIR)))))
|
||||
ifneq ($(UNITDIR_INET),)
|
||||
UNITDIR_INET:=$(firstword $(UNITDIR_INET))
|
||||
else
|
||||
UNITDIR_INET=
|
||||
endif
|
||||
endif
|
||||
ifdef UNITDIR_INET
|
||||
override COMPILER_UNITDIR+=$(UNITDIR_INET)
|
||||
endif
|
||||
endif
|
||||
ifdef REQUIRE_PACKAGES_FCL
|
||||
PACKAGEDIR_FCL:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /fcl/Makefile.fpc,$(PACKAGESDIR))))))
|
||||
ifneq ($(PACKAGEDIR_FCL),)
|
||||
ifneq ($(wildcard $(PACKAGEDIR_FCL)/$(OS_TARGET)),)
|
||||
UNITDIR_FCL=$(PACKAGEDIR_FCL)/$(OS_TARGET)
|
||||
else
|
||||
UNITDIR_FCL=$(PACKAGEDIR_FCL)
|
||||
endif
|
||||
ifdef CHECKDEPEND
|
||||
$(PACKAGEDIR_FCL)/$(FPCMADE):
|
||||
$(MAKE) -C $(PACKAGEDIR_FCL) $(FPCMADE)
|
||||
override ALLDEPENDENCIES+=$(PACKAGEDIR_FCL)/$(FPCMADE)
|
||||
endif
|
||||
else
|
||||
PACKAGEDIR_FCL=
|
||||
UNITDIR_FCL:=$(subst /Package.fpc,,$(strip $(wildcard $(addsuffix /fcl/Package.fpc,$(UNITSDIR)))))
|
||||
ifneq ($(UNITDIR_FCL),)
|
||||
UNITDIR_FCL:=$(firstword $(UNITDIR_FCL))
|
||||
else
|
||||
UNITDIR_FCL=
|
||||
endif
|
||||
endif
|
||||
ifdef UNITDIR_FCL
|
||||
override COMPILER_UNITDIR+=$(UNITDIR_FCL)
|
||||
endif
|
||||
endif
|
||||
ifdef REQUIRE_PACKAGES_MYSQL
|
||||
PACKAGEDIR_MYSQL:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /mysql/Makefile.fpc,$(PACKAGESDIR))))))
|
||||
ifneq ($(PACKAGEDIR_MYSQL),)
|
||||
ifneq ($(wildcard $(PACKAGEDIR_MYSQL)/$(OS_TARGET)),)
|
||||
UNITDIR_MYSQL=$(PACKAGEDIR_MYSQL)/$(OS_TARGET)
|
||||
else
|
||||
UNITDIR_MYSQL=$(PACKAGEDIR_MYSQL)
|
||||
endif
|
||||
ifdef CHECKDEPEND
|
||||
$(PACKAGEDIR_MYSQL)/$(FPCMADE):
|
||||
$(MAKE) -C $(PACKAGEDIR_MYSQL) $(FPCMADE)
|
||||
override ALLDEPENDENCIES+=$(PACKAGEDIR_MYSQL)/$(FPCMADE)
|
||||
endif
|
||||
else
|
||||
PACKAGEDIR_MYSQL=
|
||||
UNITDIR_MYSQL:=$(subst /Package.fpc,,$(strip $(wildcard $(addsuffix /mysql/Package.fpc,$(UNITSDIR)))))
|
||||
ifneq ($(UNITDIR_MYSQL),)
|
||||
UNITDIR_MYSQL:=$(firstword $(UNITDIR_MYSQL))
|
||||
else
|
||||
UNITDIR_MYSQL=
|
||||
endif
|
||||
endif
|
||||
ifdef UNITDIR_MYSQL
|
||||
override COMPILER_UNITDIR+=$(UNITDIR_MYSQL)
|
||||
endif
|
||||
endif
|
||||
ifdef REQUIRE_PACKAGES_IBASE
|
||||
PACKAGEDIR_IBASE:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /ibase/Makefile.fpc,$(PACKAGESDIR))))))
|
||||
ifneq ($(PACKAGEDIR_IBASE),)
|
||||
ifneq ($(wildcard $(PACKAGEDIR_IBASE)/$(OS_TARGET)),)
|
||||
UNITDIR_IBASE=$(PACKAGEDIR_IBASE)/$(OS_TARGET)
|
||||
else
|
||||
UNITDIR_IBASE=$(PACKAGEDIR_IBASE)
|
||||
endif
|
||||
ifdef CHECKDEPEND
|
||||
$(PACKAGEDIR_IBASE)/$(FPCMADE):
|
||||
$(MAKE) -C $(PACKAGEDIR_IBASE) $(FPCMADE)
|
||||
override ALLDEPENDENCIES+=$(PACKAGEDIR_IBASE)/$(FPCMADE)
|
||||
endif
|
||||
else
|
||||
PACKAGEDIR_IBASE=
|
||||
UNITDIR_IBASE:=$(subst /Package.fpc,,$(strip $(wildcard $(addsuffix /ibase/Package.fpc,$(UNITSDIR)))))
|
||||
ifneq ($(UNITDIR_IBASE),)
|
||||
UNITDIR_IBASE:=$(firstword $(UNITDIR_IBASE))
|
||||
else
|
||||
UNITDIR_IBASE=
|
||||
endif
|
||||
endif
|
||||
ifdef UNITDIR_IBASE
|
||||
override COMPILER_UNITDIR+=$(UNITDIR_IBASE)
|
||||
endif
|
||||
endif
|
||||
ifndef NOCPUDEF
|
||||
override FPCOPTDEF=$(CPU_TARGET)
|
||||
endif
|
||||
ifneq ($(OS_TARGET),$(OS_SOURCE))
|
||||
override FPCOPT+=-T$(OS_TARGET)
|
||||
endif
|
||||
ifeq ($(OS_SOURCE),openbsd)
|
||||
override FPCOPT+=-FD$(NEW_BINUTILS_PATH)
|
||||
endif
|
||||
ifdef UNITDIR
|
||||
override FPCOPT+=$(addprefix -Fu,$(UNITDIR))
|
||||
endif
|
@ -11,6 +11,7 @@ examples=tcl_demo
|
||||
|
||||
[require]
|
||||
libc=y
|
||||
packages=fcl
|
||||
|
||||
[install]
|
||||
fpcpackage=y
|
Loading…
Reference in New Issue
Block a user