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/.
5 # Statically link against the RTL on windows
7 # Don't create a dependency on mozglue
11 -I
$(topsrcdir
)/xpcom
/build \
12 -I
$(topsrcdir
)/xpcom
/base \
15 DEFINES
+= -DXPCOM_GLUE
19 $(XPCOM_STANDALONE_STATICRUNTIME_GLUE_LDOPTS
) \
22 # Need to link with CoreFoundation on Mac
23 ifeq (cocoa
,$(MOZ_WIDGET_TOOLKIT
))
29 ifeq ($(OS_ARCH
),WINNT
)
30 RCINCLUDE
= xulrunner-stub.rc
32 RCFLAGS
+= -DMOZ_XULRUNNER
-I
$(srcdir)
34 RCFLAGS
+= -DMOZ_XULRUNNER
--include-dir
$(srcdir)
36 LOCAL_INCLUDES
+= -I
$(topsrcdir
)/toolkit
/xre
47 include $(topsrcdir
)/config
/config.mk
50 WIN32_EXE_LDFLAGS
+= -ENTRY
:wmainCRTStartup
53 include $(topsrcdir
)/config
/rules.mk
55 ifeq ($(OS_ARCH
),WINNT
)
56 OS_LIBS
+= $(call EXPAND_LIBNAME
,shell32
)