2010-03-03 21:02:56 -08:00
|
|
|
#
|
2012-05-21 04:12:37 -07:00
|
|
|
# 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/.
|
2010-03-03 21:02:56 -08:00
|
|
|
|
2010-04-20 13:12:02 -07:00
|
|
|
STL_FLAGS =
|
|
|
|
ifdef _MSC_VER
|
|
|
|
STL_FLAGS = -D_HAS_EXCEPTIONS=0
|
|
|
|
endif
|
2010-03-03 21:02:56 -08:00
|
|
|
|
|
|
|
DIST_INSTALL = 1
|
|
|
|
|
2010-03-06 09:58:04 -08:00
|
|
|
ifeq (,$(filter-out OS2,$(OS_ARCH)))
|
|
|
|
# The strndup declaration in string.h is in an ifdef __USE_GNU section
|
|
|
|
DEFINES += -D_GNU_SOURCE
|
|
|
|
endif
|
|
|
|
|
2011-05-08 01:29:59 -07:00
|
|
|
ifneq (,$(filter OS2 WINNT,$(OS_ARCH)))
|
2010-08-05 11:53:43 -07:00
|
|
|
SDK_LIBRARY = $(IMPORT_LIBRARY)
|
|
|
|
else
|
|
|
|
SDK_LIBRARY = $(SHARED_LIBRARY)
|
|
|
|
endif
|
|
|
|
|
2011-06-06 18:09:46 -07:00
|
|
|
LOCAL_INCLUDES += -I$(DEPTH)/xpcom
|