#
#   Makefile.fpc for Free Pascal API (used by Free Vision) for linux
#

[defaults]
defaulttarget=linux

[targets]
units=terminfo $(APIOBJECTS)

[install]
unitsubdir=api
packagename=api

[libs]
libname=libfpapi.so
libversion=1.0

[dirs]
fpcdir=../..
targetdir=.
sourcesdir=$(INC)
incdir=$(INC)

[presettings]
INC=../inc

# Override defaults
override PASEXT=.pas

include $(INC)/Makefile.api


[rules]
video$(PPUEXT): $(INC)/video.pas video.inc

keyboard$(PPUEXT): $(INC)/keyboard.pas keyboard.inc

mouse$(PPUEXT): $(INC)/mouse.pas mouse.inc

filectrl$(PPUEXT): $(INC)/filectrl.pas filectrl.inc
