1998-10-28 03:53:57 +00:00
|
|
|
#
|
2004-04-18 22:01:16 +00:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
1998-10-28 03:53:57 +00:00
|
|
|
#
|
2004-04-18 22:01:16 +00: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 03:53:57 +00:00
|
|
|
#
|
1999-11-06 03:40:37 +00:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
2004-04-18 22:01:16 +00: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 03:40:37 +00:00
|
|
|
#
|
2004-04-18 22:01:16 +00:00
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either 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-09-16 01:09:42 +00:00
|
|
|
#
|
2004-04-18 22:01:16 +00:00
|
|
|
# ***** END LICENSE BLOCK *****
|
1998-10-28 03:53:57 +00:00
|
|
|
|
1999-09-16 01:09:42 +00:00
|
|
|
DEPTH = ../../..
|
1998-10-28 03:53:57 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2000-11-20 07:16:06 +00:00
|
|
|
MODULE = widget
|
2000-07-02 18:44:42 +00:00
|
|
|
LIBRARY_NAME = xpwidgets_s
|
2004-12-09 19:28:35 +00:00
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
|
2001-09-18 13:41:47 +00:00
|
|
|
REQUIRES = xpcom \
|
|
|
|
string \
|
|
|
|
gfx \
|
|
|
|
layout \
|
|
|
|
content \
|
|
|
|
dom \
|
2007-03-20 12:14:52 +00:00
|
|
|
imglib2 \
|
2001-09-18 13:41:47 +00:00
|
|
|
pref \
|
|
|
|
locale \
|
|
|
|
necko \
|
|
|
|
htmlparser \
|
|
|
|
uconv \
|
|
|
|
unicharutil \
|
2005-06-28 22:04:03 +00:00
|
|
|
view \
|
2006-02-10 20:40:54 +00:00
|
|
|
windowwatcher \
|
2007-08-30 16:21:16 +00:00
|
|
|
lcms \
|
2007-09-16 01:37:43 +00:00
|
|
|
thebes \
|
2001-09-18 13:41:47 +00:00
|
|
|
$(NULL)
|
1998-10-28 03:53:57 +00:00
|
|
|
|
2001-12-18 09:14:29 +00:00
|
|
|
DEFINES += -D_IMPL_NS_WIDGET -DUSE_TLS_FOR_TOOLKIT
|
2000-07-30 03:39:42 +00:00
|
|
|
|
1999-09-16 01:09:42 +00:00
|
|
|
CPPSRCS = \
|
2006-05-10 17:30:15 +00:00
|
|
|
nsBaseAppShell.cpp \
|
1999-09-16 01:09:42 +00:00
|
|
|
nsBaseWidget.cpp \
|
|
|
|
nsTransferable.cpp \
|
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 10:57:30 +00:00
|
|
|
nsHTMLFormatConverter.cpp \
|
1999-09-16 01:09:42 +00:00
|
|
|
nsBaseDragService.cpp \
|
1999-11-16 01:51:39 +00:00
|
|
|
nsPrimitiveHelpers.cpp \
|
2000-03-30 22:42:40 +00:00
|
|
|
nsXPLookAndFeel.cpp \
|
2001-05-10 02:35:00 +00:00
|
|
|
nsClipboardHelper.cpp \
|
2006-06-09 06:02:30 +00:00
|
|
|
nsPrintOptionsImpl.cpp \
|
2006-02-10 20:40:54 +00:00
|
|
|
nsPrintSettingsImpl.cpp \
|
2006-06-09 06:02:30 +00:00
|
|
|
nsPrintSession.cpp \
|
|
|
|
nsWidgetAtoms.cpp \
|
2007-01-08 18:13:16 +00:00
|
|
|
nsIdleService.cpp \
|
1999-09-16 01:09:42 +00:00
|
|
|
$(NULL)
|
1998-10-28 03:53:57 +00:00
|
|
|
|
2007-09-16 01:37:43 +00:00
|
|
|
ifneq (,$(filter beos os2 cocoa windows,$(MOZ_WIDGET_TOOLKIT)))
|
2004-03-26 08:51:01 +00:00
|
|
|
CPPSRCS += nsBaseClipboard.cpp
|
|
|
|
endif
|
|
|
|
|
2007-09-16 01:37:43 +00:00
|
|
|
ifneq (,$(filter beos gtk2 os2 cocoa photon windows,$(MOZ_WIDGET_TOOLKIT)))
|
2001-10-30 06:10:01 +00:00
|
|
|
CPPSRCS += nsBaseFilePicker.cpp
|
2001-11-16 03:47:07 +00:00
|
|
|
REQUIRES += docshell view intl
|
2001-10-30 06:10:01 +00:00
|
|
|
endif
|
|
|
|
|
2007-09-16 01:37:43 +00:00
|
|
|
ifneq (,$(filter gtk2 windows cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
2005-08-23 02:11:54 +00:00
|
|
|
CPPSRCS += nsNativeTheme.cpp
|
|
|
|
endif
|
|
|
|
|
1999-09-16 01:09:42 +00:00
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I$(srcdir)/../$(MOZ_WIDGET_TOOLKIT) \
|
|
|
|
-I$(srcdir) \
|
|
|
|
$(NULL)
|
1998-10-28 03:53:57 +00:00
|
|
|
|
1999-03-25 21:21:47 +00:00
|
|
|
# we don't want the shared lib, but we want to force the creation of a static lib.
|
2001-06-18 22:10:38 +00:00
|
|
|
FORCE_STATIC_LIB = 1
|
1999-03-25 21:21:47 +00:00
|
|
|
|
1998-10-28 03:53:57 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
1999-09-16 01:09:42 +00:00
|
|
|
|
|
|
|
CXXFLAGS += $(TK_CFLAGS)
|
|
|
|
|