config/static-rules.mk
author reed@reedloden.com
Tue, 29 Jan 2008 10:38:15 -0800
changeset 10924 c240b3f25bb784ee39ab1baf99e7fcd12077be68
parent 1241 432ab7a69fffe804e49a1ea75422dce43aaf1a29
child 22032 87f6ae0c4324ce0d1b6133fbe6405e8d3baa6934
permissions -rw-r--r--
Bug 66057 - "Proxy: $http_proxy should influence proxy settings" [p=roc@ocallahan.org (Robert O'Callahan [roc]) / diane@ghic.org (Diane Trout) / ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=josh r+sr=biesi a1.9=damons]


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 Makefile Makefile.in $(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