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/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2007-03-22 10:30:00 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
LIBRARY_NAME = gkgeneric_s
|
2013-05-16 06:33:26 -07:00
|
|
|
MSVC_ENABLE_PGO := 1
|
2007-03-22 10:30:00 -07:00
|
|
|
LIBXUL_LIBRARY = 1
|
2013-01-02 07:56:38 -08:00
|
|
|
ifndef _MSC_VER
|
2012-10-14 18:28:23 -07:00
|
|
|
FAIL_ON_WARNINGS = 1
|
2013-01-02 07:56:38 -08:00
|
|
|
endif # !_MSC_VER
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
RESOURCES_HTML = \
|
2007-08-17 15:57:36 -07:00
|
|
|
$(srcdir)/folder.png \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
2013-07-04 05:28:43 -07:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(srcdir) \
|
|
|
|
-I$(srcdir)/../base \
|
2007-12-22 13:07:58 -08:00
|
|
|
-I$(srcdir)/../forms \
|
2010-08-31 09:05:12 -07:00
|
|
|
-I$(srcdir)/../style \
|
2007-03-22 10:30:00 -07:00
|
|
|
-I$(srcdir)/../tables \
|
|
|
|
-I$(srcdir)/../xul/base/src \
|
|
|
|
-I$(srcdir)/../../content/xul/content/src \
|
|
|
|
-I$(srcdir)/../../content/base/src \
|
|
|
|
-I$(srcdir)/../../content/html/content/src \
|
2009-03-11 07:10:19 -07:00
|
|
|
-I$(srcdir)/../../dom/base \
|
2011-04-26 14:38:43 -07:00
|
|
|
-I$(srcdir)/../../dom/plugins/base \
|
2012-09-24 14:01:21 -07:00
|
|
|
-I$(srcdir)/../svg \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(MOZ_CAIRO_CFLAGS) \
|
2012-05-25 23:44:00 -07:00
|
|
|
$(MOZ_PIXMAN_CFLAGS) \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2013-06-12 05:04:28 -07:00
|
|
|
ifdef MOZ_WIDGET_GTK
|
|
|
|
CXXFLAGS += $(TK_CFLAGS)
|
2007-07-02 20:33:13 -07:00
|
|
|
endif
|
|
|
|
|
2008-08-09 06:43:08 -07:00
|
|
|
ifdef MOZ_ENABLE_QT
|
|
|
|
CXXFLAGS += $(MOZ_QT_CFLAGS)
|
|
|
|
endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
libs::
|
|
|
|
$(INSTALL) $(RESOURCES_HTML) $(DIST)/bin/res/html
|
|
|
|
|
|
|
|
install::
|
|
|
|
$(SYSINSTALL) $(IFLAGS1) $(RESOURCES_HTML) $(DESTDIR)$(mozappdir)/res/html
|
|
|
|
|