Plugin creation question...
Bert Freudenberg
bert at isg.cs.uni-magdeburg.de
Wed Mar 13 14:02:29 UTC 2002
On Wed, 13 Mar 2002, Kevin Fisher wrote:
> > Sure. This is the Right Thing if the plugin is compiled internally. If it
> > is made external, however, the plugin itself shoulf be linked to that
> > libs, not the VM.
>
> How do you do this externally, then? Is there a way to do it from Slang
> (so that it's automatically generated the "right way"), or do I have
> to manually hack up the Makefile after VMMaker generates everything?
You can put a mkMakeRules script into your plugin directory. For a rather
complicated example, see unix/plugins/Mpeg3Plugin/mkMakeRules
It is called as
$unixdir/plugins/$plugin/mkMakeRules $topdir internal
or
$unixdir/plugins/$plugin/mkMakeRules $topdir external
from the script
platforms/unix/misc/util/mkMake ...
-- Bert
More information about the Squeak-dev
mailing list
|