mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
59 lines
1.3 KiB
Makefile
59 lines
1.3 KiB
Makefile
# 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/.
|
|
|
|
DEPTH = @DEPTH@
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
LIBRARY_NAME = gkstyle_s
|
|
MSVC_ENABLE_PGO := 1
|
|
LIBXUL_LIBRARY = 1
|
|
FAIL_ON_WARNINGS = 1
|
|
|
|
ifdef GNU_CC
|
|
OS_CFLAGS := $(OS_CFLAGS) -Wshadow
|
|
OS_CXXFLAGS := $(OS_CXXFLAGS) -Wshadow
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
LOCAL_INCLUDES += \
|
|
-I$(srcdir)/../base \
|
|
-I$(topsrcdir)/dom/base \
|
|
-I$(srcdir)/../generic \
|
|
-I$(srcdir)/../xul/base/src \
|
|
-I$(srcdir)/../../content/base/src \
|
|
-I$(srcdir)/../../content/html/content/src \
|
|
-I$(srcdir)/../../content/xbl/src \
|
|
-I$(srcdir)/../../content/xul/document/src \
|
|
$(NULL)
|
|
|
|
nsStyleStructList.h : $(srcdir)/generate-stylestructlist.py
|
|
$(PYTHON) $< > $@
|
|
|
|
_FILES = \
|
|
contenteditable.css \
|
|
designmode.css \
|
|
ImageDocument.css \
|
|
TopLevelImageDocument.css \
|
|
TopLevelVideoDocument.css \
|
|
$(NULL)
|
|
|
|
GARBAGE += \
|
|
$(addprefix $(DIST)/bin/res/,$(_FILES)) \
|
|
nsStyleStructList.h \
|
|
$(NULL)
|
|
|
|
libs:: $(_FILES)
|
|
$(INSTALL) $^ $(DIST)/bin/res
|
|
|
|
install:: $(_FILES)
|
|
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/res
|
|
|
|
DEFINES += -D_IMPL_NS_LAYOUT
|