1 # vim:set ts=8 sw=8 sts=8 noet:
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 topsrcdir
= @top_srcdir@
11 include $(DEPTH
)/config
/autoconf.mk
12 include $(srcdir)/objs.mk
14 EXTRA_DEPS
+= $(srcdir)/objs.mk
19 -I
$(srcdir)/..
/build \
22 DISABLED_SDK_HEADERS
= \
31 nsComponentManagerUtils.h \
32 nsCycleCollectionParticipant.h \
33 nsCycleCollectorUtils.h \
41 nsIInterfaceRequestorUtils.h \
45 nsIWeakReferenceUtils.h \
46 nsInterfaceHashtable.h \
47 nsJSThingHashtable.h \
51 nsServiceManagerUtils.h \
56 nsTArrayForwardDeclare.h \
62 nsVersionComparator.h \
69 $(LIB_PREFIX
)xpcomglue_s.
$(LIB_SUFFIX
) \
74 include $(topsrcdir
)/config
/rules.mk
77 # Don't include directives about which CRT to use
78 OS_COMPILE_CXXFLAGS
+= -Zl
79 OS_COMPILE_CFLAGS
+= -Zl
80 DEFINES
+= -D_USE_ANSI_CPP
83 ifdef TARGET_XPCOM_ABI
84 DEFINES
+= -DTARGET_XPCOM_ABI
=\"$(TARGET_XPCOM_ABI
)\"