~ubuntu-branches/ubuntu/quantal/enigmail/quantal-security

« back to all changes in this revision

Viewing changes to services/common/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2013-09-13 16:02:15 UTC
  • mfrom: (0.12.16)
  • Revision ID: package-import@ubuntu.com-20130913160215-u3g8nmwa0pdwagwc
Tags: 2:1.5.2-0ubuntu0.12.10.1
* New upstream release v1.5.2 for Thunderbird 24

* Build enigmail using a stripped down Thunderbird 17 build system, as it's
  now quite difficult to build the way we were doing previously, with the
  latest Firefox build system
* Add debian/patches/no_libxpcom.patch - Don't link against libxpcom, as it
  doesn't exist anymore (but exists in the build system)
* Add debian/patches/use_sdk.patch - Use the SDK version of xpt.py and
  friends
* Drop debian/patches/ipc-pipe_rename.diff (not needed anymore)
* Drop debian/patches/makefile_depth.diff (not needed anymore)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# This Source Code Form is subject to the terms of the Mozilla Public
2
 
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
3
 
# You can obtain one at http://mozilla.org/MPL/2.0/.
4
 
 
5
 
DEPTH     = @DEPTH@
6
 
topsrcdir = @top_srcdir@
7
 
srcdir    = @srcdir@
8
 
VPATH     = @srcdir@
9
 
 
10
 
include $(DEPTH)/config/autoconf.mk
11
 
 
12
 
modules := \
13
 
  async.js \
14
 
  log4moz.js \
15
 
  observers.js \
16
 
  preferences.js \
17
 
  rest.js \
18
 
  storageservice.js \
19
 
  stringbundle.js \
20
 
  tokenserverclient.js \
21
 
  utils.js \
22
 
  $(NULL)
23
 
 
24
 
testing_modules := \
25
 
  aitcserver.js \
26
 
  storageserver.js \
27
 
  utils.js \
28
 
  $(NULL)
29
 
 
30
 
TEST_DIRS += tests
31
 
 
32
 
PREF_JS_EXPORTS = $(srcdir)/services-common.js
33
 
 
34
 
MODULES_FILES := $(modules)
35
 
MODULES_DEST = $(FINAL_TARGET)/modules/services-common
36
 
INSTALL_TARGETS += MODULES
37
 
 
38
 
TESTING_JS_MODULES := $(addprefix modules-testing/,$(testing_modules))
39
 
TESTING_JS_MODULE_DIR := services-common
40
 
 
41
 
include $(topsrcdir)/config/rules.mk
42
 
 
43
 
# What follows is a helper to launch a standalone storage server instance.
44
 
# Most of the code lives in a Python script in the tests directory. If we
45
 
# ever consolidate our Python code, and/or have a supplemental driver for the
46
 
# build system, this can go away.
47
 
 
48
 
storage_server_hostname := localhost
49
 
storage_server_port := 8080
50
 
 
51
 
head_path = $(srcdir)/tests/unit
52
 
 
53
 
storage-server:
54
 
        $(PYTHON) $(srcdir)/tests/run_server.py $(topsrcdir) \
55
 
          $(MOZ_BUILD_ROOT) run_storage_server.js --port $(storage_server_port)
56
 
 
57
 
# And the same thing for an AITC server.
58
 
aitc_server_hostname := localhost
59
 
aitc_server_port := 8080
60
 
 
61
 
aitc-server:
62
 
        $(PYTHON) $(srcdir)/tests/run_server.py $(topsrcdir) \
63
 
                $(MOZ_BUILD_ROOT) run_aitc_server.js --port $(aitc_server_port)
64