Bug 796038 - Default browser prompt shows even after setting defaults for Firefox...
[gecko.git] / widget / Makefile.in
blobec3baa494c60bc132e4b4285975f08853fe4b498
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 DEPTH = @DEPTH@
7 topsrcdir = @top_srcdir@
8 srcdir = @srcdir@
9 VPATH = @srcdir@
11 MODULE = widget
12 XPIDL_MODULE = widget
13 GRE_MODULE = 1
15 include $(DEPTH)/config/autoconf.mk
17 DIRS = shared xpwidgets
19 ifneq (,$(filter os2 cocoa qt android gonk,$(MOZ_WIDGET_TOOLKIT)))
20 DIRS += $(MOZ_WIDGET_TOOLKIT)
21 endif
23 ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
24 DIRS += windows
25 endif
27 ifdef ENABLE_TESTS
28 TOOL_DIRS += tests
29 endif
32 # Don't build the DSO under the 'build' directory as windows does.
34 # The DSOs get built in the toolkit dir itself. Do this so that
35 # multiple implementations of widget can be built on the same
36 # source tree.
38 ifdef MOZ_ENABLE_GTK2
39 DIRS += gtk2
40 ifdef MOZ_X11
41 DIRS += gtkxtbin
42 endif
43 endif
46 EXPORTS_NAMESPACES = IPC mozilla
48 EXPORTS_IPC = \
49 nsGUIEventIPC.h \
50 $(NULL)
52 EXPORTS_mozilla = \
53 LookAndFeel.h \
54 WidgetUtils.h \
55 $(NULL)
57 ifdef MOZ_INSTRUMENT_EVENT_LOOP
58 EXPORTS_mozilla += \
59 WidgetTraceEvent.h \
60 $(NULL)
61 endif
63 EXPORTS = \
64 InputData.h \
65 nsIWidget.h \
66 nsGUIEvent.h \
67 nsEvent.h \
68 nsNativeWidget.h \
69 nsWidgetInitData.h \
70 nsWidgetsCID.h \
71 nsIPluginWidget.h \
72 nsINativeKeyBindings.h \
73 nsIDeviceContextSpec.h \
74 nsIRollupListener.h \
75 nsIWidgetListener.h \
76 $(NULL)
78 ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
79 EXPORTS += \
80 nsINativeMenuService.h \
81 nsIPrintDialogService.h \
82 $(NULL)
83 endif
85 ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
86 EXPORTS += nsIDragSessionOS2.h
87 endif
89 ifneq (,$(filter android gonk,$(MOZ_WIDGET_TOOLKIT)))
90 EXPORTS += \
91 nsIPrintDialogService.h \
92 $(NULL)
93 endif
95 ifneq (,$(filter qt gtk2,$(MOZ_WIDGET_TOOLKIT)))
96 EXPORTS += \
97 nsIPrintDialogService.h \
98 $(NULL)
99 endif
101 XPIDLSRCS = \
102 nsIAppShell.idl \
103 nsIFilePicker.idl \
104 nsISound.idl \
105 nsITransferable.idl \
106 nsIClipboardDragDropHooks.idl \
107 nsIClipboardDragDropHookList.idl \
108 nsIDragSession.idl \
109 nsIDragService.idl \
110 nsIFormatConverter.idl \
111 nsIClipboard.idl \
112 nsIClipboardHelper.idl \
113 nsIClipboardOwner.idl \
114 nsIBaseWindow.idl \
115 nsIBidiKeyboard.idl \
116 nsIScreen.idl \
117 nsIScreenManager.idl \
118 nsIPrintSession.idl \
119 nsIPrintSettings.idl \
120 nsIPrintSettingsService.idl \
121 nsIPrintOptions.idl \
122 nsIIdleService.idl \
123 nsIIdleServiceInternal.idl \
124 nsIGfxInfo.idl \
125 nsIGfxInfoDebug.idl \
126 nsIIMEPicker.idl \
127 $(NULL)
129 ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
130 XPIDLSRCS += nsIPrintSettingsWin.idl \
131 nsIWinTaskbar.idl \
132 nsITaskbarPreview.idl \
133 nsITaskbarTabPreview.idl \
134 nsITaskbarWindowPreview.idl \
135 nsITaskbarPreviewController.idl \
136 nsITaskbarPreviewButton.idl \
137 nsITaskbarProgress.idl \
138 nsITaskbarOverlayIconController.idl \
139 nsIJumpListBuilder.idl \
140 nsIJumpListItem.idl \
141 $(NULL)
142 endif
144 ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
145 XPIDLSRCS += nsIMacDockSupport.idl \
146 nsIStandaloneNativeMenu.idl \
147 nsIMacWebAppUtils.idl \
148 $(NULL)
149 endif
151 ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
152 XPIDLSRCS += nsIRwsService.idl
153 endif
155 EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
157 include $(topsrcdir)/config/rules.mk