Plugin creation question...

Kevin Fisher kgf at golden.net
Wed Mar 13 14:09:24 UTC 2002


Aaahh,  NOW I see!
[insert picture of me with lightbulb appearing above head]

Thanks!  I was trying to figure out this very thing in the Mpeg3Plugin
directory but it wasn't making a lot of sense to me.


On Wed, Mar 13, 2002 at 03:02:29PM +0100, Bert Freudenberg wrote:
> 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