Bug 476245. Keep better track of our anonymous content. r=smaug, sr=jst
[mozilla-central.git] / config / static-rules.mk
blob9381b0dc2cf872561a492646bd59bf22939f99a3
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 ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
24 LIBS += -framework QuickTime -framework IOKit -lcrypto
25 endif