|
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 OS_CXXFLAGS := $(filter-out -fshort-wchar,$(OS_CXXFLAGS)) |
|
6 |
|
7 ACDEFINES = |
|
8 |
|
9 ifndef MOZ_NATIVE_LIBEVENT # { |
|
10 vpath %.c \ |
|
11 $(srcdir)/src/third_party/libevent \ |
|
12 $(NULL) |
|
13 endif # } |
|
14 |
|
15 vpath %.cc \ |
|
16 $(srcdir)/src/base \ |
|
17 $(srcdir)/src/chrome/common \ |
|
18 $(NULL) |
|
19 |
|
20 vpath %.mm \ |
|
21 $(srcdir)/src/base \ |
|
22 $(srcdir)/src/chrome/common \ |
|
23 $(NULL) |
|
24 |
|
25 OS_CXXFLAGS += $(TK_CFLAGS) |
|
26 |
|
27 include $(topsrcdir)/config/rules.mk |
|
28 |
|
29 ifdef MOZ_NATIVE_LIBEVENT # { |
|
30 |
|
31 export-preqs = \ |
|
32 $(call mkdir_deps,$(CURDIR)/third_party/libevent) \ |
|
33 $(NULL) |
|
34 |
|
35 export:: $(export-preqs) |
|
36 echo '#include <event.h>' > $(CURDIR)/third_party/libevent/event.h |
|
37 |
|
38 endif # } |