|
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 |
|
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
4 |
|
5 # Don't create a dependency on mozglue |
|
6 MOZ_GLUE_LDFLAGS = |
|
7 |
|
8 LIBS = \ |
|
9 $(XPCOM_STANDALONE_STATICRUNTIME_GLUE_LDOPTS) \ |
|
10 $(NULL) |
|
11 |
|
12 # Need to link with CoreFoundation on Mac |
|
13 ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) |
|
14 LIBS += \ |
|
15 $(TK_LIBS) \ |
|
16 $(NULL) |
|
17 endif |
|
18 |
|
19 ifndef MOZ_WINCONSOLE |
|
20 ifdef MOZ_DEBUG |
|
21 MOZ_WINCONSOLE = 1 |
|
22 else |
|
23 MOZ_WINCONSOLE = 0 |
|
24 endif |
|
25 endif |
|
26 |
|
27 include $(topsrcdir)/config/config.mk |
|
28 |
|
29 include $(topsrcdir)/config/rules.mk |
|
30 |
|
31 ifeq ($(OS_ARCH),WINNT) |
|
32 OS_LIBS += $(call EXPAND_LIBNAME,shell32) |
|
33 endif |