1998-10-28 06:53:57 +03:00
|
|
|
#
|
2004-04-19 02:01:16 +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-19 02:01:16 +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-19 02:01:16 +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-19 02:01:16 +04: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 05:09:42 +04:00
|
|
|
#
|
2004-04-19 02:01:16 +04:00
|
|
|
# ***** END LICENSE BLOCK *****
|
1998-10-28 06:53:57 +03:00
|
|
|
|
2012-01-04 07:09:29 +04:00
|
|
|
DEPTH = ../..
|
1998-10-28 06:53:57 +03:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2000-11-20 10:16:06 +03:00
|
|
|
MODULE = widget
|
2000-07-02 22:44:42 +04:00
|
|
|
LIBRARY_NAME = xpwidgets_s
|
2004-12-09 22:28:35 +03:00
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
|
2011-11-03 00:53:59 +04:00
|
|
|
EXPORTS = \
|
|
|
|
GfxInfoCollector.h \
|
|
|
|
$(NULL)
|
1998-10-28 06:53:57 +03:00
|
|
|
|
2009-06-30 20:02:37 +04:00
|
|
|
DEFINES += \
|
|
|
|
-D_IMPL_NS_WIDGET \
|
|
|
|
-DNO_NSPR_10_SUPPORT=1 \
|
|
|
|
$(NULL)
|
2000-07-30 07:39:42 +04:00
|
|
|
|
1999-09-16 05:09:42 +04:00
|
|
|
CPPSRCS = \
|
2006-05-10 21:30:15 +04:00
|
|
|
nsBaseAppShell.cpp \
|
2012-01-05 06:12:48 +04:00
|
|
|
nsBaseScreen.cpp \
|
1999-09-16 05:09:42 +04: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 14:57:30 +04:00
|
|
|
nsHTMLFormatConverter.cpp \
|
1999-09-16 05:09:42 +04:00
|
|
|
nsBaseDragService.cpp \
|
1999-11-16 04:51:39 +03:00
|
|
|
nsPrimitiveHelpers.cpp \
|
2000-03-31 02:42:40 +04:00
|
|
|
nsXPLookAndFeel.cpp \
|
2001-05-10 06:35:00 +04:00
|
|
|
nsClipboardHelper.cpp \
|
2006-06-09 10:02:30 +04:00
|
|
|
nsPrintOptionsImpl.cpp \
|
2006-02-10 23:40:54 +03:00
|
|
|
nsPrintSettingsImpl.cpp \
|
2006-06-09 10:02:30 +04:00
|
|
|
nsPrintSession.cpp \
|
2007-01-08 21:13:16 +03:00
|
|
|
nsIdleService.cpp \
|
2009-01-30 11:13:17 +03:00
|
|
|
nsClipboardPrivacyHandler.cpp \
|
2010-12-16 23:49:54 +03:00
|
|
|
GfxInfoWebGL.cpp \
|
2011-01-20 04:21:07 +03:00
|
|
|
GfxDriverInfo.cpp \
|
2011-01-20 04:30:12 +03:00
|
|
|
GfxInfoBase.cpp \
|
2010-08-21 03:24:40 +04:00
|
|
|
PuppetWidget.cpp \
|
2010-10-20 19:19:24 +04:00
|
|
|
nsFilePickerProxy.cpp \
|
2010-08-21 03:24:40 +04:00
|
|
|
$(NULL)
|
|
|
|
|
2011-05-04 00:07:17 +04:00
|
|
|
ifdef MOZ_X11
|
|
|
|
CPPSRCS += \
|
|
|
|
GfxInfoX11.cpp
|
|
|
|
endif
|
|
|
|
|
Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras
2011-02-19 22:10:24 +03:00
|
|
|
ifneq (,$(filter os2 cocoa windows,$(MOZ_WIDGET_TOOLKIT)))
|
2004-03-26 11:51:01 +03:00
|
|
|
CPPSRCS += nsBaseClipboard.cpp
|
|
|
|
endif
|
|
|
|
|
2011-11-11 04:17:46 +04:00
|
|
|
ifneq (,$(filter qt gtk2 os2 cocoa windows android gonk,$(MOZ_WIDGET_TOOLKIT)))
|
2001-10-30 09:10:01 +03:00
|
|
|
CPPSRCS += nsBaseFilePicker.cpp
|
|
|
|
endif
|
|
|
|
|
2008-04-19 17:26:02 +04:00
|
|
|
ifneq (,$(filter qt gtk2 windows cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
2005-08-23 06:11:54 +04:00
|
|
|
CPPSRCS += nsNativeTheme.cpp
|
|
|
|
endif
|
|
|
|
|
2010-06-26 01:51:17 +04:00
|
|
|
SHARED_LIBRARY_LIBS = ../shared/$(LIB_PREFIX)widget_shared.$(LIB_SUFFIX)
|
2010-08-26 22:11:54 +04:00
|
|
|
ifdef MOZ_X11
|
|
|
|
SHARED_LIBRARY_LIBS += ../shared/x11/$(LIB_PREFIX)widget_shared_x11.$(LIB_SUFFIX)
|
2010-08-27 01:09:43 +04:00
|
|
|
endif
|
2010-06-26 01:51:17 +04:00
|
|
|
|
2011-08-09 23:38:27 +04:00
|
|
|
ifdef MOZ_ENABLE_D3D10_LAYER
|
|
|
|
DEFINES += -DMOZ_ENABLE_D3D10_LAYER
|
|
|
|
endif
|
|
|
|
|
2009-06-30 20:02:37 +04:00
|
|
|
LOCAL_INCLUDES += \
|
1999-09-16 05:09:42 +04:00
|
|
|
-I$(srcdir)/../$(MOZ_WIDGET_TOOLKIT) \
|
2010-06-26 01:51:17 +04:00
|
|
|
-I$(srcdir)/../shared \
|
2011-05-06 14:00:30 +04:00
|
|
|
-I$(topsrcdir)/layout/forms \
|
|
|
|
-I$(topsrcdir)/layout/generic \
|
|
|
|
-I$(topsrcdir)/layout/xul/base/src \
|
1999-09-16 05:09:42 +04:00
|
|
|
-I$(srcdir) \
|
|
|
|
$(NULL)
|
1998-10-28 06:53:57 +03:00
|
|
|
|
1999-03-26 00:21:47 +03:00
|
|
|
# we don't want the shared lib, but we want to force the creation of a static lib.
|
2001-06-19 02:10:38 +04:00
|
|
|
FORCE_STATIC_LIB = 1
|
1999-03-26 00:21:47 +03:00
|
|
|
|
2009-06-30 20:02:37 +04:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
1998-10-28 06:53:57 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
1999-09-16 05:09:42 +04:00
|
|
|
|
|
|
|
CXXFLAGS += $(TK_CFLAGS)
|