mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
7d5b5e0578
r=ted, a1.9.1=beltzner [js bits rs=sdwilsh]
26 lines
629 B
Makefile
26 lines
629 B
Makefile
|
|
ifdef _NO_AUTO_VARS
|
|
_TARGET = $(srcdir)/$(@F)
|
|
else
|
|
_TARGET = $@
|
|
endif
|
|
|
|
$(warning FINAL_LINK_COMP_NAMES = $(FINAL_LINK_COMP_NAMES))
|
|
$(warning FINAL_LINK_COMPS = $(FINAL_LINK_COMPS))
|
|
|
|
nsStaticComponents.cpp: $(topsrcdir)/config/nsStaticComponents.cpp.in $(GLOBAL_DEPS) $(FINAL_LINK_COMP_NAMES)
|
|
rm -f $@
|
|
cat $< | \
|
|
sed -e "s|%MODULE_LIST%|$(foreach m, $(STATIC_COMPONENT_LIST),MODULE($(m)))|" \
|
|
> $(_TARGET)
|
|
|
|
GARBAGE += nsStaticComponents.cpp
|
|
|
|
ifeq ($(OS_ARCH),IRIX)
|
|
LDFLAGS += -Wl,-LD_LAYOUT:lgot_buffer=80
|
|
endif
|
|
|
|
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
|
LIBS += -framework QuickTime -framework IOKit -lcrypto
|
|
endif
|