2012-05-21 04:12:37 -07: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 11:31:58 -07:00
|
|
|
|
2009-06-30 09:02:37 -07:00
|
|
|
OS_CXXFLAGS := $(filter-out -fshort-wchar,$(OS_CXXFLAGS))
|
|
|
|
|
2009-06-29 11:31:58 -07:00
|
|
|
ACDEFINES =
|
|
|
|
|
2010-04-20 00:06:55 -07:00
|
|
|
ifndef MOZ_NATIVE_LIBEVENT # {
|
2009-06-29 11:31:58 -07:00
|
|
|
vpath %.c \
|
|
|
|
$(srcdir)/src/third_party/libevent \
|
|
|
|
$(NULL)
|
2010-04-20 00:06:55 -07:00
|
|
|
endif # }
|
2009-06-29 11:31:58 -07:00
|
|
|
|
|
|
|
vpath %.cc \
|
|
|
|
$(srcdir)/src/base \
|
|
|
|
$(srcdir)/src/chrome/common \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
vpath %.mm \
|
|
|
|
$(srcdir)/src/base \
|
|
|
|
$(srcdir)/src/chrome/common \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-05-13 08:52:59 -07:00
|
|
|
OS_CXXFLAGS += $(TK_CFLAGS)
|
|
|
|
|
2009-06-29 11:31:58 -07:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2010-04-20 00:06:55 -07:00
|
|
|
|
|
|
|
ifdef MOZ_NATIVE_LIBEVENT # {
|
2012-05-03 03:22:33 -07:00
|
|
|
|
2013-03-10 20:03:28 -07:00
|
|
|
export-preqs = \
|
2014-02-17 23:12:54 -08:00
|
|
|
$(call mkdir_deps,$(CURDIR)/third_party/libevent) \
|
2013-03-10 20:03:28 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2014-07-10 02:03:41 -07:00
|
|
|
export:: $(DIST)/third_party/libevent/event.h
|
|
|
|
|
|
|
|
$(DIST)/third_party/libevent/event.h:: $(export-preqs)
|
2014-02-17 23:12:54 -08:00
|
|
|
echo '#include <event.h>' > $(CURDIR)/third_party/libevent/event.h
|
2012-05-03 03:22:33 -07:00
|
|
|
|
2010-04-20 00:06:55 -07:00
|
|
|
endif # }
|