E.4 Format of the configuration file

This section describes the rules that can be present in the file that is processed by fpcmake.

The file Makefile.fpc is a plain ASCII file that contains a number of pre-defined sections as in a Windows .ini-file, or a Samba configuration file.

They look more or less as follows:

[package]  
name=mysql  
version=1.0.5  
 
[target]  
units=mysql_com mysql_version mysql  
examples=testdb  
 
[require]  
libc=y  
 
[install]  
fpcpackage=y  
 
[default]  
fpcdir=../..

The following sections are recognized (in alphabetical order):

  E.4.1 clean
  E.4.2 compiler
  E.4.3 Default
  E.4.4 Dist
  E.4.5 Install
  E.4.6 Package
  E.4.7 Prerules
  E.4.8 Requires
  E.4.9 Rules
  E.4.10 Target