Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / widget / src / windows / Makefile.in
blob249085e977f6535564c8b70d86255a7c484653ce
2 # ***** BEGIN LICENSE BLOCK *****
3 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
8 # http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # The Original Code is mozilla.org code.
17 # The Initial Developer of the Original Code is
18 # Netscape Communications Corporation.
19 # Portions created by the Initial Developer are Copyright (C) 2001
20 # the Initial Developer. All Rights Reserved.
22 # Contributor(s):
24 # Alternatively, the contents of this file may be used under the terms of
25 # either the GNU General Public License Version 2 or later (the "GPL"), or
26 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 # in which case the provisions of the GPL or the LGPL are applicable instead
28 # of those above. If you wish to allow use of your version of this file only
29 # under the terms of either the GPL or the LGPL, and not to allow others to
30 # use your version of this file under the terms of the MPL, indicate your
31 # decision by deleting the provisions above and replace them with the notice
32 # and other provisions required by the GPL or the LGPL. If you do not delete
33 # the provisions above, a recipient may use your version of this file under
34 # the terms of any one of the MPL, the GPL or the LGPL.
36 # ***** END LICENSE BLOCK *****
38 DEPTH = ../../..
39 topsrcdir = @top_srcdir@
40 srcdir = @srcdir@
41 VPATH = @srcdir@
43 include $(DEPTH)/config/autoconf.mk
45 MODULE = widget
46 LIBRARY_NAME = widget_windows
47 LIBXUL_LIBRARY = 1
49 REQUIRES = xpcom \
50 string \
51 dom \
52 accessibility \
53 content \
54 content_xul \
55 gfx \
56 necko \
57 pref \
58 plugin \
59 timer \
60 uconv \
61 intl \
62 locale \
63 webshell \
64 docshell \
65 layout \
66 xuldoc \
67 view \
68 imglib2 \
69 uriloader \
70 webbrowserpersist \
71 unicharutil \
72 thebes \
73 cairo \
74 $(NULL)
76 CPPSRCS = \
77 IEnumFE.cpp \
78 nsWindow.cpp \
79 nsAppShell.cpp \
80 nsLookAndFeel.cpp \
81 nsToolkit.cpp \
82 nsKeyboardLayout.cpp \
83 nsDataObj.cpp \
84 nsDataObjCollection.cpp \
85 nsClipboard.cpp \
86 nsNativeThemeWin.cpp \
87 nsUXThemeData.cpp \
88 nsFilePicker.cpp \
89 nsScreenWin.cpp \
90 nsScreenManagerWin.cpp \
91 $(NULL)
93 ifdef NS_PRINTING
94 CPPSRCS += \
95 nsPrintOptionsWin.cpp \
96 nsPrintSettingsWin.cpp \
97 nsDeviceContextSpecWin.cpp \
98 $(NULL)
99 endif
101 ifneq ($(OS_ARCH), WINCE)
102 CPPSRCS += \
103 nsNativeDragTarget.cpp \
104 nsNativeDragSource.cpp \
105 nsDragService.cpp \
106 nsImageClipboard.cpp \
107 nsBidiKeyboard.cpp \
108 nsSound.cpp \
109 nsIdleServiceWin.cpp \
110 $(NULL)
111 endif
114 DEFINES += -D_IMPL_NS_WIDGET -DMOZ_UNICODE
116 ifdef BUILD_STATIC_LIBS
117 DEFINES += -DMOZ_STATIC_COMPONENT_LIBS
118 endif # BUILD_STATIC_LIBS
121 EXPORTS = nsdefs.h
123 LOCAL_INCLUDES = \
124 -I. \
125 -I$(srcdir)/../xpwidgets \
126 -I$(srcdir) \
127 $(NULL)
129 FORCE_STATIC_LIB = 1
131 ifndef WINCE
132 ENABLE_CXX_EXCEPTIONS = 1
133 endif
135 include $(topsrcdir)/config/rules.mk