Fix orange in wake of patch for bug 542002.
[mozilla-central.git] / widget / public / Makefile.in
blob8beba266d419481148899627d73960b0e9b8e0a8
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) 1998
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 XPIDL_MODULE = widget
47 GRE_MODULE = 1
49 EXPORTS = \
50 nsIWidget.h \
51 nsGUIEvent.h \
52 nsEvent.h \
53 nsNativeWidget.h \
54 nsWidgetInitData.h \
55 nsWidgetsCID.h \
56 nsILookAndFeel.h \
57 nsIPluginWidget.h \
58 nsINativeKeyBindings.h \
59 nsIDeviceContextSpec.h \
60 nsIMenuRollup.h \
61 nsIRollupListener.h \
62 $(NULL)
64 ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
65 EXPORTS += \
66 nsINativeMenuService.h \
67 nsIPrintDialogService.h \
68 $(NULL)
69 endif
71 ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
72 EXPORTS += nsIDragSessionOS2.h
73 endif
75 ifeq ($(MOZ_WIDGET_TOOLKIT),beos)
76 EXPORTS += nsIDragSessionBeOS.h
77 endif
79 ifneq (,$(filter qt gtk2,$(MOZ_WIDGET_TOOLKIT)))
80 EXPORTS += \
81 nsIDragSessionGTK.h \
82 nsIPrintDialogService.h \
83 $(NULL)
84 endif
86 XPIDLSRCS = \
87 nsIAccelerometer.idl \
88 nsIAppShell.idl \
89 nsIFilePicker.idl \
90 nsIToolkit.idl \
91 nsISound.idl \
92 nsITransferable.idl \
93 nsIClipboardDragDropHooks.idl \
94 nsIClipboardDragDropHookList.idl \
95 nsIDragSession.idl \
96 nsIDragService.idl \
97 nsIFormatConverter.idl \
98 nsIClipboard.idl \
99 nsIClipboardHelper.idl \
100 nsIClipboardOwner.idl \
101 nsIBaseWindow.idl \
102 nsIBidiKeyboard.idl \
103 nsIScreen.idl \
104 nsIScreenManager.idl \
105 nsIPrintSession.idl \
106 nsIPrintSettings.idl \
107 nsIPrintSettingsService.idl \
108 nsIPrintOptions.idl \
109 nsIIdleService.idl \
110 $(NULL)
112 ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
113 XPIDLSRCS += nsIPrintSettingsWin.idl \
114 nsIWinTaskbar.idl \
115 nsITaskbarPreview.idl \
116 nsITaskbarTabPreview.idl \
117 nsITaskbarWindowPreview.idl \
118 nsITaskbarPreviewController.idl \
119 nsITaskbarPreviewButton.idl \
120 nsITaskbarProgress.idl \
121 nsITaskbarPreviewButton.idl \
122 nsIJumpListBuilder.idl \
123 nsIJumpListItem.idl \
124 $(NULL)
125 endif
127 ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
128 XPIDLSRCS += nsIMacDockSupport.idl \
129 nsIStandaloneNativeMenu.idl \
130 $(NULL)
131 endif
133 ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
134 XPIDLSRCS += nsIRwsService.idl
135 endif
137 EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
139 include $(topsrcdir)/config/rules.mk