gecko-dev/layout/build/Makefile.in

119 lines
2.9 KiB
Makefile
Raw Normal View History

1998-10-28 03:53:57 +00:00
#
# 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/
1998-10-28 03:53:57 +00:00
#
# 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.
1998-10-28 03:53:57 +00:00
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
1998-10-28 03:53:57 +00:00
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
1998-10-28 03:53:57 +00:00
DEPTH = ../..
1998-10-28 03:53:57 +00:00
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = layout
LIBRARY_NAME = gklayout
EXPORT_LIBRARY = 1
SHORT_LIBNAME = gkhtml
IS_COMPONENT = 1
MODULE_NAME = nsLayoutModule
EXTRA_DSO_LIBS = gkgfx
REQUIRES = xpcom \
string \
content \
gfx \
widget \
locale \
necko \
$(NULL)
1998-10-28 03:53:57 +00:00
CPPSRCS = \
1999-09-30 21:14:14 +00:00
nsLayoutModule.cpp \
$(NULL)
1999-02-02 17:40:37 +00:00
ifndef MKSHLIB_FORCE_ALL
CPPSRCS += dlldeps.cpp
1999-02-02 17:40:37 +00:00
endif
1998-10-28 03:53:57 +00:00
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)gkxuloutliner_s.$(LIB_SUFFIX) \
$(DIST)/lib/$(LIB_PREFIX)gkxulgrid_s.$(LIB_SUFFIX) \
$(NULL)
1999-02-02 17:40:37 +00:00
ifdef MOZ_PERF_METRICS
SHARED_LIBRARY_LIBS += \
$(DIST)/lib/$(LIB_PREFIX)mozutil_s.$(LIB_SUFFIX) \
$(NULL)
endif
1999-10-12 04:47:55 +00:00
ifdef MOZ_MATHML
SHARED_LIBRARY_LIBS += \
$(DIST)/lib/$(LIB_PREFIX)gkmathmlcon_s.$(LIB_SUFFIX) \
$(DIST)/lib/$(LIB_PREFIX)gkmathmlbase_s.$(LIB_SUFFIX) \
1999-10-12 04:47:55 +00:00
$(NSNULL)
endif
ifdef MOZ_SVG
SHARED_LIBRARY_LIBS += \
$(DIST)/lib/$(LIB_PREFIX)gksvgbase_s.$(LIB_SUFFIX) \
$(NSNULL)
endif
EXTRA_DSO_LDOPTS = \
-L$(DIST)/bin \
$(EXTRA_DSO_LIBS) \
$(MOZ_COMPONENT_LIBS) \
$(MOZ_UNICHARUTIL_LIBS) \
$(MOZ_JS_LIBS) \
$(NULL)
1998-10-28 03:53:57 +00:00
ifdef MOZ_SVG
EXTRA_DSO_LDOPTS += $(MOZ_LIBART_LIBS)
endif
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
EXPORT_OBJS = 1
endif
1998-10-28 03:53:57 +00:00
include $(topsrcdir)/config/rules.mk
1999-02-02 17:40:37 +00:00
DEFINES += -D_IMPL_NS_HTML
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)
1999-10-02 11:01:41 +00:00
ifdef MOZ_MATHML
INCLUDES += -I$(srcdir)/../mathml/content/src
endif