1998-10-28 06:53:57 +03:00
|
|
|
#
|
1999-11-06 06:40:37 +03: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 06:53:57 +03:00
|
|
|
#
|
1999-11-06 06:40:37 +03: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 06:53:57 +03:00
|
|
|
#
|
1999-11-06 06:40:37 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1998-10-28 06:53:57 +03:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:40:37 +03:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1999-08-04 01:40:56 +04:00
|
|
|
#
|
1998-10-28 06:53:57 +03:00
|
|
|
|
1999-08-04 01:40:56 +04:00
|
|
|
DEPTH = ../..
|
1998-10-28 06:53:57 +03:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2000-04-14 00:07:13 +04:00
|
|
|
BUILD_DATE = gbdate.h
|
1999-10-05 18:50:06 +04:00
|
|
|
|
1999-08-04 01:40:56 +04:00
|
|
|
MODULE = layout
|
2000-07-02 22:44:42 +04:00
|
|
|
LIBRARY_NAME = gklayout
|
2000-04-18 14:27:21 +04:00
|
|
|
SHORT_LIBNAME = nglayout
|
1999-08-04 01:40:56 +04:00
|
|
|
IS_COMPONENT = 1
|
2000-11-20 10:16:06 +03:00
|
|
|
EXTRA_DSO_LIBS = jsdom gkgfx
|
|
|
|
REQUIRES = xpcom widget necko rdf docshell dom htmlparser uriloader webshell locale unicharutil lwbrk timer js
|
1998-10-28 06:53:57 +03:00
|
|
|
|
1999-08-04 01:40:56 +04:00
|
|
|
CPPSRCS = \
|
|
|
|
nsLayoutDLF.cpp \
|
|
|
|
nsLayoutFactory.cpp \
|
1999-10-01 01:14:14 +04:00
|
|
|
nsLayoutModule.cpp \
|
1999-08-04 01:40:56 +04:00
|
|
|
$(NULL)
|
1999-02-02 20:40:37 +03:00
|
|
|
|
|
|
|
ifndef MKSHLIB_FORCE_ALL
|
1999-08-04 01:40:56 +04:00
|
|
|
CPPSRCS += dlldeps.cpp
|
1999-02-02 20:40:37 +03:00
|
|
|
endif
|
1998-10-28 06:53:57 +03:00
|
|
|
|
2000-04-14 00:07:13 +04:00
|
|
|
EXPORTS = nsLayoutCID.h $(BUILD_DATE)
|
1999-08-04 01:40:56 +04:00
|
|
|
|
|
|
|
SHARED_LIBRARY_LIBS = \
|
2000-07-02 22:44:42 +04:00
|
|
|
$(DIST)/lib/libgkevents_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/libgkhtmlbase_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/libgkhtmlcon_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/libgkhtmldoc_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/libgkhtmlforms_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/libgkhtmlstyle_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/libgkhtmltable_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/libgkxmlcon_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/libgkxmldoc_s.$(LIB_SUFFIX) \
|
2000-09-17 00:53:08 +04:00
|
|
|
$(DIST)/lib/libgkxsldoc_s.$(LIB_SUFFIX) \
|
2000-07-02 22:44:42 +04:00
|
|
|
$(DIST)/lib/libgkxulcon_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/libgkxulbase_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/libgkxbl_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/libgkbase_s.$(LIB_SUFFIX) \
|
1999-08-04 01:40:56 +04:00
|
|
|
$(NULL)
|
1999-02-02 20:40:37 +03:00
|
|
|
|
2000-05-05 05:30:17 +04:00
|
|
|
ifdef MOZ_PERF_METRICS
|
1999-10-21 06:47:56 +04:00
|
|
|
SHARED_LIBRARY_LIBS += \
|
2000-04-18 14:27:21 +04:00
|
|
|
$(DIST)/lib/libmozutil_s.$(LIB_SUFFIX) \
|
1999-10-21 06:47:56 +04:00
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
1999-10-12 08:47:55 +04:00
|
|
|
ifdef MOZ_MATHML
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
2000-07-02 22:44:42 +04:00
|
|
|
$(DIST)/lib/libgkmathmlcon_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/libgkmathmlbase_s.$(LIB_SUFFIX) \
|
1999-10-12 08:47:55 +04:00
|
|
|
$(NSNULL)
|
|
|
|
endif
|
|
|
|
|
2000-04-02 02:31:45 +04:00
|
|
|
ifdef MOZ_SVG
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
2000-07-02 22:44:42 +04:00
|
|
|
$(DIST)/lib/libgksvgcon_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/libgksvgbase_s.$(LIB_SUFFIX) \
|
2000-04-02 02:31:45 +04:00
|
|
|
$(NSNULL)
|
|
|
|
endif
|
|
|
|
|
1999-08-04 01:40:56 +04:00
|
|
|
EXTRA_DSO_LDOPTS = \
|
1999-08-22 15:05:45 +04:00
|
|
|
-L$(DIST)/bin \
|
2000-04-18 14:27:21 +04:00
|
|
|
$(EXTRA_DSO_LIBS) \
|
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
|
|
$(MOZ_JS_LIBS) \
|
1999-08-04 01:40:56 +04:00
|
|
|
$(NULL)
|
1998-10-28 06:53:57 +03:00
|
|
|
|
2000-04-18 14:27:21 +04:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
|
|
|
|
EXPORT_OBJS = 1
|
|
|
|
endif
|
|
|
|
|
2000-06-13 03:02:14 +04:00
|
|
|
GARBAGE += $(BUILD_DATE)
|
|
|
|
|
1998-10-28 06:53:57 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
1999-02-02 20:40:37 +03:00
|
|
|
|
1999-08-04 01:40:56 +04:00
|
|
|
DEFINES += -D_IMPL_NS_HTML
|
|
|
|
|
Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).
Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst
2000-10-07 14:57:30 +04:00
|
|
|
INCLUDES += -I$(srcdir)/../base/src \
|
|
|
|
-I$(srcdir)/../html/base/src \
|
2000-11-08 06:22:03 +03:00
|
|
|
-I$(srcdir)/../xul/content/src \
|
|
|
|
-I$(srcdir)/../xul/base/src \
|
|
|
|
$(NULL)
|
1999-03-20 22:05:05 +03:00
|
|
|
|
1999-10-02 15:01:41 +04:00
|
|
|
ifdef MOZ_MATHML
|
|
|
|
INCLUDES += -I$(srcdir)/../mathml/content/src
|
|
|
|
endif
|
|
|
|
|
2000-05-05 08:32:50 +04:00
|
|
|
ifdef MOZ_SVG
|
|
|
|
INCLUDES += -I$(srcdir)/../svg/content/src
|
|
|
|
endif
|
|
|
|
|
2000-05-02 05:28:23 +04:00
|
|
|
$(BUILD_DATE):
|
2000-04-14 00:07:13 +04:00
|
|
|
$(RM) $@
|
2000-04-14 01:00:39 +04:00
|
|
|
$(PERL) $(srcdir)/gbdate.pl > $@
|
2000-04-14 00:07:13 +04:00
|
|
|
|
2000-04-18 14:27:21 +04:00
|
|
|
# To prevent ILink from crashing
|
|
|
|
ifeq ($(MOZ_OS2_TOOLS),VACPP)
|
|
|
|
OS_DLLFLAGS := ilink /FREE /NOE /NOL /DLL /O:nglayout.dll /M /INC:_dllentry
|
|
|
|
endif
|
|
|
|
|