|
@@ -1,8 +1,8 @@
|
|
|
#
|
|
|
-# Don't edit, this file is generated by FPCMake Version 1.1 [2004/01/05]
|
|
|
+# Don't edit, this file is generated by FPCMake Version 1.1 [2003/09/24]
|
|
|
#
|
|
|
default: all
|
|
|
-MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx palmos macos darwin emx watcom
|
|
|
+MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx palmos macos darwin emx
|
|
|
override PATH:=$(subst \,/,$(PATH))
|
|
|
ifeq ($(findstring ;,$(PATH)),)
|
|
|
inUnix=1
|
|
@@ -10,7 +10,6 @@ SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH)))
|
|
|
else
|
|
|
SEARCHPATH:=$(subst ;, ,$(PATH))
|
|
|
endif
|
|
|
-SEARCHPATH+=$(patsubst %/,%,$(subst \,/,$(dir $(MAKE))))
|
|
|
PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH))))
|
|
|
ifeq ($(PWD),)
|
|
|
PWD:=$(strip $(wildcard $(addsuffix /pwd,$(SEARCHPATH))))
|
|
@@ -204,7 +203,7 @@ else
|
|
|
UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
|
|
|
endif
|
|
|
PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages/base $(FPCDIR)/packages/extra)
|
|
|
-override TARGET_DIRS+=paszlib regexpr netdb
|
|
|
+override TARGET_DIRS+=paszlib pasjpeg regexpr netdb
|
|
|
ifeq ($(OS_TARGET),linux)
|
|
|
override TARGET_DIRS+=inet gdbint libasync mysql ibase postgres oracle odbc pthreads sqlite libc
|
|
|
endif
|
|
@@ -310,17 +309,9 @@ endif
|
|
|
endif
|
|
|
ifndef INSTALL_BINDIR
|
|
|
ifdef UNIXINSTALLDIR
|
|
|
-ifdef CROSSCOMPILE
|
|
|
-INSTALL_BINDIR:=$(INSTALL_BASEDIR)/cross/$(FULL_TARGET)/bin
|
|
|
-else
|
|
|
INSTALL_BINDIR:=$(INSTALL_PREFIX)/bin
|
|
|
-endif
|
|
|
-else
|
|
|
-ifdef CROSSCOMPILE
|
|
|
-INSTALL_BINDIR:=$(INSTALL_BASEDIR)/cross/$(FULL_TARGET)/bin
|
|
|
else
|
|
|
INSTALL_BINDIR:=$(INSTALL_BASEDIR)/bin
|
|
|
-endif
|
|
|
ifdef INSTALL_FPCPACKAGE
|
|
|
INSTALL_BINDIR:=$(INSTALL_BINDIR)/$(OS_TARGET)
|
|
|
endif
|
|
@@ -452,14 +443,6 @@ STATICLIBPREFIX=
|
|
|
FPCMADE=fpcmade.dos
|
|
|
ZIPSUFFIX=go32
|
|
|
endif
|
|
|
-ifeq ($(OS_TARGET),watcom)
|
|
|
-STATICLIBPREFIX=
|
|
|
-FPCMADE=fpcmade.wat
|
|
|
-ZIPSUFFIX=watc
|
|
|
-OEXT=.obj
|
|
|
-ASMEXT=.asm
|
|
|
-SHAREDLIBEXT=.dll
|
|
|
-endif
|
|
|
ifeq ($(OS_TARGET),linux)
|
|
|
EXEEXT=
|
|
|
HASSHAREDLIB=1
|
|
@@ -562,11 +545,6 @@ STATICLIBPREFIX=
|
|
|
FPCMADE=fpcmade.dos
|
|
|
ZIPSUFFIX=go32
|
|
|
endif
|
|
|
-ifeq ($(OS_TARGET),watcom)
|
|
|
-STATICLIBPREFIX=
|
|
|
-FPCMADE=fpcmade.dos
|
|
|
-ZIPSUFFIX=watcom
|
|
|
-endif
|
|
|
ifeq ($(OS_TARGET),linux)
|
|
|
EXEEXT=
|
|
|
HASSHAREDLIB=1
|
|
@@ -755,11 +733,7 @@ endif
|
|
|
endif
|
|
|
export MVPROG
|
|
|
ifndef ECHOREDIR
|
|
|
-ifndef inUnix
|
|
|
-ECHOREDIR=echo
|
|
|
-else
|
|
|
-ECHOREDIR=$(ECHO)
|
|
|
-endif
|
|
|
+ECHOREDIR:=$(subst /,$(PATHSEP),$(ECHO))
|
|
|
endif
|
|
|
ifndef COPY
|
|
|
COPY:=$(CPPROG) -fp
|
|
@@ -830,16 +804,14 @@ TARPROG:=$(firstword $(TARPROG))
|
|
|
endif
|
|
|
endif
|
|
|
export TARPROG
|
|
|
-ASNAME=$(BINUTILSPREFIX)as
|
|
|
-LDNAME=$(BINUTILSPREFIX)ld
|
|
|
-ARNAME=$(BINUTILSPREFIX)ar
|
|
|
-RCNAME=$(BINUTILSPREFIX)rc
|
|
|
-ifneq ($(findstring 1.0.,$(FPC_VERSION)),)
|
|
|
-ifeq ($(OS_TARGET),win32)
|
|
|
ASNAME=as
|
|
|
LDNAME=ld
|
|
|
ARNAME=ar
|
|
|
-endif
|
|
|
+RCNAME=rc
|
|
|
+ifeq ($(OS_TARGET),win32)
|
|
|
+ASNAME=asw
|
|
|
+LDNAME=ldw
|
|
|
+ARNAME=arw
|
|
|
endif
|
|
|
ifndef ASPROG
|
|
|
ifdef CROSSBINDIR
|
|
@@ -978,16 +950,6 @@ ifeq ($(CPU_TARGET),m68k)
|
|
|
REQUIRE_PACKAGES_RTL=1
|
|
|
endif
|
|
|
endif
|
|
|
-ifeq ($(OS_TARGET),netbsd)
|
|
|
-ifeq ($(CPU_TARGET),powerpc)
|
|
|
-REQUIRE_PACKAGES_RTL=1
|
|
|
-endif
|
|
|
-endif
|
|
|
-ifeq ($(OS_TARGET),netbsd)
|
|
|
-ifeq ($(CPU_TARGET),sparc)
|
|
|
-REQUIRE_PACKAGES_RTL=1
|
|
|
-endif
|
|
|
-endif
|
|
|
ifeq ($(OS_TARGET),amiga)
|
|
|
ifeq ($(CPU_TARGET),m68k)
|
|
|
REQUIRE_PACKAGES_RTL=1
|
|
@@ -1053,11 +1015,6 @@ ifeq ($(CPU_TARGET),i386)
|
|
|
REQUIRE_PACKAGES_RTL=1
|
|
|
endif
|
|
|
endif
|
|
|
-ifeq ($(OS_TARGET),watcom)
|
|
|
-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),)
|
|
@@ -1093,14 +1050,6 @@ endif
|
|
|
ifeq ($(OS_SOURCE),openbsd)
|
|
|
override FPCOPT+=-FD$(NEW_BINUTILS_PATH)
|
|
|
endif
|
|
|
-ifndef CROSSBOOTSTRAP
|
|
|
-ifneq ($(BINUTILSPREFIX),)
|
|
|
-override FPCOPT+=-XP$(BINUTILSPREFIX) -Xc
|
|
|
-endif
|
|
|
-ifneq ($(BINUTILSPREFIX),)
|
|
|
-override FPCOPT+=-Xr$(RLINKPATH)
|
|
|
-endif
|
|
|
-endif
|
|
|
ifdef UNITDIR
|
|
|
override FPCOPT+=$(addprefix -Fu,$(UNITDIR))
|
|
|
endif
|
|
@@ -1362,6 +1311,7 @@ fpc_makefile_sub2: $(addsuffix _makefile_dirs,$(TARGET_DIRS) $(TARGET_EXAMPLEDIR
|
|
|
fpc_makefile_dirs: fpc_makefile_sub1 fpc_makefile_sub2
|
|
|
fpc_makefiles: fpc_makefile fpc_makefile_dirs
|
|
|
TARGET_DIRS_PASZLIB=1
|
|
|
+TARGET_DIRS_PASJPEG=1
|
|
|
TARGET_DIRS_REGEXPR=1
|
|
|
TARGET_DIRS_NETDB=1
|
|
|
ifeq ($(OS_TARGET),linux)
|
|
@@ -1474,6 +1424,49 @@ paszlib:
|
|
|
$(MAKE) -C paszlib all
|
|
|
.PHONY: paszlib_all paszlib_debug paszlib_smart paszlib_release paszlib_examples paszlib_shared paszlib_install paszlib_sourceinstall paszlib_exampleinstall paszlib_distinstall paszlib_zipinstall paszlib_zipsourceinstall paszlib_zipexampleinstall paszlib_zipdistinstall paszlib_clean paszlib_distclean paszlib_cleanall paszlib_info paszlib_makefiles paszlib
|
|
|
endif
|
|
|
+ifdef TARGET_DIRS_PASJPEG
|
|
|
+pasjpeg_all:
|
|
|
+ $(MAKE) -C pasjpeg all
|
|
|
+pasjpeg_debug:
|
|
|
+ $(MAKE) -C pasjpeg debug
|
|
|
+pasjpeg_smart:
|
|
|
+ $(MAKE) -C pasjpeg smart
|
|
|
+pasjpeg_release:
|
|
|
+ $(MAKE) -C pasjpeg release
|
|
|
+pasjpeg_examples:
|
|
|
+ $(MAKE) -C pasjpeg examples
|
|
|
+pasjpeg_shared:
|
|
|
+ $(MAKE) -C pasjpeg shared
|
|
|
+pasjpeg_install:
|
|
|
+ $(MAKE) -C pasjpeg install
|
|
|
+pasjpeg_sourceinstall:
|
|
|
+ $(MAKE) -C pasjpeg sourceinstall
|
|
|
+pasjpeg_exampleinstall:
|
|
|
+ $(MAKE) -C pasjpeg exampleinstall
|
|
|
+pasjpeg_distinstall:
|
|
|
+ $(MAKE) -C pasjpeg distinstall
|
|
|
+pasjpeg_zipinstall:
|
|
|
+ $(MAKE) -C pasjpeg zipinstall
|
|
|
+pasjpeg_zipsourceinstall:
|
|
|
+ $(MAKE) -C pasjpeg zipsourceinstall
|
|
|
+pasjpeg_zipexampleinstall:
|
|
|
+ $(MAKE) -C pasjpeg zipexampleinstall
|
|
|
+pasjpeg_zipdistinstall:
|
|
|
+ $(MAKE) -C pasjpeg zipdistinstall
|
|
|
+pasjpeg_clean:
|
|
|
+ $(MAKE) -C pasjpeg clean
|
|
|
+pasjpeg_distclean:
|
|
|
+ $(MAKE) -C pasjpeg distclean
|
|
|
+pasjpeg_cleanall:
|
|
|
+ $(MAKE) -C pasjpeg cleanall
|
|
|
+pasjpeg_info:
|
|
|
+ $(MAKE) -C pasjpeg info
|
|
|
+pasjpeg_makefiles:
|
|
|
+ $(MAKE) -C pasjpeg makefiles
|
|
|
+pasjpeg:
|
|
|
+ $(MAKE) -C pasjpeg all
|
|
|
+.PHONY: pasjpeg_all pasjpeg_debug pasjpeg_smart pasjpeg_release pasjpeg_examples pasjpeg_shared pasjpeg_install pasjpeg_sourceinstall pasjpeg_exampleinstall pasjpeg_distinstall pasjpeg_zipinstall pasjpeg_zipsourceinstall pasjpeg_zipexampleinstall pasjpeg_zipdistinstall pasjpeg_clean pasjpeg_distclean pasjpeg_cleanall pasjpeg_info pasjpeg_makefiles pasjpeg
|
|
|
+endif
|
|
|
ifdef TARGET_DIRS_REGEXPR
|
|
|
regexpr_all:
|
|
|
$(MAKE) -C regexpr all
|