2002-02-19 13:01:05 +03:00
|
|
|
|
2002-08-06 08:17:50 +04:00
|
|
|
ifdef _NO_AUTO_VARS
|
|
|
|
_TARGET = $(srcdir)/$(@F)
|
|
|
|
else
|
|
|
|
_TARGET = $@
|
|
|
|
endif
|
|
|
|
|
2005-07-21 17:33:43 +04:00
|
|
|
$(warning FINAL_LINK_COMP_NAMES = $(FINAL_LINK_COMP_NAMES))
|
|
|
|
$(warning FINAL_LINK_COMPS = $(FINAL_LINK_COMPS))
|
|
|
|
|
2008-11-28 05:26:44 +03:00
|
|
|
nsStaticComponents.cpp: $(topsrcdir)/config/nsStaticComponents.cpp.in $(GLOBAL_DEPS) $(FINAL_LINK_COMP_NAMES)
|
2002-02-19 13:01:05 +03:00
|
|
|
rm -f $@
|
|
|
|
cat $< | \
|
2005-07-21 17:33:43 +04:00
|
|
|
sed -e "s|%MODULE_LIST%|$(foreach m, $(STATIC_COMPONENT_LIST),MODULE($(m)))|" \
|
2002-08-06 08:17:50 +04:00
|
|
|
> $(_TARGET)
|
2002-02-19 13:01:05 +03:00
|
|
|
|
2006-06-08 20:37:17 +04:00
|
|
|
GARBAGE += nsStaticComponents.cpp
|
|
|
|
|
2002-02-19 13:01:05 +03:00
|
|
|
ifeq ($(OS_ARCH),IRIX)
|
|
|
|
LDFLAGS += -Wl,-LD_LAYOUT:lgot_buffer=80
|
|
|
|
endif
|
2007-05-07 19:32:41 +04:00
|
|
|
|
|
|
|
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
LIBS += -framework QuickTime -framework IOKit -lcrypto
|
|
|
|
endif
|