2001-12-18 12:14:29 +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/.
|
2001-12-18 12:14:29 +03:00
|
|
|
|
2012-08-04 22:26:44 +04:00
|
|
|
DEPTH = @DEPTH@
|
2001-12-18 12:14:29 +03:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = widget
|
|
|
|
LIBRARY_NAME = widget_windows
|
2012-01-04 07:10:06 +04:00
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
IS_COMPONENT = 1
|
|
|
|
RESFILE = widget.res
|
|
|
|
MODULE_NAME = nsWidgetWinModule
|
2004-12-09 22:28:35 +03:00
|
|
|
LIBXUL_LIBRARY = 1
|
2001-12-18 12:14:29 +03:00
|
|
|
|
2011-03-03 19:20:02 +03:00
|
|
|
CPPSRCS = \
|
|
|
|
nsWindow.cpp \
|
|
|
|
nsWindowGfx.cpp \
|
|
|
|
nsWindowDbg.cpp \
|
|
|
|
nsAppShell.cpp \
|
|
|
|
nsToolkit.cpp \
|
|
|
|
nsFilePicker.cpp \
|
|
|
|
nsScreenWin.cpp \
|
|
|
|
nsScreenManagerWin.cpp \
|
|
|
|
nsLookAndFeel.cpp \
|
|
|
|
nsUXThemeData.cpp \
|
|
|
|
nsNativeThemeWin.cpp \
|
|
|
|
nsWinGesture.cpp \
|
|
|
|
nsIdleServiceWin.cpp \
|
|
|
|
nsSound.cpp \
|
|
|
|
nsIMM32Handler.cpp \
|
|
|
|
WindowHook.cpp \
|
|
|
|
WinTaskbar.cpp \
|
|
|
|
TaskbarPreview.cpp \
|
|
|
|
TaskbarTabPreview.cpp \
|
|
|
|
TaskbarWindowPreview.cpp \
|
|
|
|
TaskbarPreviewButton.cpp \
|
|
|
|
JumpListBuilder.cpp \
|
|
|
|
JumpListItem.cpp \
|
|
|
|
GfxInfo.cpp \
|
|
|
|
WidgetTraceEvent.cpp \
|
2011-06-24 18:20:03 +04:00
|
|
|
AudioSession.cpp \
|
2012-01-04 07:10:06 +04:00
|
|
|
nsWidgetFactory.cpp \
|
2012-01-04 14:21:44 +04:00
|
|
|
WinUtils.cpp \
|
2012-03-06 07:20:28 +04:00
|
|
|
WinMouseScrollHandler.cpp \
|
2013-02-25 08:00:05 +04:00
|
|
|
WinIMEHandler.cpp \
|
2011-03-03 19:20:02 +03:00
|
|
|
$(NULL)
|
2008-02-21 23:49:24 +03:00
|
|
|
|
2010-11-22 03:29:47 +03:00
|
|
|
ifdef MOZ_CRASHREPORTER
|
|
|
|
CPPSRCS += LSPAnnotator.cpp
|
|
|
|
endif
|
|
|
|
|
2008-02-21 23:49:24 +03:00
|
|
|
ifdef NS_PRINTING
|
|
|
|
CPPSRCS += \
|
2006-02-10 23:40:54 +03:00
|
|
|
nsPrintOptionsWin.cpp \
|
|
|
|
nsPrintSettingsWin.cpp \
|
|
|
|
nsDeviceContextSpecWin.cpp \
|
2005-02-23 10:07:51 +03:00
|
|
|
$(NULL)
|
2008-02-21 23:49:24 +03:00
|
|
|
endif
|
2005-02-23 10:07:51 +03:00
|
|
|
|
|
|
|
CPPSRCS += \
|
2010-07-27 16:47:42 +04:00
|
|
|
KeyboardLayout.cpp \
|
2009-01-05 21:17:44 +03:00
|
|
|
IEnumFE.cpp \
|
|
|
|
nsDataObj.cpp \
|
|
|
|
nsDataObjCollection.cpp \
|
2005-02-23 10:07:51 +03:00
|
|
|
nsNativeDragTarget.cpp \
|
|
|
|
nsNativeDragSource.cpp \
|
|
|
|
nsDragService.cpp \
|
2009-01-05 21:17:44 +03:00
|
|
|
nsClipboard.cpp \
|
2001-12-18 12:14:29 +03:00
|
|
|
nsImageClipboard.cpp \
|
|
|
|
nsBidiKeyboard.cpp \
|
|
|
|
$(NULL)
|
2009-08-25 23:13:42 +04:00
|
|
|
ifdef NS_ENABLE_TSF
|
|
|
|
CPPSRCS += nsTextStore.cpp
|
|
|
|
endif
|
2001-12-18 12:14:29 +03:00
|
|
|
|
2005-03-06 13:34:01 +03:00
|
|
|
DEFINES += -D_IMPL_NS_WIDGET -DMOZ_UNICODE
|
2002-07-03 04:55:47 +04:00
|
|
|
|
2010-06-06 14:37:44 +04:00
|
|
|
ifdef MOZ_ENABLE_D3D9_LAYER
|
|
|
|
DEFINES += -DMOZ_ENABLE_D3D9_LAYER
|
|
|
|
endif
|
|
|
|
|
2010-10-01 02:53:47 +04:00
|
|
|
ifdef MOZ_ENABLE_D3D10_LAYER
|
|
|
|
DEFINES += -DMOZ_ENABLE_D3D10_LAYER
|
|
|
|
endif
|
|
|
|
|
2012-01-04 07:10:06 +04:00
|
|
|
SHARED_LIBRARY_LIBS = \
|
|
|
|
../xpwidgets/$(LIB_PREFIX)xpwidgets_s.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
2002-12-24 01:32:22 +03:00
|
|
|
|
2013-03-02 02:16:13 +04:00
|
|
|
EXPORTS = nsdefs.h WindowHook.h WinUtils.h
|
2011-06-24 18:20:03 +04:00
|
|
|
EXPORTS_NAMESPACES = mozilla/widget
|
|
|
|
EXPORTS_mozilla/widget = AudioSession.h
|
2001-12-18 12:14:29 +03:00
|
|
|
|
2006-06-09 10:02:30 +04:00
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I. \
|
|
|
|
-I$(srcdir)/../xpwidgets \
|
2012-05-17 11:04:16 +04:00
|
|
|
-I$(srcdir)/../shared \
|
2006-06-09 10:02:30 +04:00
|
|
|
-I$(srcdir) \
|
2011-07-11 18:05:07 +04:00
|
|
|
-I$(topsrcdir)/layout/generic \
|
|
|
|
-I$(topsrcdir)/layout/xul/base/src \
|
2009-06-16 22:59:35 +04:00
|
|
|
-I$(topsrcdir)/toolkit/xre \
|
2011-02-12 04:56:11 +03:00
|
|
|
-I$(topsrcdir)/xpcom/base \
|
2012-09-22 23:28:35 +04:00
|
|
|
-I$(topsrcdir)/content/events/src \
|
2006-06-09 10:02:30 +04:00
|
|
|
$(NULL)
|
2001-12-18 12:14:29 +03:00
|
|
|
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
2009-11-07 01:33:12 +03:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
|
2004-11-23 22:34:02 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2009-05-18 22:15:05 +04:00
|
|
|
|
2012-05-26 10:44:00 +04:00
|
|
|
CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS)
|