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-30 22:51:05 +04:00
|
|
|
|
2012-08-04 22:26:44 +04:00
|
|
|
DEPTH = @DEPTH@
|
2009-06-30 22:51:05 +04:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2013-01-02 19:56:38 +04:00
|
|
|
FAIL_ON_WARNINGS := 1
|
2009-06-30 22:51:05 +04:00
|
|
|
|
|
|
|
LIBRARY_NAME = domplugins_s
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
|
2010-05-21 19:48:34 +04:00
|
|
|
ifeq (WINNT,$(OS_ARCH))
|
2013-01-05 02:59:05 +04:00
|
|
|
DEFINES += \
|
|
|
|
-DMOZ_HANGUI_PROCESS_NAME=\"plugin-hang-ui$(BIN_SUFFIX)\" \
|
2011-01-28 01:37:00 +03:00
|
|
|
$(NULL)
|
2010-05-21 19:48:34 +04:00
|
|
|
endif
|
|
|
|
|
2009-08-11 03:28:22 +04:00
|
|
|
LOCAL_INCLUDES = \
|
2011-04-27 01:38:43 +04:00
|
|
|
-I$(srcdir)/../base \
|
2010-11-10 05:02:09 +03:00
|
|
|
-I$(topsrcdir)/xpcom/base/ \
|
2009-06-30 22:51:05 +04:00
|
|
|
$(NULL)
|
|
|
|
|
2013-01-05 02:59:05 +04:00
|
|
|
ifeq (WINNT,$(OS_ARCH))
|
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(srcdir)/hangui \
|
|
|
|
-I$(topsrcdir)/widget/shared \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2009-06-30 22:51:05 +04:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2009-07-20 23:04:52 +04:00
|
|
|
|
2009-06-30 22:51:05 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2009-12-19 01:22:51 +03:00
|
|
|
|
2010-01-28 08:22:41 +03:00
|
|
|
CXXFLAGS += $(TK_CFLAGS)
|
|
|
|
|
2009-12-19 01:22:51 +03:00
|
|
|
DEFINES += -DFORCE_PR_LOG
|
2012-05-30 09:14:30 +04:00
|
|
|
|
|
|
|
CXXFLAGS += $(MOZ_CAIRO_CFLAGS)
|