config/static-rules.mk
author calbld
Tue, 21 Feb 2012 06:15:47 -0800
branchCAL110_20120221_RELBRANCH
changeset 10187 23620c35e4fc844ba56a9e905ce7bde7f16291d0
parent 4784 5da147bf90bdfac4430fcfbe0c50d602b18b6a17
child 12286 84ac3c71109811da751f0ef2d72108075938f094
permissions -rw-r--r--
Automated checkin: version bump remove "pre" from version number for lightning 1.3b2 release on CAL110_20120221_RELBRANCH CLOSED TREE a=release


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