2012-05-21 15:12:37 +04:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2009-06-29 22:31:58 +04:00
|
|
|
|
2009-06-30 20:02:37 +04:00
|
|
|
OS_CXXFLAGS := $(filter-out -fshort-wchar,$(OS_CXXFLAGS))
|
|
|
|
|
2009-06-29 22:31:58 +04:00
|
|
|
ACDEFINES =
|
|
|
|
|
2010-04-20 11:06:55 +04:00
|
|
|
ifndef MOZ_NATIVE_LIBEVENT # {
|
2009-06-29 22:31:58 +04:00
|
|
|
vpath %.c \
|
|
|
|
$(srcdir)/src/third_party/libevent \
|
|
|
|
$(NULL)
|
2010-04-20 11:06:55 +04:00
|
|
|
endif # }
|
2009-06-29 22:31:58 +04:00
|
|
|
|
|
|
|
vpath %.cc \
|
|
|
|
$(srcdir)/src/base \
|
|
|
|
$(srcdir)/src/chrome/common \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
vpath %.mm \
|
|
|
|
$(srcdir)/src/base \
|
|
|
|
$(srcdir)/src/chrome/common \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-05-13 19:52:59 +04:00
|
|
|
OS_CXXFLAGS += $(TK_CFLAGS)
|
|
|
|
|
2009-06-29 22:31:58 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2010-04-20 11:06:55 +04:00
|
|
|
|
|
|
|
ifdef MOZ_NATIVE_LIBEVENT # {
|
2012-05-03 14:22:33 +04:00
|
|
|
|
2013-03-11 07:03:28 +04:00
|
|
|
export-preqs = \
|
2014-02-18 11:12:54 +04:00
|
|
|
$(call mkdir_deps,$(CURDIR)/third_party/libevent) \
|
2013-03-11 07:03:28 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
export:: $(export-preqs)
|
2014-02-18 11:12:54 +04:00
|
|
|
echo '#include <event.h>' > $(CURDIR)/third_party/libevent/event.h
|
2012-05-03 14:22:33 +04:00
|
|
|
|
2010-04-20 11:06:55 +04:00
|
|
|
endif # }
|