michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: OS_CXXFLAGS := $(filter-out -fshort-wchar,$(OS_CXXFLAGS)) michael@0: michael@0: ACDEFINES = michael@0: michael@0: ifndef MOZ_NATIVE_LIBEVENT # { michael@0: vpath %.c \ michael@0: $(srcdir)/src/third_party/libevent \ michael@0: $(NULL) michael@0: endif # } michael@0: michael@0: vpath %.cc \ michael@0: $(srcdir)/src/base \ michael@0: $(srcdir)/src/chrome/common \ michael@0: $(NULL) michael@0: michael@0: vpath %.mm \ michael@0: $(srcdir)/src/base \ michael@0: $(srcdir)/src/chrome/common \ michael@0: $(NULL) michael@0: michael@0: OS_CXXFLAGS += $(TK_CFLAGS) michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: ifdef MOZ_NATIVE_LIBEVENT # { michael@0: michael@0: export-preqs = \ michael@0: $(call mkdir_deps,$(CURDIR)/third_party/libevent) \ michael@0: $(NULL) michael@0: michael@0: export:: $(export-preqs) michael@0: echo '#include ' > $(CURDIR)/third_party/libevent/event.h michael@0: michael@0: endif # }