1998-10-28 06:53:57 +03:00
|
|
|
#
|
2012-05-21 15:12:37 +04:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
1998-10-28 06:53:57 +03:00
|
|
|
|
2012-08-04 22:26:44 +04:00
|
|
|
DEPTH = @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 \
|
|
|
|
$(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 \
|
2012-07-24 23:01:09 +04:00
|
|
|
WidgetUtils.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 \
|
2012-08-15 22:52:35 +04:00
|
|
|
-I$(topsrcdir)/view/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)
|