2001-12-18 09:14:29 +00:00
|
|
|
#
|
2004-04-18 22:01:16 +00:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Netscape Communications Corporation.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2001
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
2001-12-18 09:14:29 +00:00
|
|
|
# Contributor(s):
|
|
|
|
#
|
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.
|
|
|
|
#
|
|
|
|
# ***** END LICENSE BLOCK *****
|
2001-12-18 09:14:29 +00:00
|
|
|
|
|
|
|
DEPTH = ../../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = widget
|
|
|
|
LIBRARY_NAME = widget_windows
|
2004-12-09 19:28:35 +00:00
|
|
|
LIBXUL_LIBRARY = 1
|
2001-12-18 09:14:29 +00:00
|
|
|
|
|
|
|
REQUIRES = xpcom \
|
|
|
|
string \
|
|
|
|
dom \
|
|
|
|
accessibility \
|
|
|
|
content \
|
|
|
|
content_xul \
|
|
|
|
gfx \
|
|
|
|
necko \
|
|
|
|
pref \
|
|
|
|
plugin \
|
|
|
|
timer \
|
|
|
|
uconv \
|
|
|
|
intl \
|
|
|
|
locale \
|
|
|
|
webshell \
|
|
|
|
docshell \
|
|
|
|
layout \
|
|
|
|
xuldoc \
|
2002-02-20 07:18:05 +00:00
|
|
|
view \
|
2005-03-15 22:13:12 +00:00
|
|
|
imglib2 \
|
2006-03-16 21:02:22 +00:00
|
|
|
uriloader \
|
|
|
|
webbrowserpersist \
|
|
|
|
unicharutil \
|
2007-09-16 01:37:43 +00:00
|
|
|
thebes \
|
|
|
|
cairo \
|
2001-12-18 09:14:29 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPPSRCS = \
|
2008-08-11 19:54:41 +00:00
|
|
|
IEnumFE.cpp \
|
2001-12-18 09:14:29 +00:00
|
|
|
nsWindow.cpp \
|
|
|
|
nsAppShell.cpp \
|
|
|
|
nsLookAndFeel.cpp \
|
|
|
|
nsToolkit.cpp \
|
2006-03-16 21:02:22 +00:00
|
|
|
nsKeyboardLayout.cpp \
|
2005-08-11 00:37:53 +00:00
|
|
|
nsDataObj.cpp \
|
|
|
|
nsDataObjCollection.cpp \
|
|
|
|
nsClipboard.cpp \
|
2005-10-13 15:07:56 +00:00
|
|
|
nsNativeThemeWin.cpp \
|
2008-07-17 17:19:10 +00:00
|
|
|
nsUXThemeData.cpp \
|
2005-12-03 06:02:46 +00:00
|
|
|
nsFilePicker.cpp \
|
2006-01-11 21:56:25 +00:00
|
|
|
nsScreenWin.cpp \
|
|
|
|
nsScreenManagerWin.cpp \
|
2008-02-21 20:49:24 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
ifneq ($(OS_ARCH), WINCE)
|
|
|
|
CPPSRCS += \
|
|
|
|
nsNativeDragTarget.cpp \
|
|
|
|
nsNativeDragSource.cpp \
|
|
|
|
nsDragService.cpp \
|
2001-12-18 09:14:29 +00:00
|
|
|
nsImageClipboard.cpp \
|
|
|
|
nsBidiKeyboard.cpp \
|
2005-02-23 07:07:51 +00:00
|
|
|
nsSound.cpp \
|
2007-01-25 21:13:32 +00:00
|
|
|
nsIdleServiceWin.cpp \
|
2001-12-18 09:14:29 +00:00
|
|
|
$(NULL)
|
2005-02-23 07:07:51 +00:00
|
|
|
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
|
|
|
|
2002-12-23 22:32:22 +00:00
|
|
|
ifdef BUILD_STATIC_LIBS
|
|
|
|
DEFINES += -DMOZ_STATIC_COMPONENT_LIBS
|
|
|
|
endif # BUILD_STATIC_LIBS
|
|
|
|
|
|
|
|
|
2001-12-18 09:14:29 +00:00
|
|
|
EXPORTS = nsdefs.h
|
|
|
|
|
2006-06-09 06:02:30 +00:00
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I. \
|
|
|
|
-I$(srcdir)/../xpwidgets \
|
|
|
|
-I$(srcdir) \
|
|
|
|
$(NULL)
|
2001-12-18 09:14:29 +00:00
|
|
|
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
2005-06-08 16:48:44 +00:00
|
|
|
ifndef WINCE
|
2004-11-23 19:34:02 +00:00
|
|
|
ENABLE_CXX_EXCEPTIONS = 1
|
2005-06-08 16:48:44 +00:00
|
|
|
endif
|
2001-12-18 09:14:29 +00:00
|
|
|
|
2004-11-23 19:34:02 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|