[ANN] stuckins.all (was Re: [ENH] plugins.all (was Re: VMMaker next steps))
PhiHo Hoang
phiho.hoang at rogers.com
Sat Jul 12 12:19:30 UTC 2003
> # plugins.all must be included before plugins.int
> # plugins.int must be included after plugins.all
These requirements are not really needed, it just reflects
the poor design of 'plugins.all'.
A bit of refactoring would nicely remove this dependency.
Introducing, 'stuckins.all':
# start of stuckins.all
ifndef ALL_STUCKINS
SIMPLE_STUCKINS = AsynchFilePlugin B3DAcceleratorPlugin JoystickTabletPlugin MIDIPlugin SerialPlugin
SocketPlugin SoundPlugin SoundGenerationPlugin UUIDPlugin
COMPLEX_STUCKINS = FilePlugin SecurityPlugin
MORE_COMPLEX_STUCKINS = DropPlugin
ALL_STUCKINS = $(SIMPLE_STUCKINS) $(COMPLEX_STUCKINS) $(MORE_COMPLEX_STUCKINS)
endif
# end of stuckins.all
'Plugins.all' and 'plugins.int' hence become:
# start of plugins.all
include plugins/stuckins.all
TRUE_PLUGINS=ADPCMCodecPlugin Squeak3D BMPReadWriterPlugin B2DPlugin BitBltPlugin DSAPrims ZipPlugin
FFTPlugin FloatArrayPlugin FontPlugin GeniePlugin IntegerPokerPlugin JPEGReadWriter2Plugin
JPEGReaderPlugin Klatt LargeIntegers Matrix2x3Plugin MiscPrimitivePlugin Mpeg3Plugin RePlugin
SoundCodecPrims StarSqueakPlugin SurfacePlugin SqueakFFIPrims
ALL_PLUGINS = $(ALL_STUCKINS) $(TRUE_PLUGINS)
# end of plugins.all
# start of plugins.int
include plugins/stuckins.all
INTERNAL_PLUGINS = $(ALL_STUCKINS)
EXTERNAL_PLUGINS = $(filter-out $(INTERNAL_PLUGINS), $(ALL_PLUGINS))
# end of plugins.int
Cheers,
PhiHo.
More information about the Squeak-dev
mailing list
|