[ANN] makeprims.mak (was Re: VMMaker next steps)
PhiHo Hoang
phiho.hoang at rogers.com
Sat Jul 12 10:58:31 UTC 2003
Dear VM gurus,
'makeprims.mak' is hereby submitted for 3.6 beta.
It is submitted in the hope that it will be accepted for 3.6
and garbage collected in 3.7 (because in 3.7 all plugins
will then all be truly slide-able without any need for help
from 'makeprims' and a bunch of bytes can be shaved
off the VM as well).
It is hoped that this hope is not too much of a hope.
Hopefully yours,
PhiHo.
-------------- next part --------------
# makeprims.mak
pre1:="extern sqExport "
post1:="_exports[];"
EXTERN_SQEXPORTS=$(foreach Plugin, $(INTERNAL_PLUGINS), $(pre1)$(Plugin)$(post1))
post2:="_exports,"
INTERNAL_PLUGINS_EXPORTS=$(foreach Plugin, $(INTERNAL_PLUGINS), $(Plugin)$(post2))
SQNAMEDPRIMSHGEN=$(VMDIR)/sqNamedPrims.h.gen
sqNamedPrims.h: $(SQNAMEDPRIMSHGEN)
$(SQNAMEDPRIMSHGEN): plugins/plugins.int
@echo '#ifndef SQNAMEDPRIMS_H_GEN' > $(SQNAMEDPRIMSHGEN)
@echo '#define SQNAMEDPRIMS_H_GEN' >> $(SQNAMEDPRIMSHGEN)
@echo '' >> $(SQNAMEDPRIMSHGEN)
@echo $(EXTERN_SQEXPORTS) >> $(SQNAMEDPRIMSHGEN)
@echo '' >> $(SQNAMEDPRIMSHGEN)
@echo '#define INTERNAL_PLUGINS_EXPORTS \' >> $(SQNAMEDPRIMSHGEN)
@echo $(INTERNAL_PLUGINS_EXPORTS) >> $(SQNAMEDPRIMSHGEN)
@echo '' >> $(SQNAMEDPRIMSHGEN)
@echo '#endif // SQNAMEDPRIMS_H_GEN' >> $(SQNAMEDPRIMSHGEN)
More information about the Squeak-dev
mailing list
|