Fix GCC uninit-var warning (no bug, r=brendan).
[mozilla-central.git] / config / static-rules.mk
blobf4842dbecfd94f8a1838a0780b032f66299d168f
2 ifdef _NO_AUTO_VARS
3 _TARGET = $(srcdir)/$(@F)
4 else
5 _TARGET = $@
6 endif
8 $(warning FINAL_LINK_COMP_NAMES = $(FINAL_LINK_COMP_NAMES))
9 $(warning FINAL_LINK_COMPS = $(FINAL_LINK_COMPS))
11 nsStaticComponents.cpp: $(topsrcdir)/config/nsStaticComponents.cpp.in $(GLOBAL_DEPS) $(FINAL_LINK_COMP_NAMES)
12 rm -f $@
13 cat $< | \
14 sed -e "s|%MODULE_LIST%|$(foreach m, $(STATIC_COMPONENT_LIST),MODULE($(m)))|" \
15 > $(_TARGET)
17 GARBAGE += nsStaticComponents.cpp
19 ifeq ($(OS_ARCH),IRIX)
20 LDFLAGS += -Wl,-LD_LAYOUT:lgot_buffer=80
21 endif
23 ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
24 LIBS += -framework QuickTime -framework IOKit -lcrypto
25 endif