config/static-rules.mk
author Serge Gautherie <sgautherie.bz@free.fr>
Tue, 01 Sep 2009 14:19:32 +0200
changeset 3469 74e8dd33f86e763d6dfa5a63c6dffb4821878c16
parent 1719 3335d5d6ae7d73c7adeadd493c481c109c6c9052
child 4784 5da147bf90bdfac4430fcfbe0c50d602b18b6a17
permissions -rw-r--r--
Bug 513709 - configure.in: Remove some useless vars, mozilla-* ones are enough; (Dv1) Remove HAVE_FT_*, _HAVE_FREETYPE2 and related r=kairo


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

ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
LIBS	+= -framework QuickTime -framework IOKit -lcrypto
endif