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