~ubuntu-branches/ubuntu/precise/enigmail/precise-security

« back to all changes in this revision

Viewing changes to intl/locale/src/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2012-11-12 16:36:01 UTC
  • mfrom: (0.12.15)
  • Revision ID: package-import@ubuntu.com-20121112163601-t8e8skdfi3ni9iqp
Tags: 2:1.4.6-0ubuntu0.12.04.1
* New upstream release v1.4.6
  - see LP: #1080212 for USN information
* Drop unneeded patches
  - remove debian/patches/correct-version-number.diff
  - remove debian/patches/dont_register_cids_multiple_times.diff
  - update debian/patches/series
* Support building in an objdir
  - update debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
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/.
 
5
 
 
6
DEPTH           = @DEPTH@
 
7
topsrcdir       = @top_srcdir@
 
8
srcdir          = @srcdir@
 
9
VPATH           = @srcdir@
 
10
 
 
11
include $(DEPTH)/config/autoconf.mk
 
12
 
 
13
MODULE          = locale
 
14
LIBRARY_NAME    = nslocale_s
 
15
LIBXUL_LIBRARY  = 1
 
16
 
 
17
 
 
18
ifneq (,$(filter os2 windows, $(MOZ_WIDGET_TOOLKIT)))
 
19
DIRS            = $(MOZ_WIDGET_TOOLKIT)
 
20
else
 
21
ifeq ($(MOZ_WIDGET_TOOLKIT), cocoa)
 
22
DIRS            = mac
 
23
else
 
24
DIRS            = unix
 
25
endif
 
26
endif
 
27
 
 
28
ifeq ($(MOZ_WIDGET_TOOLKIT), qt)
 
29
OS_INCLUDES     += $(MOZ_QT_CFLAGS)
 
30
endif
 
31
 
 
32
CPPSRCS         = \
 
33
                nsCollation.cpp \
 
34
                nsScriptableDateFormat.cpp \
 
35
                nsLanguageAtomService.cpp \
 
36
                nsLocale.cpp \
 
37
                nsLocaleService.cpp \
 
38
                nsCharsetAlias.cpp \
 
39
                nsUConvPropertySearch.cpp \
 
40
                $(NULL)
 
41
 
 
42
EXPORTS         = \
 
43
                nsCollation.h \
 
44
                $(NULL)
 
45
 
 
46
EXPORT_RESOURCE = \
 
47
                $(srcdir)/langGroups.properties \
 
48
                $(srcdir)/language.properties \
 
49
                $(NULL)
 
50
 
 
51
EXTRA_JS_MODULES = \
 
52
  PluralForm.jsm \
 
53
  $(NULL)
 
54
 
 
55
# we don't want the shared lib, but we want to force the creation of a static lib.
 
56
FORCE_STATIC_LIB = 1
 
57
 
 
58
LOCAL_INCLUDES = \
 
59
        -I$(topsrcdir)/intl/uconv/src \
 
60
        $(NULL)
 
61
 
 
62
include $(topsrcdir)/config/rules.mk
 
63
 
 
64
nsCharsetAlias.$(OBJ_SUFFIX): charsetalias.properties.h
 
65
 
 
66
charsetalias.properties.h: props2arrays.py charsetalias.properties
 
67
        $(PYTHON) $^ $@
 
68
 
 
69
GARBAGE += \
 
70
        charsetalias.properties.h \
 
71
        $(NULL)
 
72
 
 
73
libs::
 
74
        $(INSTALL) $(EXPORT_RESOURCE) $(DIST)/bin/res
 
75
 
 
76
install::
 
77
        $(SYSINSTALL) $(IFLAGS1) $(EXPORT_RESOURCE) $(DESTDIR)$(mozappdir)/res