|
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 GARBAGE_DIRS += _ipdlheaders |
|
6 GARBAGE += ipdl_lextab.py ipdl_yacctab.py $(wildcard *.pyc $(srcdir)/ipdl/*.pyc $(srcdir)/ipdl/cxx/*.pyc) |
|
7 |
|
8 # This file is generated by the moz.build backend. |
|
9 include ipdlsrcs.mk |
|
10 |
|
11 include $(topsrcdir)/config/rules.mk |
|
12 |
|
13 |
|
14 # NB: the IPDL compiler manages .ipdl-->.h/.cpp dependencies itself, |
|
15 # which is why we don't have explicit .h/.cpp targets here |
|
16 export:: $(ALL_IPDLSRCS) |
|
17 $(PYTHON) $(topsrcdir)/config/pythonpath.py \ |
|
18 $(PLY_INCLUDE) \ |
|
19 $(srcdir)/ipdl.py \ |
|
20 --outheaders-dir=_ipdlheaders \ |
|
21 --outcpp-dir=. \ |
|
22 $(IPDLDIRS:%=-I%) \ |
|
23 $^ |
|
24 |
|
25 # We #include some things in the dom/plugins/ directory that rely on |
|
26 # toolkit libraries. |
|
27 CXXFLAGS += $(TK_CFLAGS) |