setting unit output dir in packages/extra

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

setting unit output dir in packages/extra

Marc Santhoff
Hi,

I'm trying hard to make a package thatfits inside fpc/packages/extra.
Most things do work, but some details are missing still.

How and where is the setting made that directs the output of package
compilation to $targetos/something and the installation target path?

A typical packages/extra Makefile.fpc looks like this and has no out
path setting. For reference:

<snip>

#
#   Makefile.fpc for fpgtk
#
[require]
packages=fcl gtk

[package]
name=fpgtk
version=2.0.4

[target]
units=fpglib fpgtk fpgtkext
rsts=fpgtk fpgtkext

[install]
fpcpackage=y

[default]
fpcdir=../../..

</snip>

Other possibilities are having something in the Makefiles upwards the
directory tree or the fpc.cfg used when compiling ...

TIA,
Marc


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal