|
@@ -1,5 +1,5 @@
|
|
|
#
|
|
|
-# Don't edit, this file is generated by FPCMake Version 1.1 [2003/04/28]
|
|
|
+# Don't edit, this file is generated by FPCMake Version 1.1 [2003/04/16]
|
|
|
#
|
|
|
default: all
|
|
|
MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx palmos macos macosx emx
|
|
@@ -204,31 +204,31 @@ 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 x11 opengl gtk syslog forms svgalib ggi libpng libgd utmp cmem bfd zlib gdbm ncurses tcl cdrom imlib gnome1 fpgtk
|
|
|
+override TARGET_DIRS+=unzip x11 opengl gtk syslog forms svgalib ggi libpng libgd utmp cmem bfd zlib gdbm ncurses tcl cdrom imlib gnome1 fpgtk
|
|
|
endif
|
|
|
ifeq ($(OS_TARGET),go32v2)
|
|
|
-override TARGET_DIRS+=unzip uncgi
|
|
|
+override TARGET_DIRS+=unzip
|
|
|
endif
|
|
|
ifeq ($(OS_TARGET),win32)
|
|
|
-override TARGET_DIRS+=unzip uncgi opengl gtk zlib mmsystem tcl cdrom fpgtk
|
|
|
+override TARGET_DIRS+=unzip opengl gtk zlib mmsystem tcl cdrom fpgtk
|
|
|
endif
|
|
|
ifeq ($(OS_TARGET),os2)
|
|
|
-override TARGET_DIRS+=os2units rexx unzip uncgi x11 gtk libpng zlib tcl imlib fpgtk
|
|
|
+override TARGET_DIRS+=os2units rexx unzip x11 gtk libpng zlib tcl imlib fpgtk
|
|
|
endif
|
|
|
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 tcl imlib gnome1
|
|
|
+override TARGET_DIRS+=unzip x11 opengl gtk syslog forms svgalib ggi libpng libgd utmp cmem bfd zlib gdbm ncurses fpgtk tcl imlib gnome1
|
|
|
endif
|
|
|
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 tcl imlib gnome1
|
|
|
+override TARGET_DIRS+=unzip x11 opengl gtk syslog forms svgalib ggi libpng libgd utmp cmem bfd zlib gdbm ncurses fpgtk tcl imlib gnome1
|
|
|
endif
|
|
|
ifeq ($(OS_TARGET),netware)
|
|
|
override TARGET_DIRS+=cmem zlib
|
|
|
endif
|
|
|
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 tcl imlib gnome1
|
|
|
+override TARGET_DIRS+=unzip x11 opengl gtk syslog forms svgalib ggi libpng libgd utmp cmem bfd zlib gdbm ncurses fpgtk tcl imlib gnome1
|
|
|
endif
|
|
|
ifeq ($(OS_TARGET),emx)
|
|
|
-override TARGET_DIRS+=os2units rexx unzip uncgi x11 gtk libpng zlib tcl imlib fpgtk
|
|
|
+override TARGET_DIRS+=os2units rexx unzip x11 gtk libpng zlib tcl imlib fpgtk
|
|
|
endif
|
|
|
override INSTALL_FPCPACKAGE=y
|
|
|
override INSTALL_FPCSUBDIR=packages/extra
|
|
@@ -883,163 +883,6 @@ else
|
|
|
TAROPT=vz
|
|
|
TAREXT=.tar.gz
|
|
|
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
|
|
|
override FPCOPTDEF=$(CPU_TARGET)
|
|
|
endif
|
|
@@ -1153,7 +996,7 @@ override COMPILER:=$(FPC) $(FPCOPT)
|
|
|
ifeq (,$(findstring -s ,$(COMPILER)))
|
|
|
EXECPPAS=
|
|
|
else
|
|
|
-ifeq ($(FULL_SOURCE),$(FULL_TARGET))
|
|
|
+ifeq ($(OS_SOURCE),$(OS_TARGET))
|
|
|
EXECPPAS:=@$(PPAS)
|
|
|
endif
|
|
|
endif
|
|
@@ -1311,7 +1154,6 @@ fpc_makefile_dirs: fpc_makefile_sub1 fpc_makefile_sub2
|
|
|
fpc_makefiles: fpc_makefile fpc_makefile_dirs
|
|
|
ifeq ($(OS_TARGET),linux)
|
|
|
TARGET_DIRS_UNZIP=1
|
|
|
-TARGET_DIRS_UNCGI=1
|
|
|
TARGET_DIRS_X11=1
|
|
|
TARGET_DIRS_OPENGL=1
|
|
|
TARGET_DIRS_GTK=1
|
|
@@ -1335,11 +1177,9 @@ TARGET_DIRS_FPGTK=1
|
|
|
endif
|
|
|
ifeq ($(OS_TARGET),go32v2)
|
|
|
TARGET_DIRS_UNZIP=1
|
|
|
-TARGET_DIRS_UNCGI=1
|
|
|
endif
|
|
|
ifeq ($(OS_TARGET),win32)
|
|
|
TARGET_DIRS_UNZIP=1
|
|
|
-TARGET_DIRS_UNCGI=1
|
|
|
TARGET_DIRS_OPENGL=1
|
|
|
TARGET_DIRS_GTK=1
|
|
|
TARGET_DIRS_ZLIB=1
|
|
@@ -1352,7 +1192,6 @@ ifeq ($(OS_TARGET),os2)
|
|
|
TARGET_DIRS_OS2UNITS=1
|
|
|
TARGET_DIRS_REXX=1
|
|
|
TARGET_DIRS_UNZIP=1
|
|
|
-TARGET_DIRS_UNCGI=1
|
|
|
TARGET_DIRS_X11=1
|
|
|
TARGET_DIRS_GTK=1
|
|
|
TARGET_DIRS_LIBPNG=1
|
|
@@ -1363,7 +1202,6 @@ TARGET_DIRS_FPGTK=1
|
|
|
endif
|
|
|
ifeq ($(OS_TARGET),freebsd)
|
|
|
TARGET_DIRS_UNZIP=1
|
|
|
-TARGET_DIRS_UNCGI=1
|
|
|
TARGET_DIRS_X11=1
|
|
|
TARGET_DIRS_OPENGL=1
|
|
|
TARGET_DIRS_GTK=1
|
|
@@ -1386,7 +1224,6 @@ TARGET_DIRS_GNOME1=1
|
|
|
endif
|
|
|
ifeq ($(OS_TARGET),netbsd)
|
|
|
TARGET_DIRS_UNZIP=1
|
|
|
-TARGET_DIRS_UNCGI=1
|
|
|
TARGET_DIRS_X11=1
|
|
|
TARGET_DIRS_OPENGL=1
|
|
|
TARGET_DIRS_GTK=1
|
|
@@ -1413,7 +1250,6 @@ TARGET_DIRS_ZLIB=1
|
|
|
endif
|
|
|
ifeq ($(OS_TARGET),openbsd)
|
|
|
TARGET_DIRS_UNZIP=1
|
|
|
-TARGET_DIRS_UNCGI=1
|
|
|
TARGET_DIRS_X11=1
|
|
|
TARGET_DIRS_OPENGL=1
|
|
|
TARGET_DIRS_GTK=1
|
|
@@ -1438,7 +1274,6 @@ ifeq ($(OS_TARGET),emx)
|
|
|
TARGET_DIRS_OS2UNITS=1
|
|
|
TARGET_DIRS_REXX=1
|
|
|
TARGET_DIRS_UNZIP=1
|
|
|
-TARGET_DIRS_UNCGI=1
|
|
|
TARGET_DIRS_X11=1
|
|
|
TARGET_DIRS_GTK=1
|
|
|
TARGET_DIRS_LIBPNG=1
|
|
@@ -1490,49 +1325,6 @@ unzip:
|
|
|
$(MAKE) -C unzip all
|
|
|
.PHONY: unzip_all unzip_debug unzip_smart unzip_release unzip_examples unzip_shared unzip_install unzip_sourceinstall unzip_exampleinstall unzip_distinstall unzip_zipinstall unzip_zipsourceinstall unzip_zipexampleinstall unzip_zipdistinstall unzip_clean unzip_distclean unzip_cleanall unzip_info unzip_makefiles unzip
|
|
|
endif
|
|
|
-ifdef TARGET_DIRS_UNCGI
|
|
|
-uncgi_all:
|
|
|
- $(MAKE) -C uncgi all
|
|
|
-uncgi_debug:
|
|
|
- $(MAKE) -C uncgi debug
|
|
|
-uncgi_smart:
|
|
|
- $(MAKE) -C uncgi smart
|
|
|
-uncgi_release:
|
|
|
- $(MAKE) -C uncgi release
|
|
|
-uncgi_examples:
|
|
|
- $(MAKE) -C uncgi examples
|
|
|
-uncgi_shared:
|
|
|
- $(MAKE) -C uncgi shared
|
|
|
-uncgi_install:
|
|
|
- $(MAKE) -C uncgi install
|
|
|
-uncgi_sourceinstall:
|
|
|
- $(MAKE) -C uncgi sourceinstall
|
|
|
-uncgi_exampleinstall:
|
|
|
- $(MAKE) -C uncgi exampleinstall
|
|
|
-uncgi_distinstall:
|
|
|
- $(MAKE) -C uncgi distinstall
|
|
|
-uncgi_zipinstall:
|
|
|
- $(MAKE) -C uncgi zipinstall
|
|
|
-uncgi_zipsourceinstall:
|
|
|
- $(MAKE) -C uncgi zipsourceinstall
|
|
|
-uncgi_zipexampleinstall:
|
|
|
- $(MAKE) -C uncgi zipexampleinstall
|
|
|
-uncgi_zipdistinstall:
|
|
|
- $(MAKE) -C uncgi zipdistinstall
|
|
|
-uncgi_clean:
|
|
|
- $(MAKE) -C uncgi clean
|
|
|
-uncgi_distclean:
|
|
|
- $(MAKE) -C uncgi distclean
|
|
|
-uncgi_cleanall:
|
|
|
- $(MAKE) -C uncgi cleanall
|
|
|
-uncgi_info:
|
|
|
- $(MAKE) -C uncgi info
|
|
|
-uncgi_makefiles:
|
|
|
- $(MAKE) -C uncgi makefiles
|
|
|
-uncgi:
|
|
|
- $(MAKE) -C uncgi all
|
|
|
-.PHONY: uncgi_all uncgi_debug uncgi_smart uncgi_release uncgi_examples uncgi_shared uncgi_install uncgi_sourceinstall uncgi_exampleinstall uncgi_distinstall uncgi_zipinstall uncgi_zipsourceinstall uncgi_zipexampleinstall uncgi_zipdistinstall uncgi_clean uncgi_distclean uncgi_cleanall uncgi_info uncgi_makefiles uncgi
|
|
|
-endif
|
|
|
ifdef TARGET_DIRS_X11
|
|
|
x11_all:
|
|
|
$(MAKE) -C x11 all
|