mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 16:49:23 +02:00
+ Initial implementation
This commit is contained in:
parent
66aff97dbb
commit
75b1cdd350
42
install/man/fpcmake.1
Normal file
42
install/man/fpcmake.1
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
.TH fpcmake 1 "12 Dec 1999" FreePascal "Free Pascal Makefile constructor"
|
||||||
|
.SH NAME
|
||||||
|
fpcmake \- The Free Pascal makefile constuctor program.
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
|
||||||
|
.B fpcmake
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
|
||||||
|
.B fpcmake
|
||||||
|
reads a
|
||||||
|
.I Makefile.fpc
|
||||||
|
and converts it to a
|
||||||
|
.I Makefile
|
||||||
|
suitable for reading by GNU
|
||||||
|
.I make
|
||||||
|
to compile your projects. It is similar in functionality to GNU
|
||||||
|
.I autoconf
|
||||||
|
or
|
||||||
|
.I Imake
|
||||||
|
for making X projects.
|
||||||
|
|
||||||
|
.SH USAGE
|
||||||
|
|
||||||
|
.B fpcmake
|
||||||
|
takes no options at this time. It just attempts to read the file
|
||||||
|
.I Makefile.fpc
|
||||||
|
in the current directory and tries to construct a Makefile from it.
|
||||||
|
any previously existing
|
||||||
|
.I Makefile
|
||||||
|
will be erased. See
|
||||||
|
.BR fpcmake (5)
|
||||||
|
for a description of the format of the
|
||||||
|
.I Makefile.fpc
|
||||||
|
file.
|
||||||
|
|
||||||
|
.SH SEE ALSO
|
||||||
|
.IP
|
||||||
|
.BR fpcmake (5)
|
||||||
|
.BR ppc386 (1)
|
||||||
|
.BR make (1)
|
91
install/man/fpcmake.5
Normal file
91
install/man/fpcmake.5
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
.TH fpcmake 5 "12 Dec 1999" FreePascal "Free Pascal Makefile.fpc format"
|
||||||
|
.SH NAME
|
||||||
|
Makefile.fpc \- Configuration file for fpcmake.
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.SH DESCRIPTION
|
||||||
|
|
||||||
|
.B Makefile.fpc
|
||||||
|
is a plain ASCII file that contains a number of sections as in a Windows
|
||||||
|
.I ini
|
||||||
|
file. The following sections are recognized (in alphabetical order):
|
||||||
|
.TP
|
||||||
|
.B clean
|
||||||
|
Specifies rules for cleaning the directory of units and programs.
|
||||||
|
The following entries are recognized:
|
||||||
|
.RS
|
||||||
|
.TP
|
||||||
|
.I units
|
||||||
|
names of all units that should be removed when cleaning. Don't specify
|
||||||
|
extensions, the makefile will append these by itself.
|
||||||
|
.TP
|
||||||
|
.I files
|
||||||
|
names of files that should be removed. Specify full filenames.
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B defaults
|
||||||
|
The defaults section contains some default settings. The following keywords
|
||||||
|
are recognized:
|
||||||
|
.RS
|
||||||
|
.TP
|
||||||
|
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B dirs
|
||||||
|
.TP
|
||||||
|
.B info
|
||||||
|
.TP
|
||||||
|
.B install
|
||||||
|
Contains instructions for installation of your units and programs. The
|
||||||
|
following keywods are recognized:
|
||||||
|
.RS
|
||||||
|
.TP
|
||||||
|
.I dirprefix
|
||||||
|
the directory below wchich all installs are done. This corresponds to the
|
||||||
|
.I \-\-prefix
|
||||||
|
argument to GNU
|
||||||
|
.I configure
|
||||||
|
It is used for the installation of programs and units. By default, this is
|
||||||
|
. /usr
|
||||||
|
on linux, and
|
||||||
|
. /pp
|
||||||
|
on all other platforms.
|
||||||
|
.TP
|
||||||
|
.I dirbase
|
||||||
|
The directory that is used as the base directory for the installation of
|
||||||
|
units. Default this is
|
||||||
|
.I dirprefix
|
||||||
|
appended with
|
||||||
|
.I /lib/fpc/FPC\_VERSION
|
||||||
|
for linux or simply the dirprefix on other platforms.
|
||||||
|
.RE
|
||||||
|
Units will be installed in the subdirectory
|
||||||
|
.I units/$(OS\_TARGET)
|
||||||
|
of the
|
||||||
|
.I dirbase
|
||||||
|
entry.
|
||||||
|
.TP
|
||||||
|
.B libs
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B packages
|
||||||
|
.TP
|
||||||
|
.B postsettings
|
||||||
|
.TP
|
||||||
|
.B presettings
|
||||||
|
.TP
|
||||||
|
.B rules
|
||||||
|
.TP
|
||||||
|
.B sections
|
||||||
|
.TP
|
||||||
|
.B targets
|
||||||
|
.TP
|
||||||
|
.B tools
|
||||||
|
.TP
|
||||||
|
.B zip
|
||||||
|
|
||||||
|
.SH SEE ALSO
|
||||||
|
.IP
|
||||||
|
.BR fpcmake (1)
|
||||||
|
.BR ppc386 (1)
|
||||||
|
.BR make (1)
|
Loading…
Reference in New Issue
Block a user