зеркало из https://github.com/mozilla/gecko-dev.git
115 строки
2.5 KiB
Makefile
115 строки
2.5 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 = gkbase_s
|
|
LIBXUL_LIBRARY = 1
|
|
FAIL_ON_WARNINGS = 1
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
DisplayItemClip.cpp \
|
|
DisplayListClipState.cpp \
|
|
FrameLayerBuilder.cpp \
|
|
FramePropertyTable.cpp \
|
|
MaskLayerImageCache.cpp \
|
|
nsCSSColorUtils.cpp \
|
|
nsCSSFrameConstructor.cpp \
|
|
nsCSSRendering.cpp \
|
|
nsCSSRenderingBorders.cpp \
|
|
nsCaret.cpp \
|
|
nsChildIterator.cpp \
|
|
nsCounterManager.cpp \
|
|
nsDisplayList.cpp \
|
|
nsDisplayListInvalidation.cpp \
|
|
nsDocumentViewer.cpp \
|
|
nsFrameManager.cpp \
|
|
nsFrameTraversal.cpp \
|
|
nsGenConList.cpp \
|
|
nsLayoutDebugger.cpp \
|
|
nsLayoutHistoryState.cpp \
|
|
nsLayoutUtils.cpp \
|
|
nsPresArena.cpp \
|
|
nsPresContext.cpp \
|
|
nsPresShell.cpp \
|
|
nsQuoteList.cpp \
|
|
nsRefreshDriver.cpp \
|
|
nsStyleChangeList.cpp \
|
|
nsStyleSheetService.cpp \
|
|
PaintTracker.cpp \
|
|
PositionedEventTargeting.cpp \
|
|
RestyleTracker.cpp \
|
|
StackArena.cpp \
|
|
$(NULL)
|
|
|
|
ifndef MOZ_XUL
|
|
CPPSRCS += \
|
|
nsBoxObject.cpp \
|
|
$(NULL)
|
|
endif
|
|
|
|
ifdef IBMBIDI
|
|
CPPSRCS += \
|
|
nsBidiPresUtils.cpp \
|
|
nsBidi.cpp \
|
|
$(NULL)
|
|
endif
|
|
|
|
ifdef MOZ_DEBUG
|
|
CPPSRCS += \
|
|
nsAutoLayoutPhase.cpp \
|
|
$(NULL)
|
|
endif
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
LOCAL_INCLUDES += \
|
|
-I$(srcdir) \
|
|
-I$(srcdir)/../style \
|
|
-I$(srcdir)/../generic \
|
|
-I$(srcdir)/../forms \
|
|
-I$(srcdir)/../tables \
|
|
-I$(srcdir)/../printing \
|
|
-I$(srcdir)/../xul/base/src \
|
|
-I$(srcdir)/../xul/tree/ \
|
|
-I$(srcdir)/../../content/base/src \
|
|
-I$(srcdir)/../../content/events/src \
|
|
-I$(srcdir)/../../content/xbl/src \
|
|
-I$(srcdir)/../../view/src \
|
|
-I$(srcdir)/../../dom/base \
|
|
-I$(srcdir)/../../content/html/content/src \
|
|
-I$(srcdir)/../../content/svg/content/src \
|
|
-I$(topsrcdir)/xpcom/ds \
|
|
-I$(srcdir)/../svg \
|
|
-I$(srcdir)/../mathml \
|
|
$(NULL)
|
|
|
|
CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS)
|
|
|
|
DEFINES += -D_IMPL_NS_LAYOUT
|
|
DEFINES += -DHB_DONT_DEFINE_STDINT
|
|
|
|
ifndef MOZ_XUL
|
|
nsIBoxObject.idl: %: $(topsrcdir)/layout/xul/base/public/%
|
|
$(INSTALL) $^ .
|
|
nsPIBoxObject.h: %: $(topsrcdir)/layout/xul/base/public/%
|
|
$(INSTALL) $^ .
|
|
nsBoxObject.cpp: %: $(topsrcdir)/layout/xul/base/src/%
|
|
$(INSTALL) $^ .
|
|
|
|
GARBAGE += nsIBoxObject.idl nsPIBoxObject.h nsBoxObject.cpp
|
|
endif
|