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