|
@@ -1,8 +1,8 @@
|
|
|
#
|
|
|
-# Don't edit, this file is generated by FPCMake Version 1.1 [2004/05/23]
|
|
|
+# Don't edit, this file is generated by FPCMake Version 1.1 [2004/06/06]
|
|
|
#
|
|
|
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 watcom morphos
|
|
|
BSDs = freebsd netbsd openbsd darwin
|
|
|
UNIXs = linux $(BSDs) sunos qnx
|
|
|
FORCE:
|
|
@@ -248,6 +248,9 @@ endif
|
|
|
ifeq ($(OS_TARGET),emx)
|
|
|
override TARGET_DIRS+=emx
|
|
|
endif
|
|
|
+ifeq ($(OS_TARGET),morphos)
|
|
|
+override TARGET_DIRS+=morphos
|
|
|
+endif
|
|
|
override INSTALL_FPCPACKAGE=y
|
|
|
override INSTALL_CREATEPACKAGEFPC=y
|
|
|
ifdef REQUIRE_UNITSDIR
|
|
@@ -525,6 +528,11 @@ EXEEXT=
|
|
|
SHAREDLIBEXT=.library
|
|
|
FPCMADE=fpcmade.amg
|
|
|
endif
|
|
|
+ifeq ($(OS_TARGET),morphos)
|
|
|
+EXEEXT=
|
|
|
+SHAREDLIBEXT=.library
|
|
|
+FPCMADE=fpcmade.mos
|
|
|
+endif
|
|
|
ifeq ($(OS_TARGET),atari)
|
|
|
EXEEXT=.ttp
|
|
|
FPCMADE=fpcmade.ata
|
|
@@ -1102,6 +1110,11 @@ ifeq ($(CPU_TARGET),i386)
|
|
|
REQUIRE_PACKAGES_RTL=1
|
|
|
endif
|
|
|
endif
|
|
|
+ifeq ($(OS_TARGET),morphos)
|
|
|
+ifeq ($(CPU_TARGET),powerpc)
|
|
|
+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),)
|
|
@@ -1595,6 +1608,9 @@ endif
|
|
|
ifeq ($(OS_TARGET),emx)
|
|
|
TARGET_DIRS_EMX=1
|
|
|
endif
|
|
|
+ifeq ($(OS_TARGET),morphos)
|
|
|
+TARGET_DIRS_MORPHOS=1
|
|
|
+endif
|
|
|
ifdef TARGET_DIRS_LINUX
|
|
|
linux_all:
|
|
|
$(MAKE) -C linux all
|
|
@@ -2068,6 +2084,49 @@ emx:
|
|
|
$(MAKE) -C emx all
|
|
|
.PHONY: emx_all emx_debug emx_smart emx_release emx_examples emx_shared emx_install emx_sourceinstall emx_exampleinstall emx_distinstall emx_zipinstall emx_zipsourceinstall emx_zipexampleinstall emx_zipdistinstall emx_clean emx_distclean emx_cleanall emx_info emx_makefiles emx
|
|
|
endif
|
|
|
+ifdef TARGET_DIRS_MORPHOS
|
|
|
+morphos_all:
|
|
|
+ $(MAKE) -C morphos all
|
|
|
+morphos_debug:
|
|
|
+ $(MAKE) -C morphos debug
|
|
|
+morphos_smart:
|
|
|
+ $(MAKE) -C morphos smart
|
|
|
+morphos_release:
|
|
|
+ $(MAKE) -C morphos release
|
|
|
+morphos_examples:
|
|
|
+ $(MAKE) -C morphos examples
|
|
|
+morphos_shared:
|
|
|
+ $(MAKE) -C morphos shared
|
|
|
+morphos_install:
|
|
|
+ $(MAKE) -C morphos install
|
|
|
+morphos_sourceinstall:
|
|
|
+ $(MAKE) -C morphos sourceinstall
|
|
|
+morphos_exampleinstall:
|
|
|
+ $(MAKE) -C morphos exampleinstall
|
|
|
+morphos_distinstall:
|
|
|
+ $(MAKE) -C morphos distinstall
|
|
|
+morphos_zipinstall:
|
|
|
+ $(MAKE) -C morphos zipinstall
|
|
|
+morphos_zipsourceinstall:
|
|
|
+ $(MAKE) -C morphos zipsourceinstall
|
|
|
+morphos_zipexampleinstall:
|
|
|
+ $(MAKE) -C morphos zipexampleinstall
|
|
|
+morphos_zipdistinstall:
|
|
|
+ $(MAKE) -C morphos zipdistinstall
|
|
|
+morphos_clean:
|
|
|
+ $(MAKE) -C morphos clean
|
|
|
+morphos_distclean:
|
|
|
+ $(MAKE) -C morphos distclean
|
|
|
+morphos_cleanall:
|
|
|
+ $(MAKE) -C morphos cleanall
|
|
|
+morphos_info:
|
|
|
+ $(MAKE) -C morphos info
|
|
|
+morphos_makefiles:
|
|
|
+ $(MAKE) -C morphos makefiles
|
|
|
+morphos:
|
|
|
+ $(MAKE) -C morphos all
|
|
|
+.PHONY: morphos_all morphos_debug morphos_smart morphos_release morphos_examples morphos_shared morphos_install morphos_sourceinstall morphos_exampleinstall morphos_distinstall morphos_zipinstall morphos_zipsourceinstall morphos_zipexampleinstall morphos_zipdistinstall morphos_clean morphos_distclean morphos_cleanall morphos_info morphos_makefiles morphos
|
|
|
+endif
|
|
|
all: $(addsuffix _all,$(TARGET_DIRS))
|
|
|
debug: $(addsuffix _debug,$(TARGET_DIRS))
|
|
|
smart: $(addsuffix _smart,$(TARGET_DIRS))
|