|
1 # This Source Code Form is subject to the terms of the Mozilla Public |
|
2 # License, v. 2.0. If a copy of the MPL was not distributed with this file, |
|
3 # You can obtain one at http://mozilla.org/MPL/2.0/. |
|
4 |
|
5 ifdef MOZ_CONTENT_SANDBOX |
|
6 ifeq ($(OS_ARCH),WINNT) |
|
7 SHARED_LIBRARY_LIBS += ../../security/sandbox/win/src/sandboxbroker/$(LIB_PREFIX)sandboxbroker.$(LIB_SUFFIX) |
|
8 endif |
|
9 endif |
|
10 |
|
11 # COMPONENT_LIBS is mosly useless since bug 935881, but is kept for |
|
12 # MOZ_APP_COMPONENT_LIBS, used by comm-central, and gtest linking. |
|
13 SHARED_LIBRARY_LIBS += \ |
|
14 $(foreach component,$(COMPONENT_LIBS),$(DEPTH)/staticlib/$(LIB_PREFIX)$(component).$(LIB_SUFFIX)) \ |
|
15 $(NULL) |
|
16 |
|
17 ifdef MOZ_APP_COMPONENT_LIBS |
|
18 COMPONENT_LIBS += $(MOZ_APP_COMPONENT_LIBS) |
|
19 endif |
|
20 |
|
21 ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa) |
|
22 CXXFLAGS += $(TK_CFLAGS) |
|
23 endif |
|
24 |
|
25 include $(topsrcdir)/config/rules.mk |
|
26 |
|
27 .PHONY: gtestxul |
|
28 gtestxul: |
|
29 $(MAKE) -C gtest libs LINK_GTEST=1 |