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/.
7
topsrcdir = @top_srcdir@
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)
23
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
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
46
EXPORTS_NAMESPACES = IPC mozilla
57
ifdef MOZ_INSTRUMENT_EVENT_LOOP
72
nsINativeKeyBindings.h \
73
nsIDeviceContextSpec.h \
78
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
80
nsINativeMenuService.h \
81
nsIPrintDialogService.h \
85
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
86
EXPORTS += nsIDragSessionOS2.h
89
ifneq (,$(filter android gonk,$(MOZ_WIDGET_TOOLKIT)))
91
nsIPrintDialogService.h \
95
ifneq (,$(filter qt gtk2,$(MOZ_WIDGET_TOOLKIT)))
97
nsIPrintDialogService.h \
105
nsITransferable.idl \
106
nsIClipboardDragDropHooks.idl \
107
nsIClipboardDragDropHookList.idl \
110
nsIFormatConverter.idl \
112
nsIClipboardHelper.idl \
113
nsIClipboardOwner.idl \
115
nsIBidiKeyboard.idl \
117
nsIScreenManager.idl \
118
nsIPrintSession.idl \
119
nsIPrintSettings.idl \
120
nsIPrintSettingsService.idl \
121
nsIPrintOptions.idl \
123
nsIIdleServiceInternal.idl \
125
nsIGfxInfoDebug.idl \
129
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
130
XPIDLSRCS += nsIPrintSettingsWin.idl \
132
nsITaskbarPreview.idl \
133
nsITaskbarTabPreview.idl \
134
nsITaskbarWindowPreview.idl \
135
nsITaskbarPreviewController.idl \
136
nsITaskbarPreviewButton.idl \
137
nsITaskbarProgress.idl \
138
nsITaskbarPreviewButton.idl \
139
nsITaskbarOverlayIconController.idl \
140
nsIJumpListBuilder.idl \
141
nsIJumpListItem.idl \
145
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
146
XPIDLSRCS += nsIMacDockSupport.idl \
147
nsIStandaloneNativeMenu.idl \
148
nsIMacWebAppUtils.idl \
152
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
153
XPIDLSRCS += nsIRwsService.idl
156
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
158
include $(topsrcdir)/config/rules.mk