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

« back to all changes in this revision

Viewing changes to config/makefiles/target_export.mk

  • 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
 
# -*- makefile -*-
2
 
# vim:set ts=8 sw=8 sts=8 noet:
3
 
#
4
 
# This Source Code Form is subject to the terms of the Mozilla Public
5
 
# License, v. 2.0. If a copy of the MPL was not distributed with this
6
 
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
 
 
8
 
PARALLEL_DIRS_export = $(addsuffix _export,$(PARALLEL_DIRS))
9
 
 
10
 
.PHONY: export $(PARALLEL_DIRS_export)
11
 
 
12
 
###############
13
 
## TIER targets
14
 
###############
15
 
export_tier_%:
16
 
        @$(ECHO) "$@"
17
 
        @$(MAKE_TIER_SUBMAKEFILES)
18
 
        $(foreach dir,$(tier_$*_dirs),$(call SUBMAKE,export,$(dir)))
19
 
 
20
 
#################
21
 
## Common targets
22
 
#################
23
 
ifdef PARALLEL_DIRS
24
 
export:: $(PARALLEL_DIRS_export)
25
 
 
26
 
$(PARALLEL_DIRS_export): %_export: %/Makefile
27
 
        +@$(call SUBMAKE,export,$*)
28
 
endif
29
 
 
30
 
export:: $(SUBMAKEFILES) $(MAKE_DIRS) $(if $(XPIDLSRCS),$(IDL_DIR))
31
 
        $(LOOP_OVER_DIRS)
32
 
        $(LOOP_OVER_TOOL_DIRS)
33
 
 
34
 
 
35
 
#
36
 
# Rule to create list of libraries for final link
37
 
#
38
 
# todo: use pre-req deps rather than conditionals
39
 
export:: export-gen-final-lib-link-list
40
 
export-gen-final-lib-link-list:
41
 
ifdef LIBRARY_NAME   #{
42
 
ifdef EXPORT_LIBRARY #{
43
 
ifdef IS_COMPONENT   #{
44
 
else # !IS_COMPONENT
45
 
        $(PYTHON) $(MOZILLA_DIR)/config/buildlist.py $(FINAL_LINK_LIBS) $(STATIC_LIBRARY_NAME)
46
 
endif #} IS_COMPONENT
47
 
endif #} EXPORT_LIBRARY
48
 
endif #} LIBRARY_NAME