gecko/widget/Makefile.in
Brian R. Bondy 49300010a1 Bug 627956 - Fold widget/build into widget/windows. r=roc
--HG--
rename : widget/build/nsWinWidgetFactory.cpp => widget/windows/nsWidgetFactory.cpp
rename : widget/build/res/aliasb.cur => widget/windows/res/aliasb.cur
rename : widget/build/res/cell.cur => widget/windows/res/cell.cur
rename : widget/build/res/col_resize.cur => widget/windows/res/col_resize.cur
rename : widget/build/res/copy.cur => widget/windows/res/copy.cur
rename : widget/build/res/grab.cur => widget/windows/res/grab.cur
rename : widget/build/res/grabbing.cur => widget/windows/res/grabbing.cur
rename : widget/build/res/none.cur => widget/windows/res/none.cur
rename : widget/build/res/row_resize.cur => widget/windows/res/row_resize.cur
rename : widget/build/res/select.cur => widget/windows/res/select.cur
rename : widget/build/res/vertical_text.cur => widget/windows/res/vertical_text.cur
rename : widget/build/res/zoom_in.cur => widget/windows/res/zoom_in.cur
rename : widget/build/res/zoom_out.cur => widget/windows/res/zoom_out.cur
rename : widget/build/widget.rc => widget/windows/widget.rc
2012-01-03 22:10:06 -05:00

190 lines
4.5 KiB
Makefile

#
# ***** 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) 1998
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# 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 *****
DEPTH = ..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
MODULE = widget
XPIDL_MODULE = widget
GRE_MODULE = 1
include $(DEPTH)/config/autoconf.mk
DIRS = shared xpwidgets
ifneq (,$(filter os2 cocoa qt android gonk,$(MOZ_WIDGET_TOOLKIT)))
DIRS += $(MOZ_WIDGET_TOOLKIT)
endif
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
DIRS += windows
endif
ifdef ENABLE_TESTS
TOOL_DIRS += tests
endif
#
# Don't build the DSO under the 'build' directory as windows does.
#
# The DSOs get built in the toolkit dir itself. Do this so that
# multiple implementations of widget can be built on the same
# source tree.
#
ifdef MOZ_ENABLE_GTK2
DIRS += gtk2
ifdef MOZ_X11
DIRS += gtkxtbin
endif
endif
EXPORTS_NAMESPACES = IPC
EXPORTS_IPC = \
nsGUIEventIPC.h \
$(NULL)
EXPORTS_NAMESPACES += mozilla
EXPORTS_mozilla = \
LookAndFeel.h \
$(NULL)
ifdef MOZ_INSTRUMENT_EVENT_LOOP
EXPORTS_mozilla += \
WidgetTraceEvent.h \
$(NULL)
endif
EXPORTS = \
nsIWidget.h \
nsGUIEvent.h \
nsEvent.h \
nsNativeWidget.h \
nsWidgetInitData.h \
nsWidgetsCID.h \
nsIPluginWidget.h \
nsINativeKeyBindings.h \
nsIDeviceContextSpec.h \
nsIRollupListener.h \
$(NULL)
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
EXPORTS += \
nsINativeMenuService.h \
nsIPrintDialogService.h \
$(NULL)
endif
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
EXPORTS += nsIDragSessionOS2.h
endif
ifneq (,$(filter android gonk,$(MOZ_WIDGET_TOOLKIT)))
EXPORTS += \
nsIPrintDialogService.h \
$(NULL)
endif
ifneq (,$(filter qt gtk2,$(MOZ_WIDGET_TOOLKIT)))
EXPORTS += \
nsIDragSessionGTK.h \
nsIPrintDialogService.h \
$(NULL)
endif
XPIDLSRCS = \
nsIAppShell.idl \
nsIFilePicker.idl \
nsISound.idl \
nsITransferable.idl \
nsIClipboardDragDropHooks.idl \
nsIClipboardDragDropHookList.idl \
nsIDragSession.idl \
nsIDragService.idl \
nsIFormatConverter.idl \
nsIClipboard.idl \
nsIClipboardHelper.idl \
nsIClipboardOwner.idl \
nsIBaseWindow.idl \
nsIBidiKeyboard.idl \
nsIScreen.idl \
nsIScreenManager.idl \
nsIPrintSession.idl \
nsIPrintSettings.idl \
nsIPrintSettingsService.idl \
nsIPrintOptions.idl \
nsIIdleService.idl \
nsIGfxInfo.idl \
nsIGfxInfoDebug.idl \
nsIIMEPicker.idl \
$(NULL)
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
XPIDLSRCS += nsIPrintSettingsWin.idl \
nsIWinTaskbar.idl \
nsITaskbarPreview.idl \
nsITaskbarTabPreview.idl \
nsITaskbarWindowPreview.idl \
nsITaskbarPreviewController.idl \
nsITaskbarPreviewButton.idl \
nsITaskbarProgress.idl \
nsITaskbarPreviewButton.idl \
nsITaskbarOverlayIconController.idl \
nsIJumpListBuilder.idl \
nsIJumpListItem.idl \
$(NULL)
endif
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
XPIDLSRCS += nsIMacDockSupport.idl \
nsIStandaloneNativeMenu.idl \
$(NULL)
endif
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
XPIDLSRCS += nsIRwsService.idl
endif
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/rules.mk