config/static-rules.mk
author hg@mozilla.org
Thu, 18 Sep 2008 16:13:11 +0200
changeset 372 7c0bfdcda6731e77303f3c47b01736aaa93d5534
parent 1 66c9c3ea3cbed9214b524d4631cf7bc900e34b8b
child 1719 3335d5d6ae7d73c7adeadd493c481c109c6c9052
permissions -rw-r--r--
bug 455727 - import calendar/ into comm-central, initial import of code from CVS tag HG_COMM_INITIAL_IMPORT at 2008-09-18 07:11:38 PST, imported and tagged cvs.mozilla.org modules: mozilla/calendar mozilla/other-licenses/branding/sunbird/


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 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