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
14
LIBRARY_NAME = nslocale_s
18
ifneq (,$(filter os2 windows, $(MOZ_WIDGET_TOOLKIT)))
19
DIRS = $(MOZ_WIDGET_TOOLKIT)
21
ifeq ($(MOZ_WIDGET_TOOLKIT), cocoa)
28
ifeq ($(MOZ_WIDGET_TOOLKIT), qt)
29
OS_INCLUDES += $(MOZ_QT_CFLAGS)
34
nsScriptableDateFormat.cpp \
35
nsLanguageAtomService.cpp \
39
nsUConvPropertySearch.cpp \
47
$(srcdir)/langGroups.properties \
48
$(srcdir)/language.properties \
55
# we don't want the shared lib, but we want to force the creation of a static lib.
59
-I$(topsrcdir)/intl/uconv/src \
62
include $(topsrcdir)/config/rules.mk
64
nsCharsetAlias.$(OBJ_SUFFIX): charsetalias.properties.h
66
charsetalias.properties.h: props2arrays.py charsetalias.properties
70
charsetalias.properties.h \
74
$(INSTALL) $(EXPORT_RESOURCE) $(DIST)/bin/res
77
$(SYSINSTALL) $(IFLAGS1) $(EXPORT_RESOURCE) $(DESTDIR)$(mozappdir)/res