2002-02-19 10:01:05 +00:00
|
|
|
|
2002-08-06 04:17:50 +00:00
|
|
|
ifdef _NO_AUTO_VARS
|
|
|
|
_TARGET = $(srcdir)/$(@F)
|
|
|
|
else
|
|
|
|
_TARGET = $@
|
|
|
|
endif
|
|
|
|
|
2002-02-19 10:01:05 +00:00
|
|
|
nsStaticComponents.cpp: $(MOZILLA_DIR)/xpfe/bootstrap/nsStaticComponents.cpp.in Makefile Makefile.in $(FINAL_LINK_COMP_NAMES)
|
|
|
|
rm -f $@
|
|
|
|
cat $< | \
|
|
|
|
sed -e "s|%DECL_NSGETMODULES%|$(foreach m,$(STATIC_COMPONENT_LIST),DECL_NSGETMODULE($(m)))|" | \
|
|
|
|
sed -e "s|%MODULE_LIST%|$(foreach m, $(STATIC_COMPONENT_LIST),MODULE($(m)),)|" \
|
2002-08-06 04:17:50 +00:00
|
|
|
> $(_TARGET)
|
2002-02-19 10:01:05 +00:00
|
|
|
|
|
|
|
ifeq ($(OS_ARCH),IRIX)
|
|
|
|
LDFLAGS += -Wl,-LD_LAYOUT:lgot_buffer=80
|
|
|
|
endif
|
|
|
|
|