Use %var% instead of @var@ for static build substitutions. Fixing win32 side.

This commit is contained in:
cls%seawood.org 2001-07-27 21:32:38 +00:00
Родитель aefebf5e6c
Коммит 801e54257a
2 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -56,13 +56,13 @@ include <$(DEPTH)/config/rules.mak>
$(SEDCMDS): $(LINK_COMP_NAMES)
echo +++make: Creating $@
rm -f $@
echo s/@COMPONENT_NS_GET_MODULE@/\>> $@
echo s/%COMPONENT_NS_GET_MODULE%/\>> $@
sed -e "s/\(.*\)/REGISTER_MODULE_USING(\1_NSGetModule);\\\/" $(LINK_COMP_NAMES) >> $@
echo />> $@
echo s/@COMPONENT_LIST@/\>> $@
echo s/%COMPONENT_LIST%/\>> $@
sed -e "s/\(.*\)/{ \1_NSGM_comps, \1_NSGM_comp_count },\\\/" $(LINK_COMP_NAMES) >> $@
echo />> $@
echo s/@DECLARE_COMPONENT_LIST@/\>> $@
echo s/%DECLARE_COMPONENT_LIST%/\>> $@
sed -e "s/\(.*\)/extern \"C\" nsresult \1_NSGetModule(nsIComponentManager*, nsIFile*, nsIModule**); extern nsModuleComponentInfo* \1_NSGM_comps; extern PRUint32 \1_NSGM_comp_count;\\\/" $(LINK_COMP_NAMES) >> $@
echo />> $@

Просмотреть файл

@ -144,10 +144,10 @@ include <$(DEPTH)\config\rules.mak>
$(SEDCMDS): $(FINAL_LINK_COMP_NAMES)
rm -f $@
echo s/@DECLARE_COMPONENTS@/\>> $@
echo s/%DECLARE_COMPONENTS%/\>> $@
sed -e "s/^/DECL_MODULE(/" -e "s/$$/);\\\/" $(FINAL_LINK_COMP_NAMES) >> $@
echo />> $@
echo s/@COMPONENT_LIST@/\>> $@
echo s/%COMPONENT_LIST%/\>> $@
sed -e "s/^/MODULE(/" -e "s/$$/),\\\/" $(FINAL_LINK_COMP_NAMES) >> $@
echo />> $@