toolkit/library/Makefile.in
author Peter Van der Beken <peterv@propagandism.org>
Thu, 04 Jul 2013 17:40:10 +0200
changeset 191342 6f97e210af1d5801161814c0992f1090877d5a48
parent 176468 93739bb5245736fe2c09626c5f3519633b4dbc71
child 193577 54cdce960e73eb9f0402fe1126102bc4e474472a
permissions -rw-r--r--
Bug 1029104 - Convert XPathExpression to WebIDL bindings, various small fixes. r=bz.

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.

ifdef MOZ_CONTENT_SANDBOX
ifeq ($(OS_ARCH),WINNT)
  SHARED_LIBRARY_LIBS += ../../security/sandbox/win/src/sandboxbroker/$(LIB_PREFIX)sandboxbroker.$(LIB_SUFFIX)
endif
endif

# COMPONENT_LIBS is mosly useless since bug 935881, but is kept for
# MOZ_APP_COMPONENT_LIBS, used by comm-central, and gtest linking.
SHARED_LIBRARY_LIBS += \
  $(foreach component,$(COMPONENT_LIBS),$(DEPTH)/staticlib/$(LIB_PREFIX)$(component).$(LIB_SUFFIX)) \
  $(NULL)

ifdef MOZ_APP_COMPONENT_LIBS
COMPONENT_LIBS += $(MOZ_APP_COMPONENT_LIBS)
endif

ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
CXXFLAGS += $(TK_CFLAGS)
endif

include $(topsrcdir)/config/rules.mk

.PHONY: gtestxul
gtestxul:
	$(MAKE) -C gtest libs LINK_GTEST=1