mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 02:49:28 +02:00
* gnome stuff + tcl enabled for *BSD
This commit is contained in:
parent
5af7a2c7a0
commit
8c0d65c9f3
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Don't edit, this file is generated by FPCMake Version 1.1 [2003/04/01]
|
# Don't edit, this file is generated by FPCMake Version 1.1 [2003/04/28]
|
||||||
#
|
#
|
||||||
default: all
|
default: all
|
||||||
MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx palmos macos macosx emx
|
MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx palmos macos macosx emx
|
||||||
@ -216,16 +216,16 @@ ifeq ($(OS_TARGET),os2)
|
|||||||
override TARGET_DIRS+=os2units rexx unzip uncgi x11 gtk libpng zlib tcl imlib fpgtk
|
override TARGET_DIRS+=os2units rexx unzip uncgi x11 gtk libpng zlib tcl imlib fpgtk
|
||||||
endif
|
endif
|
||||||
ifeq ($(OS_TARGET),freebsd)
|
ifeq ($(OS_TARGET),freebsd)
|
||||||
override TARGET_DIRS+=unzip uncgi x11 opengl gtk syslog forms svgalib ggi libpng libgd utmp cmem bfd zlib gdbm ncurses fpgtk
|
override TARGET_DIRS+=unzip uncgi x11 opengl gtk syslog forms svgalib ggi libpng libgd utmp cmem bfd zlib gdbm ncurses fpgtk tcl imlib gnome1
|
||||||
endif
|
endif
|
||||||
ifeq ($(OS_TARGET),netbsd)
|
ifeq ($(OS_TARGET),netbsd)
|
||||||
override TARGET_DIRS+=unzip uncgi x11 opengl gtk syslog forms svgalib ggi libpng libgd utmp cmem bfd zlib gdbm ncurses fpgtk
|
override TARGET_DIRS+=unzip uncgi x11 opengl gtk syslog forms svgalib ggi libpng libgd utmp cmem bfd zlib gdbm ncurses fpgtk tcl imlib gnome1
|
||||||
endif
|
endif
|
||||||
ifeq ($(OS_TARGET),netware)
|
ifeq ($(OS_TARGET),netware)
|
||||||
override TARGET_DIRS+=cmem zlib
|
override TARGET_DIRS+=cmem zlib
|
||||||
endif
|
endif
|
||||||
ifeq ($(OS_TARGET),openbsd)
|
ifeq ($(OS_TARGET),openbsd)
|
||||||
override TARGET_DIRS+=unzip uncgi x11 opengl gtk syslog forms svgalib ggi libpng libgd utmp cmem bfd zlib gdbm ncurses fpgtk
|
override TARGET_DIRS+=unzip uncgi x11 opengl gtk syslog forms svgalib ggi libpng libgd utmp cmem bfd zlib gdbm ncurses fpgtk tcl imlib gnome1
|
||||||
endif
|
endif
|
||||||
ifeq ($(OS_TARGET),emx)
|
ifeq ($(OS_TARGET),emx)
|
||||||
override TARGET_DIRS+=os2units rexx unzip uncgi x11 gtk libpng zlib tcl imlib fpgtk
|
override TARGET_DIRS+=os2units rexx unzip uncgi x11 gtk libpng zlib tcl imlib fpgtk
|
||||||
@ -883,6 +883,163 @@ else
|
|||||||
TAROPT=vz
|
TAROPT=vz
|
||||||
TAREXT=.tar.gz
|
TAREXT=.tar.gz
|
||||||
endif
|
endif
|
||||||
|
override REQUIRE_PACKAGES=rtl
|
||||||
|
ifeq ($(OS_TARGET),linux)
|
||||||
|
ifeq ($(CPU_TARGET),i386)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),linux)
|
||||||
|
ifeq ($(CPU_TARGET),m68k)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),linux)
|
||||||
|
ifeq ($(CPU_TARGET),powerpc)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),linux)
|
||||||
|
ifeq ($(CPU_TARGET),sparc)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),linux)
|
||||||
|
ifeq ($(CPU_TARGET),x86_64)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),go32v2)
|
||||||
|
ifeq ($(CPU_TARGET),i386)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),win32)
|
||||||
|
ifeq ($(CPU_TARGET),i386)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),os2)
|
||||||
|
ifeq ($(CPU_TARGET),i386)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),freebsd)
|
||||||
|
ifeq ($(CPU_TARGET),i386)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),freebsd)
|
||||||
|
ifeq ($(CPU_TARGET),m68k)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),beos)
|
||||||
|
ifeq ($(CPU_TARGET),i386)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),netbsd)
|
||||||
|
ifeq ($(CPU_TARGET),i386)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),netbsd)
|
||||||
|
ifeq ($(CPU_TARGET),m68k)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),amiga)
|
||||||
|
ifeq ($(CPU_TARGET),m68k)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),atari)
|
||||||
|
ifeq ($(CPU_TARGET),m68k)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),sunos)
|
||||||
|
ifeq ($(CPU_TARGET),i386)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),sunos)
|
||||||
|
ifeq ($(CPU_TARGET),sparc)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),qnx)
|
||||||
|
ifeq ($(CPU_TARGET),i386)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),netware)
|
||||||
|
ifeq ($(CPU_TARGET),i386)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),openbsd)
|
||||||
|
ifeq ($(CPU_TARGET),i386)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),openbsd)
|
||||||
|
ifeq ($(CPU_TARGET),m68k)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),wdosx)
|
||||||
|
ifeq ($(CPU_TARGET),i386)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),palmos)
|
||||||
|
ifeq ($(CPU_TARGET),m68k)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),macos)
|
||||||
|
ifeq ($(CPU_TARGET),powerpc)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),macosx)
|
||||||
|
ifeq ($(CPU_TARGET),powerpc)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(OS_TARGET),emx)
|
||||||
|
ifeq ($(CPU_TARGET),i386)
|
||||||
|
REQUIRE_PACKAGES_RTL=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifdef REQUIRE_PACKAGES_RTL
|
||||||
|
PACKAGEDIR_RTL:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/$(OS_TARGET)/Makefile.fpc,$(PACKAGESDIR))))))
|
||||||
|
ifneq ($(PACKAGEDIR_RTL),)
|
||||||
|
ifneq ($(wildcard $(PACKAGEDIR_RTL)/$(OS_TARGET)),)
|
||||||
|
UNITDIR_RTL=$(PACKAGEDIR_RTL)/$(OS_TARGET)
|
||||||
|
else
|
||||||
|
UNITDIR_RTL=$(PACKAGEDIR_RTL)
|
||||||
|
endif
|
||||||
|
ifdef CHECKDEPEND
|
||||||
|
$(PACKAGEDIR_RTL)/$(FPCMADE):
|
||||||
|
$(MAKE) -C $(PACKAGEDIR_RTL) $(FPCMADE)
|
||||||
|
override ALLDEPENDENCIES+=$(PACKAGEDIR_RTL)/$(FPCMADE)
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
PACKAGEDIR_RTL=
|
||||||
|
UNITDIR_RTL:=$(subst /Package.fpc,,$(strip $(wildcard $(addsuffix /rtl/Package.fpc,$(UNITSDIR)))))
|
||||||
|
ifneq ($(UNITDIR_RTL),)
|
||||||
|
UNITDIR_RTL:=$(firstword $(UNITDIR_RTL))
|
||||||
|
else
|
||||||
|
UNITDIR_RTL=
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifdef UNITDIR_RTL
|
||||||
|
override COMPILER_UNITDIR+=$(UNITDIR_RTL)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
ifndef NOCPUDEF
|
ifndef NOCPUDEF
|
||||||
override FPCOPTDEF=$(CPU_TARGET)
|
override FPCOPTDEF=$(CPU_TARGET)
|
||||||
endif
|
endif
|
||||||
@ -996,7 +1153,7 @@ override COMPILER:=$(FPC) $(FPCOPT)
|
|||||||
ifeq (,$(findstring -s ,$(COMPILER)))
|
ifeq (,$(findstring -s ,$(COMPILER)))
|
||||||
EXECPPAS=
|
EXECPPAS=
|
||||||
else
|
else
|
||||||
ifeq ($(OS_SOURCE),$(OS_TARGET))
|
ifeq ($(FULL_SOURCE),$(FULL_TARGET))
|
||||||
EXECPPAS:=@$(PPAS)
|
EXECPPAS:=@$(PPAS)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
@ -1223,6 +1380,9 @@ TARGET_DIRS_ZLIB=1
|
|||||||
TARGET_DIRS_GDBM=1
|
TARGET_DIRS_GDBM=1
|
||||||
TARGET_DIRS_NCURSES=1
|
TARGET_DIRS_NCURSES=1
|
||||||
TARGET_DIRS_FPGTK=1
|
TARGET_DIRS_FPGTK=1
|
||||||
|
TARGET_DIRS_TCL=1
|
||||||
|
TARGET_DIRS_IMLIB=1
|
||||||
|
TARGET_DIRS_GNOME1=1
|
||||||
endif
|
endif
|
||||||
ifeq ($(OS_TARGET),netbsd)
|
ifeq ($(OS_TARGET),netbsd)
|
||||||
TARGET_DIRS_UNZIP=1
|
TARGET_DIRS_UNZIP=1
|
||||||
@ -1243,6 +1403,9 @@ TARGET_DIRS_ZLIB=1
|
|||||||
TARGET_DIRS_GDBM=1
|
TARGET_DIRS_GDBM=1
|
||||||
TARGET_DIRS_NCURSES=1
|
TARGET_DIRS_NCURSES=1
|
||||||
TARGET_DIRS_FPGTK=1
|
TARGET_DIRS_FPGTK=1
|
||||||
|
TARGET_DIRS_TCL=1
|
||||||
|
TARGET_DIRS_IMLIB=1
|
||||||
|
TARGET_DIRS_GNOME1=1
|
||||||
endif
|
endif
|
||||||
ifeq ($(OS_TARGET),netware)
|
ifeq ($(OS_TARGET),netware)
|
||||||
TARGET_DIRS_CMEM=1
|
TARGET_DIRS_CMEM=1
|
||||||
@ -1267,6 +1430,9 @@ TARGET_DIRS_ZLIB=1
|
|||||||
TARGET_DIRS_GDBM=1
|
TARGET_DIRS_GDBM=1
|
||||||
TARGET_DIRS_NCURSES=1
|
TARGET_DIRS_NCURSES=1
|
||||||
TARGET_DIRS_FPGTK=1
|
TARGET_DIRS_FPGTK=1
|
||||||
|
TARGET_DIRS_TCL=1
|
||||||
|
TARGET_DIRS_IMLIB=1
|
||||||
|
TARGET_DIRS_GNOME1=1
|
||||||
endif
|
endif
|
||||||
ifeq ($(OS_TARGET),emx)
|
ifeq ($(OS_TARGET),emx)
|
||||||
TARGET_DIRS_OS2UNITS=1
|
TARGET_DIRS_OS2UNITS=1
|
||||||
|
@ -10,15 +10,15 @@ dirs_linux=unzip uncgi \
|
|||||||
dirs_netbsd=unzip uncgi \
|
dirs_netbsd=unzip uncgi \
|
||||||
x11 opengl gtk syslog \
|
x11 opengl gtk syslog \
|
||||||
forms svgalib ggi libpng libgd \
|
forms svgalib ggi libpng libgd \
|
||||||
utmp cmem bfd zlib gdbm ncurses fpgtk
|
utmp cmem bfd zlib gdbm ncurses fpgtk tcl imlib gnome1
|
||||||
dirs_freebsd=unzip uncgi \
|
dirs_freebsd=unzip uncgi \
|
||||||
x11 opengl gtk syslog \
|
x11 opengl gtk syslog \
|
||||||
forms svgalib ggi libpng libgd \
|
forms svgalib ggi libpng libgd \
|
||||||
utmp cmem bfd zlib gdbm ncurses fpgtk
|
utmp cmem bfd zlib gdbm ncurses fpgtk tcl imlib gnome1
|
||||||
dirs_openbsd=unzip uncgi \
|
dirs_openbsd=unzip uncgi \
|
||||||
x11 opengl gtk syslog \
|
x11 opengl gtk syslog \
|
||||||
forms svgalib ggi libpng libgd \
|
forms svgalib ggi libpng libgd \
|
||||||
utmp cmem bfd zlib gdbm ncurses fpgtk
|
utmp cmem bfd zlib gdbm ncurses fpgtk tcl imlib gnome1
|
||||||
dirs_win32=unzip uncgi opengl gtk \
|
dirs_win32=unzip uncgi opengl gtk \
|
||||||
zlib mmsystem tcl cdrom fpgtk
|
zlib mmsystem tcl cdrom fpgtk
|
||||||
dirs_os2=os2units \
|
dirs_os2=os2units \
|
||||||
|
Loading…
Reference in New Issue
Block a user