mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00

_IMPL_NS_HTML _IMPL_NS_RDF _IMPL_NS_WEB USE_NSREG Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>. Bug #125118 r=cls sr=bryner Bug #160397 r=cls sr=bryner Bug #160628 r=cls Bug #160451 r=cls sr=bryner _IMPL_NS_VIEW Patches for removing above define contributed by Brian Ryner <bryner@netscape.com> Bug #160416 r=cls
116 lines
2.8 KiB
Makefile
116 lines
2.8 KiB
Makefile
#
|
|
# The contents of this file are subject to the Netscape Public
|
|
# License Version 1.1 (the "License"); you may not use this file
|
|
# except in compliance with the License. You may obtain a copy of
|
|
# the License at http://www.mozilla.org/NPL/
|
|
#
|
|
# Software distributed under the License is distributed on an "AS
|
|
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
# implied. See the License for the specific language governing
|
|
# rights and limitations under the License.
|
|
#
|
|
# The Original Code is mozilla.org code.
|
|
#
|
|
# The Initial Developer of the Original Code is Netscape
|
|
# Communications Corporation. Portions created by Netscape are
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
# Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
#
|
|
|
|
DEPTH = ../..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
MODULE = layout
|
|
LIBRARY_NAME = gklayout
|
|
EXPORT_LIBRARY = 1
|
|
ifneq ($(OS_ARCH),WINNT)
|
|
SHORT_LIBNAME = gkhtml
|
|
endif
|
|
IS_COMPONENT = 1
|
|
MODULE_NAME = nsLayoutModule
|
|
EXTRA_DSO_LIBS = gkgfx
|
|
ifdef MOZ_PERF_METRICS
|
|
EXTRA_DSO_LIBS += mozutil_s
|
|
endif
|
|
|
|
REQUIRES = xpcom \
|
|
string \
|
|
content \
|
|
gfx \
|
|
widget \
|
|
locale \
|
|
necko \
|
|
$(NULL)
|
|
|
|
CPPSRCS = \
|
|
nsLayoutModule.cpp \
|
|
$(NULL)
|
|
|
|
ifndef MKSHLIB_FORCE_ALL
|
|
CPPSRCS += dlldeps.cpp
|
|
endif
|
|
|
|
EXPORTS = nsLayoutCID.h
|
|
|
|
SHARED_LIBRARY_LIBS = \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkhtmlbase_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkhtmldoc_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkhtmlforms_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkhtmlstyle_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkhtmltable_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkxulbase_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkbase_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkconshared_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkxultree_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkxulgrid_s.$(LIB_SUFFIX) \
|
|
$(NULL)
|
|
|
|
ifdef MOZ_MATHML
|
|
SHARED_LIBRARY_LIBS += \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkmathmlcon_s.$(LIB_SUFFIX) \
|
|
$(DIST)/lib/$(LIB_PREFIX)gkmathmlbase_s.$(LIB_SUFFIX) \
|
|
$(NSNULL)
|
|
endif
|
|
|
|
ifdef MOZ_SVG
|
|
SHARED_LIBRARY_LIBS += \
|
|
$(DIST)/lib/$(LIB_PREFIX)gksvgbase_s.$(LIB_SUFFIX) \
|
|
$(NSNULL)
|
|
endif
|
|
|
|
EXTRA_DSO_LDOPTS = \
|
|
$(LIBS_DIR) \
|
|
$(EXTRA_DSO_LIBS) \
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
|
$(MOZ_JS_LIBS) \
|
|
$(NULL)
|
|
|
|
ifdef MOZ_SVG
|
|
EXTRA_DSO_LDOPTS += $(MOZ_LIBART_LIBS)
|
|
endif
|
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
|
|
EXPORT_OBJS = 1
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
INCLUDES += -I$(srcdir)/../base/src \
|
|
-I$(srcdir)/../html/base/src \
|
|
-I$(srcdir)/../html/style/src \
|
|
-I$(srcdir)/../xul/content/src \
|
|
-I$(srcdir)/../xul/base/src \
|
|
$(NULL)
|
|
|
|
ifdef MOZ_MATHML
|
|
INCLUDES += -I$(srcdir)/../mathml/content/src
|
|
endif
|
|
|