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

« back to all changes in this revision

Viewing changes to ipc/ipdl/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
3
 
# file, 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
 
GARBAGE_DIRS += _ipdlheaders
13
 
GARBAGE += ipdl_lextab.py ipdl_yacctab.py $(wildcard *.pyc $(srcdir)/ipdl/*.pyc $(srcdir)/ipdl/cxx/*.pyc)
14
 
 
15
 
MODULE = ipdlgen
16
 
LIBRARY_NAME = mozipdlgen_s
17
 
FORCE_STATIC_LIB = 1
18
 
LIBXUL_LIBRARY = 1
19
 
EXPORT_LIBRARY = 1
20
 
 
21
 
##-----------------------------------------------------------------------------
22
 
## When you add IPDL files to a source directory, list the directory here.
23
 
##
24
 
IPDLDIRS =  \
25
 
  uriloader/exthandler \
26
 
  dom/devicestorage \
27
 
  dom/indexedDB/ipc \
28
 
  dom/bluetooth/ipc \
29
 
  dom/plugins/ipc  \
30
 
  dom/ipc \
31
 
  dom/sms/src/ipc \
32
 
  dom/src/storage \
33
 
  gfx/layers/ipc \
34
 
  hal/sandbox \
35
 
  ipc/glue  \
36
 
  ipc/testshell  \
37
 
  js/ipc  \
38
 
  layout/ipc \
39
 
  netwerk/ipc  \
40
 
  netwerk/protocol/ftp \
41
 
  netwerk/protocol/http  \
42
 
  netwerk/protocol/wyciwyg \
43
 
  netwerk/protocol/websocket \
44
 
  netwerk/cookie  \
45
 
  uriloader/prefetch  \
46
 
  $(NULL)
47
 
 
48
 
ifdef MOZ_IPDL_TESTS #{
49
 
IPDLDIRS += ipc/ipdl/test/cxx
50
 
endif #}
51
 
##-----------------------------------------------------------------------------
52
 
 
53
 
ifdef MOZ_IPDL_TESTS
54
 
DIRS += test
55
 
endif
56
 
 
57
 
vpath %.ipdl $(topsrcdir)
58
 
vpath %.ipdlh $(topsrcdir)
59
 
 
60
 
define ADD_IPDLDIR
61
 
include $(topsrcdir)/$(IPDLDIR)/ipdl.mk
62
 
ALL_IPDLSRCS += $$(IPDLSRCS:%=$(IPDLDIR)/%)
63
 
PROTOCOLS += $$(IPDLSRCS)
64
 
endef
65
 
 
66
 
ALL_IPDLSRCS :=
67
 
PROTOCOLS :=
68
 
 
69
 
$(foreach IPDLDIR,$(IPDLDIRS),$(eval $(ADD_IPDLDIR)))
70
 
 
71
 
 
72
 
CPPSRCS =                                       \
73
 
  $(PROTOCOLS:%.ipdl=%Parent.cpp)               \
74
 
  $(PROTOCOLS:%.ipdl=%Child.cpp)                \
75
 
  $(PROTOCOLS:%.ipdl=%.cpp)                     \
76
 
  $(PROTOCOLS:%.ipdlh=%.cpp)                    \
77
 
  $(NULL)
78
 
 
79
 
GARBAGE += $(CPPSRCS)
80
 
 
81
 
LOCAL_INCLUDES += -I$(DEPTH)/ipc/ipdl/_ipdlheaders
82
 
 
83
 
 
84
 
include $(topsrcdir)/config/config.mk
85
 
include $(topsrcdir)/ipc/chromium/chromium-config.mk
86
 
include $(topsrcdir)/config/rules.mk
87
 
 
88
 
 
89
 
# NB: the IPDL compiler manages .ipdl-->.h/.cpp dependencies itself,
90
 
# which is why we don't have explicit .h/.cpp targets here
91
 
export:: $(ALL_IPDLSRCS)
92
 
        $(PYTHON) $(topsrcdir)/config/pythonpath.py \
93
 
          $(PLY_INCLUDE) \
94
 
          $(srcdir)/ipdl.py \
95
 
          --outheaders-dir=_ipdlheaders \
96
 
          --outcpp-dir=. \
97
 
          $(IPDLDIRS:%=-I$(topsrcdir)/%) \
98
 
          $^
99
 
 
100
 
# We #include some things in the dom/plugins/ directory that rely on
101
 
# toolkit libraries.
102
 
CXXFLAGS    += $(TK_CFLAGS)