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
|
|
|
|
|
2005-07-21 13:33:43 +00:00
|
|
|
$(warning FINAL_LINK_COMP_NAMES = $(FINAL_LINK_COMP_NAMES))
|
|
|
|
$(warning FINAL_LINK_COMPS = $(FINAL_LINK_COMPS))
|
|
|
|
|
|
|
|
nsStaticComponents.cpp: $(topsrcdir)/config/nsStaticComponents.cpp.in Makefile Makefile.in $(FINAL_LINK_COMP_NAMES)
|
2002-02-19 10:01:05 +00:00
|
|
|
rm -f $@
|
|
|
|
cat $< | \
|
2005-07-21 13:33:43 +00:00
|
|
|
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
|