2012-05-21 11:12:37 +00: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/.
|
2004-12-07 18:09:28 +00:00
|
|
|
|
2012-08-04 18:26:44 +00:00
|
|
|
DEPTH = @DEPTH@
|
2004-12-07 18:09:28 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
LIBRARY_NAME = gkstyle_s
|
2013-05-16 13:33:26 +00:00
|
|
|
MSVC_ENABLE_PGO := 1
|
2004-12-15 04:07:01 +00:00
|
|
|
LIBXUL_LIBRARY = 1
|
2013-01-12 18:49:12 +00:00
|
|
|
FAIL_ON_WARNINGS = 1
|
2004-12-07 18:09:28 +00:00
|
|
|
|
2013-02-18 06:56:32 +00:00
|
|
|
ifdef GNU_CC
|
|
|
|
OS_CFLAGS := $(OS_CFLAGS) -Wshadow
|
|
|
|
OS_CXXFLAGS := $(OS_CXXFLAGS) -Wshadow
|
|
|
|
endif
|
|
|
|
|
2004-12-07 18:09:28 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2012-07-31 17:28:21 +00:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += \
|
2010-06-18 16:23:05 +00:00
|
|
|
-I$(srcdir)/../base \
|
2012-11-25 00:26:07 +00:00
|
|
|
-I$(topsrcdir)/dom/base \
|
2010-06-18 16:23:05 +00:00
|
|
|
-I$(srcdir)/../generic \
|
|
|
|
-I$(srcdir)/../xul/base/src \
|
2004-12-07 18:09:28 +00:00
|
|
|
-I$(srcdir)/../../content/base/src \
|
2005-01-12 19:45:38 +00:00
|
|
|
-I$(srcdir)/../../content/html/content/src \
|
2005-02-25 22:07:01 +00:00
|
|
|
-I$(srcdir)/../../content/xbl/src \
|
2007-03-12 05:53:33 +00:00
|
|
|
-I$(srcdir)/../../content/xul/document/src \
|
2004-12-07 18:09:28 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-07-16 04:32:25 +00:00
|
|
|
nsStyleStructList.h : $(srcdir)/generate-stylestructlist.py
|
|
|
|
$(PYTHON) $< > $@
|
|
|
|
|
2004-12-07 18:09:28 +00:00
|
|
|
_FILES = \
|
2007-06-28 02:48:16 +00:00
|
|
|
contenteditable.css \
|
|
|
|
designmode.css \
|
2013-04-21 22:29:14 +00:00
|
|
|
ImageDocument.css \
|
2011-11-10 23:08:07 +00:00
|
|
|
TopLevelImageDocument.css \
|
|
|
|
TopLevelVideoDocument.css \
|
2004-12-07 18:09:28 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-07-16 04:32:25 +00:00
|
|
|
GARBAGE += \
|
|
|
|
$(addprefix $(DIST)/bin/res/,$(_FILES)) \
|
|
|
|
nsStyleStructList.h \
|
|
|
|
$(NULL)
|
2004-12-07 18:09:28 +00:00
|
|
|
|
|
|
|
libs:: $(_FILES)
|
|
|
|
$(INSTALL) $^ $(DIST)/bin/res
|
|
|
|
|
2005-03-25 20:14:06 +00:00
|
|
|
install:: $(_FILES)
|
2004-12-07 18:09:28 +00:00
|
|
|
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/res
|
|
|
|
|
|
|
|
DEFINES += -D_IMPL_NS_LAYOUT
|