1998-10-28 06:53:57 +03:00
|
|
|
#
|
2004-04-18 18:30:37 +04:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
1998-10-28 06:53:57 +03:00
|
|
|
#
|
2004-04-18 18:30:37 +04:00
|
|
|
# The contents of this file are subject to the Mozilla 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/MPL/
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2004-04-18 18:30:37 +04:00
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Netscape Communications Corporation.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 1998
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1999-11-06 06:40:37 +03:00
|
|
|
#
|
2004-04-18 18:30:37 +04:00
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
|
|
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
1999-08-04 01:40:56 +04:00
|
|
|
#
|
2004-04-18 18:30:37 +04:00
|
|
|
# ***** END LICENSE BLOCK *****
|
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
|
|
|
|
|
2005-03-26 02:46:25 +03:00
|
|
|
# Solaris and Tru64 UNIX sh blows
|
2004-04-09 08:45:29 +04:00
|
|
|
ifeq ($(OS_ARCH),SunOS)
|
|
|
|
SHELL := ksh
|
|
|
|
endif
|
2005-03-26 02:46:25 +03:00
|
|
|
ifeq ($(OS_ARCH),OSF1)
|
|
|
|
SHELL := ksh
|
|
|
|
endif
|
2004-04-09 08:45:29 +04:00
|
|
|
|
1999-08-04 01:40:56 +04:00
|
|
|
MODULE = layout
|
2000-07-02 22:44:42 +04:00
|
|
|
LIBRARY_NAME = gklayout
|
2001-04-28 23:48:12 +04:00
|
|
|
EXPORT_LIBRARY = 1
|
1999-08-04 01:40:56 +04:00
|
|
|
IS_COMPONENT = 1
|
2001-06-21 00:21:49 +04:00
|
|
|
MODULE_NAME = nsLayoutModule
|
2002-12-28 04:15:07 +03:00
|
|
|
GRE_MODULE = 1
|
2004-12-15 07:07:01 +03:00
|
|
|
LIBXUL_LIBRARY = 1
|
2002-12-28 04:15:07 +03:00
|
|
|
|
2004-12-09 22:28:35 +03:00
|
|
|
ifndef MOZ_ENABLE_LIBXUL
|
2010-07-14 01:54:21 +04:00
|
|
|
EXTRA_DSO_LIBS = gkgfx
|
2010-12-04 01:44:01 +03:00
|
|
|
EXTRA_DSO_LIBS += angle
|
2004-12-09 22:28:35 +03:00
|
|
|
endif
|
2010-07-15 23:49:09 +04:00
|
|
|
|
2010-04-29 00:43:52 +04:00
|
|
|
EXTRA_DSO_LIBS += thebes ycbcr
|
2001-12-12 10:59:31 +03:00
|
|
|
|
1998-10-28 06:53:57 +03:00
|
|
|
|
1999-08-04 01:40:56 +04:00
|
|
|
CPPSRCS = \
|
1999-10-01 01:14:14 +04:00
|
|
|
nsLayoutModule.cpp \
|
2003-01-14 10:08:59 +03:00
|
|
|
nsContentDLF.cpp \
|
2006-05-19 13:31:57 +04:00
|
|
|
nsLayoutStatics.cpp \
|
1999-08-04 01:40:56 +04:00
|
|
|
$(NULL)
|
1999-02-02 20:40:37 +03:00
|
|
|
|
2005-02-21 21:11:18 +03:00
|
|
|
EXPORTS = \
|
|
|
|
nsLayoutCID.h \
|
|
|
|
nsContentDLF.h \
|
2006-05-19 13:31:57 +04:00
|
|
|
nsLayoutStatics.h \
|
2005-02-21 21:11:18 +03:00
|
|
|
$(NULL)
|
1999-08-04 01:40:56 +04:00
|
|
|
|
2010-08-21 03:24:41 +04:00
|
|
|
ifdef MOZ_IPC
|
|
|
|
GKIPCLIB=../ipc/$(LIB_PREFIX)gkipc_s.$(LIB_SUFFIX)
|
|
|
|
else
|
|
|
|
GKIPCLIB=$(NULL)
|
|
|
|
endif
|
|
|
|
|
1999-08-04 01:40:56 +04:00
|
|
|
SHARED_LIBRARY_LIBS = \
|
2006-03-02 18:22:10 +03:00
|
|
|
../base/$(LIB_PREFIX)gkbase_s.$(LIB_SUFFIX) \
|
|
|
|
../forms/$(LIB_PREFIX)gkforms_s.$(LIB_SUFFIX) \
|
2010-08-21 03:24:41 +04:00
|
|
|
../generic/$(LIB_PREFIX)gkgeneric_s.$(LIB_SUFFIX) \
|
|
|
|
$(GKIPCLIB) \
|
2006-03-02 18:22:10 +03:00
|
|
|
../style/$(LIB_PREFIX)gkstyle_s.$(LIB_SUFFIX) \
|
|
|
|
../tables/$(LIB_PREFIX)gktable_s.$(LIB_SUFFIX) \
|
|
|
|
../xul/base/src/$(LIB_PREFIX)gkxulbase_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/content/base/src/$(LIB_PREFIX)gkconbase_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/content/canvas/src/$(LIB_PREFIX)gkconcvs_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/content/events/src/$(LIB_PREFIX)gkconevents_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/content/html/content/src/$(LIB_PREFIX)gkconhtmlcon_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/content/html/document/src/$(LIB_PREFIX)gkconhtmldoc_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/content/xml/content/src/$(LIB_PREFIX)gkconxmlcon_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/content/xml/document/src/$(LIB_PREFIX)gkconxmldoc_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/content/xslt/src/base/$(LIB_PREFIX)txbase_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/content/xslt/src/xml/$(LIB_PREFIX)txxml_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/content/xslt/src/xpath/$(LIB_PREFIX)txxpath_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/content/xslt/src/xslt/$(LIB_PREFIX)txxslt_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/content/xbl/src/$(LIB_PREFIX)gkconxbl_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/content/xul/document/src/$(LIB_PREFIX)gkconxuldoc_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/view/src/$(LIB_PREFIX)gkview_s.$(LIB_SUFFIX) \
|
2009-03-11 17:10:19 +03:00
|
|
|
$(DEPTH)/dom/base/$(LIB_PREFIX)jsdombase_s.$(LIB_SUFFIX) \
|
2006-03-02 18:22:10 +03:00
|
|
|
$(DEPTH)/dom/src/events/$(LIB_PREFIX)jsdomevents_s.$(LIB_SUFFIX) \
|
2007-12-28 00:34:03 +03:00
|
|
|
$(DEPTH)/dom/src/json/$(LIB_PREFIX)json_s.$(LIB_SUFFIX) \
|
2006-03-02 18:22:10 +03:00
|
|
|
$(DEPTH)/dom/src/jsurl/$(LIB_PREFIX)jsurl_s.$(LIB_SUFFIX) \
|
2006-05-19 09:57:36 +04:00
|
|
|
$(DEPTH)/dom/src/storage/$(LIB_PREFIX)jsdomstorage_s.$(LIB_SUFFIX) \
|
2007-05-29 13:45:30 +04:00
|
|
|
$(DEPTH)/dom/src/offline/$(LIB_PREFIX)jsdomoffline_s.$(LIB_SUFFIX) \
|
2009-09-18 10:01:12 +04:00
|
|
|
$(DEPTH)/dom/src/geolocation/$(LIB_PREFIX)jsdomgeolocation_s.$(LIB_SUFFIX) \
|
2010-09-10 09:00:14 +04:00
|
|
|
$(DEPTH)/dom/src/notification/$(LIB_PREFIX)jsdomnotification_s.$(LIB_SUFFIX) \
|
2010-06-25 16:25:31 +04:00
|
|
|
$(DEPTH)/dom/system/$(LIB_PREFIX)domsystem_s.$(LIB_SUFFIX) \
|
2008-08-17 05:25:01 +04:00
|
|
|
$(DEPTH)/dom/src/threads/$(LIB_PREFIX)domthreads_s.$(LIB_SUFFIX) \
|
2010-06-23 23:46:08 +04:00
|
|
|
$(DEPTH)/dom/indexedDB/$(LIB_PREFIX)dom_indexeddb_s.$(LIB_SUFFIX) \
|
2007-02-24 23:07:06 +03:00
|
|
|
$(DEPTH)/editor/libeditor/text/$(LIB_PREFIX)texteditor_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/editor/libeditor/base/$(LIB_PREFIX)editorbase_s.$(LIB_SUFFIX) \
|
2009-06-29 02:44:22 +04:00
|
|
|
$(DEPTH)/parser/html/$(LIB_PREFIX)html5p_s.$(LIB_SUFFIX) \
|
2010-04-11 17:55:24 +04:00
|
|
|
$(DEPTH)/caps/src/$(LIB_PREFIX)caps_s.$(LIB_SUFFIX) \
|
2006-03-02 18:22:10 +03:00
|
|
|
$(NULL)
|
2003-03-15 04:04:32 +03:00
|
|
|
|
2010-06-25 16:25:31 +04:00
|
|
|
ifneq (,$(filter qt gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
|
|
|
$(DEPTH)/dom/system/unix/$(LIB_PREFIX)domsystemunix_s.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(topsrcdir)/dom/system/unix \
|
|
|
|
$(NULL)
|
|
|
|
else ifneq (,$(filter windows,$(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
|
|
|
$(DEPTH)/dom/system/windows/$(LIB_PREFIX)domsystemwindows_s.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(topsrcdir)/dom/system/windows \
|
|
|
|
$(NULL)
|
|
|
|
else ifneq (,$(filter cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
|
|
|
$(DEPTH)/dom/system/cocoa/$(LIB_PREFIX)domsystemcocoa_s.$(LIB_SUFFIX) \
|
2010-08-19 08:53:55 +04:00
|
|
|
$(NULL)
|
2010-06-25 16:25:31 +04:00
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(topsrcdir)/dom/system/cocoa \
|
|
|
|
$(NULL)
|
|
|
|
else ifneq (,$(filter android,$(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
|
|
|
$(DEPTH)/dom/system/android/$(LIB_PREFIX)domsystemandroid_s.$(LIB_SUFFIX) \
|
2010-08-19 08:53:55 +04:00
|
|
|
$(NULL)
|
2010-06-25 16:25:31 +04:00
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(topsrcdir)/dom/system/android \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2010-06-09 03:31:27 +04:00
|
|
|
ifdef MOZ_VORBIS
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
|
|
|
$(DEPTH)/media/libvorbis/lib/$(LIB_PREFIX)vorbis.$(LIB_SUFFIX) \
|
2010-06-17 02:17:36 +04:00
|
|
|
$(DEPTH)/media/libogg/src/$(LIB_PREFIX)ogg.$(LIB_SUFFIX) \
|
2010-06-09 03:31:27 +04:00
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2010-10-19 06:56:01 +04:00
|
|
|
ifdef MOZ_TREMOR
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
|
|
|
$(DEPTH)/media/libtremor/lib/$(LIB_PREFIX)tremor.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/media/libogg/src/$(LIB_PREFIX)ogg.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2008-07-09 12:22:20 +04:00
|
|
|
ifdef MOZ_MEDIA
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
2009-06-26 08:23:15 +04:00
|
|
|
$(DEPTH)/content/media/$(LIB_PREFIX)gkconmedia_s.$(LIB_SUFFIX) \
|
2008-07-09 12:22:20 +04:00
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2008-07-30 10:50:14 +04:00
|
|
|
ifdef MOZ_OGG
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
2008-08-06 04:47:37 +04:00
|
|
|
$(DEPTH)/media/libtheora/lib/$(LIB_PREFIX)theora.$(LIB_SUFFIX) \
|
2009-06-26 08:23:15 +04:00
|
|
|
$(DEPTH)/content/media/ogg/$(LIB_PREFIX)gkconogg_s.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2010-10-07 00:17:54 +04:00
|
|
|
ifdef MOZ_RAW
|
2010-07-26 23:35:16 +04:00
|
|
|
SHARED_LIBRARY_LIBS += \
|
|
|
|
$(DEPTH)/content/media/raw/$(LIB_PREFIX)gkconraw_s.$(LIB_SUFFIX)\
|
|
|
|
$(NULL)
|
2010-10-07 00:17:54 +04:00
|
|
|
endif
|
2010-07-26 23:35:16 +04:00
|
|
|
|
2010-06-09 03:31:27 +04:00
|
|
|
ifdef MOZ_WEBM
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
|
|
|
$(DEPTH)/content/media/webm/$(LIB_PREFIX)gkconwebm_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/media/libnestegg/src/$(LIB_PREFIX)nestegg.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
2010-11-05 20:24:28 +03:00
|
|
|
ifndef MOZ_NATIVE_LIBVPX
|
|
|
|
SHARED_LIBRARY_LIBS += $(DEPTH)/media/libvpx/$(LIB_PREFIX)vpx.$(LIB_SUFFIX)
|
|
|
|
endif
|
2010-06-09 03:31:27 +04:00
|
|
|
endif
|
|
|
|
|
2009-06-26 08:23:15 +04:00
|
|
|
ifdef MOZ_WAVE
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
|
|
|
$(DEPTH)/content/media/wave/$(LIB_PREFIX)gkconwave_s.$(LIB_SUFFIX) \
|
2008-07-30 10:50:14 +04:00
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2008-11-06 23:53:20 +03:00
|
|
|
ifdef MOZ_SYDNEYAUDIO
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
|
|
|
$(DEPTH)/media/libsydneyaudio/src/$(LIB_PREFIX)sydneyaudio.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
2008-10-30 08:20:08 +03:00
|
|
|
LOCAL_INCLUDES += -I$(DEPTH)/content/html/content/src
|
2008-07-30 10:50:14 +04:00
|
|
|
endif
|
|
|
|
|
2005-09-16 06:25:37 +04:00
|
|
|
ifdef NS_PRINTING
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
2006-03-02 18:22:10 +03:00
|
|
|
../printing/$(LIB_PREFIX)gkprinting_s.$(LIB_SUFFIX) \
|
2005-09-16 06:25:37 +04:00
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2003-03-15 04:04:32 +03:00
|
|
|
ifdef MOZ_XUL
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
2006-03-02 18:22:10 +03:00
|
|
|
../xul/base/src/tree/src/$(LIB_PREFIX)gkxultree_s.$(LIB_SUFFIX) \
|
|
|
|
../xul/base/src/grid/$(LIB_PREFIX)gkxulgrid_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/content/xul/content/src/$(LIB_PREFIX)gkconxulcon_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/content/xul/templates/src/$(LIB_PREFIX)gkconxultmpl_s.$(LIB_SUFFIX) \
|
1999-08-04 01:40:56 +04:00
|
|
|
$(NULL)
|
2003-03-15 04:04:32 +03:00
|
|
|
endif
|
1999-02-02 20:40:37 +03:00
|
|
|
|
2007-07-18 09:35:23 +04:00
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(srcdir)/../inspector/src \
|
|
|
|
$(NULL)
|
2006-05-19 22:59:39 +04:00
|
|
|
SHARED_LIBRARY_LIBS += ../inspector/src/$(LIB_PREFIX)inspector_s.$(LIB_SUFFIX)
|
|
|
|
|
1999-10-12 08:47:55 +04:00
|
|
|
ifdef MOZ_MATHML
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
2009-03-30 04:48:52 +04:00
|
|
|
../mathml/$(LIB_PREFIX)gkmathml_s.$(LIB_SUFFIX) \
|
2008-01-09 12:38:28 +03:00
|
|
|
$(DEPTH)/content/mathml/content/src/$(LIB_PREFIX)gkcontentmathml_s.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
1999-10-12 08:47:55 +04:00
|
|
|
endif
|
|
|
|
|
2004-10-08 00:59:53 +04:00
|
|
|
ifdef MOZ_XTF
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
2006-03-02 18:22:10 +03:00
|
|
|
$(DEPTH)/content/xtf/src/$(LIB_PREFIX)gkcontentxtf_s.$(LIB_SUFFIX) \
|
2004-10-08 00:59:53 +04:00
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2000-04-02 02:31:45 +04:00
|
|
|
ifdef MOZ_SVG
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
2008-01-09 12:38:28 +03:00
|
|
|
../svg/base/src/$(LIB_PREFIX)gksvgbase_s.$(LIB_SUFFIX) \
|
2006-03-02 18:22:10 +03:00
|
|
|
$(DEPTH)/content/svg/document/src/$(LIB_PREFIX)gkconsvgdoc_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/content/svg/content/src/$(LIB_PREFIX)gkcontentsvg_s.$(LIB_SUFFIX) \
|
2008-01-09 12:38:28 +03:00
|
|
|
$(NULL)
|
2005-04-22 23:03:41 +04:00
|
|
|
endif
|
2000-04-02 02:31:45 +04:00
|
|
|
|
2009-01-15 07:38:07 +03:00
|
|
|
SHARED_LIBRARY_LIBS += \
|
|
|
|
$(DEPTH)/content/smil/$(LIB_PREFIX)gkconsmil_s.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
|
|
|
|
2007-02-24 23:07:06 +03:00
|
|
|
ifdef MOZ_PLAINTEXT_EDITOR_ONLY
|
|
|
|
DEFINES += -DMOZILLA_PLAINTEXT_EDITOR_ONLY
|
|
|
|
else
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
|
|
|
$(DEPTH)/editor/libeditor/html/$(LIB_PREFIX)htmleditor_s.$(LIB_SUFFIX) \
|
|
|
|
$(DEPTH)/editor/txtsvc/src/$(LIB_PREFIX)txtsvc_s.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef ENABLE_EDITOR_API_LOG
|
|
|
|
DEFINES += -DENABLE_EDITOR_API_LOG
|
|
|
|
endif
|
|
|
|
|
2010-04-11 17:55:24 +04:00
|
|
|
SHARED_LIBRARY_LIBS += \
|
|
|
|
$(DEPTH)/js/src/xpconnect/src/$(LIB_PREFIX)xpconnect_s.$(LIB_SUFFIX)
|
|
|
|
|
1999-08-04 01:40:56 +04:00
|
|
|
EXTRA_DSO_LDOPTS = \
|
2001-12-18 12:14:29 +03:00
|
|
|
$(LIBS_DIR) \
|
2000-04-18 14:27:21 +04:00
|
|
|
$(EXTRA_DSO_LIBS) \
|
2001-10-23 00:44:02 +04:00
|
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
2003-01-03 11:58:59 +03:00
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
2000-04-18 14:27:21 +04:00
|
|
|
$(MOZ_JS_LIBS) \
|
1999-08-04 01:40:56 +04:00
|
|
|
$(NULL)
|
1998-10-28 06:53:57 +03:00
|
|
|
|
2010-01-28 08:22:41 +03:00
|
|
|
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
2006-09-28 07:58:00 +04:00
|
|
|
|
2010-01-28 08:22:41 +03:00
|
|
|
ifdef MOZ_ENABLE_GTK2
|
|
|
|
EXTRA_DSO_LDOPTS += -lXrender
|
2006-09-28 07:58:00 +04:00
|
|
|
endif
|
|
|
|
|
2009-09-19 06:59:53 +04:00
|
|
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
2009-06-28 03:44:35 +04:00
|
|
|
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
2009-09-18 10:01:12 +04:00
|
|
|
OS_LIBS += -framework OpenGL
|
|
|
|
endif
|
|
|
|
|
2006-03-01 12:36:51 +03:00
|
|
|
# Add explicit X11 dependency when building against X11 toolkits
|
2007-06-11 02:13:08 +04:00
|
|
|
ifneq (,$(filter gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
2006-03-01 12:36:51 +03:00
|
|
|
EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS)
|
|
|
|
endif
|
|
|
|
|
2008-11-06 23:53:20 +03:00
|
|
|
ifdef MOZ_SYDNEYAUDIO
|
2009-08-21 02:08:18 +04:00
|
|
|
ifeq ($(OS_ARCH),Linux)
|
|
|
|
EXTRA_DSO_LDOPTS += $(MOZ_ALSA_LIBS)
|
|
|
|
endif
|
2008-07-30 10:50:14 +04:00
|
|
|
ifeq ($(OS_ARCH),Darwin)
|
2010-06-26 04:22:09 +04:00
|
|
|
OS_LIBS += -framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon -framework IOKit
|
2008-07-30 10:50:14 +04:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-11-05 20:24:28 +03:00
|
|
|
ifdef MOZ_NATIVE_LIBVPX
|
|
|
|
EXTRA_DSO_LDOPTS += $(MOZ_LIBVPX_LIBS)
|
|
|
|
endif
|
|
|
|
|
2010-05-13 21:44:51 +04:00
|
|
|
ifdef MOZ_IPC
|
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
endif
|
|
|
|
|
1998-10-28 06:53:57 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
1999-02-02 20:40:37 +03:00
|
|
|
|
2004-12-08 22:41:48 +03:00
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../base \
|
|
|
|
-I$(srcdir)/../generic \
|
|
|
|
-I$(srcdir)/../forms \
|
2007-02-13 19:59:51 +03:00
|
|
|
-I$(srcdir)/../tables \
|
2004-12-08 22:41:48 +03:00
|
|
|
-I$(srcdir)/../style \
|
2000-11-08 06:22:03 +03:00
|
|
|
-I$(srcdir)/../xul/content/src \
|
|
|
|
-I$(srcdir)/../xul/base/src \
|
2005-11-02 22:03:06 +03:00
|
|
|
-I$(topsrcdir)/content/base/src \
|
|
|
|
-I$(topsrcdir)/content/html/content/src \
|
|
|
|
-I$(topsrcdir)/content/html/document/src \
|
|
|
|
-I$(topsrcdir)/content/html/style/src \
|
|
|
|
-I$(topsrcdir)/content/xslt/src/base \
|
|
|
|
-I$(topsrcdir)/content/xslt/src/xml \
|
|
|
|
-I$(topsrcdir)/content/xslt/src/xpath \
|
|
|
|
-I$(topsrcdir)/content/xslt/src/xslt \
|
|
|
|
-I$(topsrcdir)/content/xul/content/src \
|
2007-03-12 08:53:33 +03:00
|
|
|
-I$(topsrcdir)/content/xul/document/src \
|
2005-11-02 22:03:06 +03:00
|
|
|
-I$(topsrcdir)/content/xul/templates/src \
|
|
|
|
-I$(topsrcdir)/content/events/src \
|
|
|
|
-I$(topsrcdir)/content/xbl/src \
|
2003-03-15 04:04:32 +03:00
|
|
|
-I$(topsrcdir)/view/src \
|
2009-03-11 17:10:19 +03:00
|
|
|
-I$(topsrcdir)/dom/base \
|
2007-12-28 00:34:03 +03:00
|
|
|
-I$(topsrcdir)/dom/src/json \
|
2004-02-24 06:22:35 +03:00
|
|
|
-I$(topsrcdir)/dom/src/jsurl \
|
2006-05-19 09:57:36 +04:00
|
|
|
-I$(topsrcdir)/dom/src/storage \
|
2007-05-29 13:45:30 +04:00
|
|
|
-I$(topsrcdir)/dom/src/offline \
|
2008-07-16 03:37:48 +04:00
|
|
|
-I$(topsrcdir)/dom/src/geolocation \
|
2008-08-17 05:25:01 +04:00
|
|
|
-I$(topsrcdir)/dom/src/threads \
|
2003-01-14 10:08:59 +03:00
|
|
|
-I. \
|
2007-02-24 23:07:06 +03:00
|
|
|
-I$(topsrcdir)/editor/libeditor/base \
|
|
|
|
-I$(topsrcdir)/editor/libeditor/text \
|
|
|
|
-I$(topsrcdir)/editor/libeditor/html \
|
|
|
|
-I$(topsrcdir)/editor/txtsvc/src \
|
|
|
|
-I$(topsrcdir)/editor/composer/src \
|
2010-04-11 17:55:24 +04:00
|
|
|
-I$(topsrcdir)/js/src/xpconnect/src \
|
|
|
|
-I$(topsrcdir)/js/src/xpconnect/loader \
|
|
|
|
-I$(topsrcdir)/caps/include \
|
2000-11-08 06:22:03 +03:00
|
|
|
$(NULL)
|
1999-03-20 22:05:05 +03:00
|
|
|
|
1999-10-02 15:01:41 +04:00
|
|
|
ifdef MOZ_MATHML
|
2009-03-30 04:48:52 +04:00
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../mathml
|
1999-10-02 15:01:41 +04:00
|
|
|
endif
|
|
|
|
|
Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).
Not part of default build; code is #ifdef'ed out.
r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 15:39:26 +03:00
|
|
|
ifdef MOZ_SVG
|
2005-11-02 22:03:06 +03:00
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/content/svg/content/src
|
Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).
Not part of default build; code is #ifdef'ed out.
r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 15:39:26 +03:00
|
|
|
endif
|
|
|
|
|
2003-01-09 09:49:07 +03:00
|
|
|
DEFINES += -D_IMPL_NS_LAYOUT
|
2003-01-14 10:08:59 +03:00
|
|
|
|
2003-02-12 21:17:34 +03:00
|
|
|
ifeq ($(OS_ARCH),IRIX)
|
|
|
|
ifeq ($(GNU_CXX),1)
|
|
|
|
LDFLAGS += -Wl,-LD_LAYOUT:lgot_buffer=50
|
|
|
|
endif
|
|
|
|
endif
|