Add SYSTEMDIR variable (needed for BSD OSes)

This commit is contained in:
Pierre Muller 2023-09-28 22:55:47 +02:00
parent da1bffd3a6
commit b9544ad342

View File

@ -594,6 +594,10 @@ ifndef NSSYSUTILSDIR
NSSYSUTILSDIR=$(NSDIR)/$(SYSUTILSDIR)
endif
ifndef SYSTEMDIR
SYSTEMDIR=$(OSDIR)
endif
ifndef CLASSESDIR
CLASSESDIR=$(OSDIR)
endif
@ -674,7 +678,7 @@ endif
# System
$(SYSTEMUNIT)$(PPUEXT) : $(SYSTEMUNIT).$(SYSTEMUNITEXT) $(SYSDEPS)
$(SYSTEMUNIT)$(PPUEXT) : $(SYSTEMDIR)/$(SYSTEMUNIT).$(SYSTEMUNITEXT) $(SYSDEPS)
$(COMPILER) $(FPC_SYSTEM_OPT) -Us -Sg $<
# uuchar