E.4 Format of the configuration file

This section describes the rules that can be present in the file that is fed to 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):


   clean
   compiler
   Default
   Dist
   Install
   Package
   Prerules
   Requires
   Rules
   Target