2012-05-21 11:12:37 +00: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/.
|
2002-09-18 18:37:11 +00:00
|
|
|
|
2012-08-04 18:26:44 +00:00
|
|
|
DEPTH = @DEPTH@
|
2002-09-18 18:37:11 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = i18n
|
|
|
|
LIBRARY_NAME = i18n
|
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
IS_COMPONENT = 1
|
2002-09-25 06:04:21 +00:00
|
|
|
MODULE_NAME = nsI18nModule
|
2002-12-28 01:15:07 +00:00
|
|
|
GRE_MODULE = 1
|
2004-12-09 19:28:35 +00:00
|
|
|
LIBXUL_LIBRARY = 1
|
2002-12-28 01:15:07 +00:00
|
|
|
|
2002-09-18 18:37:11 +00:00
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
nsI18nModule.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
2002-09-18 20:44:38 +00:00
|
|
|
# see also intl/locale/src/Makefile.in
|
2009-09-19 02:59:53 +00:00
|
|
|
ifneq (,$(filter os2 windows, $(MOZ_WIDGET_TOOLKIT)))
|
2002-09-18 20:44:38 +00:00
|
|
|
LOCALE_DIR = $(MOZ_WIDGET_TOOLKIT)
|
|
|
|
else
|
2011-11-18 13:02:26 +00:00
|
|
|
ifeq ($(OS_ARCH), Darwin)
|
2002-09-18 20:44:38 +00:00
|
|
|
LOCALE_DIR = mac
|
|
|
|
else
|
2002-09-24 22:00:53 +00:00
|
|
|
LOCALE_DIR = unix
|
2002-09-18 20:44:38 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2002-09-18 18:37:11 +00:00
|
|
|
LOCAL_INCLUDES = \
|
2002-09-18 20:03:11 +00:00
|
|
|
-I$(srcdir)/../lwbrk/src \
|
|
|
|
-I$(srcdir)/../unicharutil/src \
|
2002-09-18 20:44:38 +00:00
|
|
|
-I$(srcdir)/../strres/src \
|
|
|
|
-I$(srcdir)/../locale/src \
|
|
|
|
-I$(srcdir)/../locale/src/$(LOCALE_DIR) \
|
2012-05-24 22:45:10 +00:00
|
|
|
-I$(srcdir)/../uconv/src \
|
2002-09-18 18:37:11 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
SHARED_LIBRARY_LIBS = \
|
2006-02-13 20:52:44 +00:00
|
|
|
../lwbrk/src/$(LIB_PREFIX)lwbrk_s.$(LIB_SUFFIX) \
|
|
|
|
../unicharutil/src/$(LIB_PREFIX)ucharucomp_s.$(LIB_SUFFIX) \
|
|
|
|
../strres/src/$(LIB_PREFIX)strres_s.$(LIB_SUFFIX) \
|
|
|
|
../locale/src/$(LIB_PREFIX)nslocale_s.$(LIB_SUFFIX) \
|
|
|
|
../locale/src/$(LOCALE_DIR)/$(LIB_PREFIX)platlocale_s.$(LIB_SUFFIX) \
|
2011-05-04 11:29:45 +00:00
|
|
|
../hyphenation/src/$(HYPHENATION_DIR)/$(LIB_PREFIX)hyphenation_s.$(LIB_SUFFIX) \
|
2002-09-18 18:37:11 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|