config/static-rules.mk
author Mark Banner <bugzilla@standard8.plus.com>
Tue, 20 Mar 2012 20:12:47 +0000
changeset 9695 15769b1a16d00199402730a797fe4c8edfddcdc7
parent 4784 5da147bf90bdfac4430fcfbe0c50d602b18b6a17
child 11987 ef3ee6f165dec8a123f5d02cf02ad48fac5357a5
permissions -rw-r--r--
Backout Bug 733802 - changesets 29d89350dce1 / c20698efdd88 due to unit test bustage


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: $(MOZILLA_SRCDIR)/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

ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
LIBS	+= -framework QuickTime -framework IOKit -lcrypto
endif