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))
|
|
|
|
|
2008-11-28 02:26:44 +00:00
|
|
|
nsStaticComponents.cpp: $(topsrcdir)/config/nsStaticComponents.cpp.in $(GLOBAL_DEPS) $(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
|
|
|
|
2006-06-08 16:37:17 +00:00
|
|
|
GARBAGE += nsStaticComponents.cpp
|
|
|
|
|
2002-02-19 10:01:05 +00:00
|
|
|
ifeq ($(OS_ARCH),IRIX)
|
|
|
|
LDFLAGS += -Wl,-LD_LAYOUT:lgot_buffer=80
|
|
|
|
endif
|
2007-05-07 15:32:41 +00:00
|
|
|
|
2009-09-19 02:59:53 +00:00
|
|
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
2007-05-07 15:32:41 +00:00
|
|
|
LIBS += -framework QuickTime -framework IOKit -lcrypto
|
|
|
|
endif
|