From 2eaa6c5ced4e50171d029b017704c03ba6d3795d Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Mon, 8 Jan 2024 17:46:23 +0100 Subject: [PATCH] Add handling of packages/fcl-process/src/amicommon directory --- packages/fpmkunit/Makefile | 4 ++++ packages/fpmkunit/Makefile.fpc | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/packages/fpmkunit/Makefile b/packages/fpmkunit/Makefile index c37957b3d4..02074e9bb6 100644 --- a/packages/fpmkunit/Makefile +++ b/packages/fpmkunit/Makefile @@ -398,6 +398,10 @@ endif ifneq ($(findstring $(OS_SOURCE),os2 emx),) UNIT_PROCESS+=-Fi../fcl-process/src/os2 endif +ifneq ($(findstring $(OS_SOURCE),amiga morphos aros),) +UNIT_PROCESS+=-Fi../fcl-process/src/amicommon +USE_PROCESS_DUMMY_DIR=0 +endif UNIT_PROCESS+=-Fu../fcl-process/src -Fi../fcl-process/src/$(OS_SOURCE) ifeq ($(USE_PROCESS_DUMMY_DIR),1) UNIT_PROCESS+=-Fi../fcl-process/src/dummy diff --git a/packages/fpmkunit/Makefile.fpc b/packages/fpmkunit/Makefile.fpc index ddf0562468..2fc2030656 100644 --- a/packages/fpmkunit/Makefile.fpc +++ b/packages/fpmkunit/Makefile.fpc @@ -49,6 +49,10 @@ ifneq ($(findstring $(OS_SOURCE),os2 emx),) UNIT_PROCESS+=-Fi../fcl-process/src/os2 #USE_PROCESS_DUMMY_DIR=0 (still uses dummy/process.inc) endif +ifneq ($(findstring $(OS_SOURCE),amiga morphos aros),) +UNIT_PROCESS+=-Fi../fcl-process/src/amicommon +USE_PROCESS_DUMMY_DIR=0 +endif UNIT_PROCESS+=-Fu../fcl-process/src -Fi../fcl-process/src/$(OS_SOURCE) ifeq ($(USE_PROCESS_DUMMY_DIR),1) UNIT_PROCESS+=-Fi../fcl-process/src/dummy