2003-03-22 02:47:40 +00:00
|
|
|
#
|
2004-04-17 21:52:36 +00:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
2003-03-22 02:47:40 +00:00
|
|
|
#
|
2004-04-17 21:52:36 +00:00
|
|
|
# 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.
|
2003-03-22 02:47:40 +00:00
|
|
|
#
|
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
2004-04-17 21:52:36 +00:00
|
|
|
# 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):
|
|
|
|
# John Gaunt (jgaunt@netscape.com)
|
2003-03-22 02:47:40 +00:00
|
|
|
#
|
2004-04-17 21:52:36 +00:00
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either of 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.
|
2003-03-22 02:47:40 +00:00
|
|
|
#
|
2004-04-17 21:52:36 +00:00
|
|
|
# ***** END LICENSE BLOCK *****
|
2003-03-22 02:47:40 +00:00
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
2003-04-15 08:45:55 +00:00
|
|
|
srcdir = @srcdir@
|
2003-03-22 02:47:40 +00:00
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = accessibility
|
|
|
|
LIBRARY_NAME = accessibility
|
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
ifneq ($(OS_ARCH),WINNT)
|
|
|
|
SHORT_LIBNAME = access
|
|
|
|
endif
|
|
|
|
IS_COMPONENT = 1
|
|
|
|
MODULE_NAME = nsAccessibilityModule
|
|
|
|
GRE_MODULE = 1
|
2004-12-15 04:07:01 +00:00
|
|
|
LIBXUL_LIBRARY = 1
|
2003-03-22 02:47:40 +00:00
|
|
|
|
2004-01-07 13:37:00 +00:00
|
|
|
PACKAGE_FILE = accessibility.pkg
|
|
|
|
|
2003-07-13 22:29:00 +00:00
|
|
|
REQUIRES = xpcom \
|
|
|
|
$(NULL)
|
2003-03-22 02:47:40 +00:00
|
|
|
|
|
|
|
CPPSRCS = nsAccessibilityFactory.cpp
|
|
|
|
|
|
|
|
LOCAL_INCLUDES = -I$(srcdir)/../src
|
|
|
|
|
|
|
|
SHARED_LIBRARY_LIBS = \
|
2006-02-14 15:57:04 +00:00
|
|
|
../src/base/$(LIB_PREFIX)accessibility_base_s.$(LIB_SUFFIX) \
|
|
|
|
../src/html/$(LIB_PREFIX)accessibility_html_s.$(LIB_SUFFIX) \
|
|
|
|
../src/$(LIB_PREFIX)accessibility_toolkit_s.$(LIB_SUFFIX) \
|
2003-04-15 08:45:55 +00:00
|
|
|
$(NULL)
|
2003-03-22 02:47:40 +00:00
|
|
|
|
|
|
|
ifdef MOZ_XUL
|
2006-02-14 15:57:04 +00:00
|
|
|
SHARED_LIBRARY_LIBS += ../src/xul/$(LIB_PREFIX)accessibility_xul_s.$(LIB_SUFFIX)
|
2003-03-22 02:47:40 +00:00
|
|
|
endif
|
|
|
|
|
2006-08-24 21:14:44 +00:00
|
|
|
ifndef DISABLE_XFORMS_HOOKS
|
|
|
|
SHARED_LIBRARY_LIBS += ../src/xforms/$(LIB_PREFIX)accessibility_xforms_s.$(LIB_SUFFIX)
|
|
|
|
endif
|
|
|
|
|
2003-03-22 02:47:40 +00:00
|
|
|
EXTRA_DSO_LIBS = \
|
2003-04-15 08:45:55 +00:00
|
|
|
gkgfx \
|
|
|
|
$(NULL)
|
2003-03-22 02:47:40 +00:00
|
|
|
|
|
|
|
EXTRA_DSO_LDOPTS = \
|
2003-04-15 08:45:55 +00:00
|
|
|
$(LIBS_DIR) \
|
|
|
|
$(EXTRA_DSO_LIBS) \
|
2005-06-24 22:30:55 +00:00
|
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
2003-04-15 08:45:55 +00:00
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
|
|
$(NULL)
|
2003-03-22 02:47:40 +00:00
|
|
|
|
2003-04-23 05:28:41 +00:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
|
|
|
|
EXTRA_DSO_LDOPTS += $(MOZ_GTK2_LIBS)
|
|
|
|
endif
|
2003-03-22 02:47:40 +00:00
|
|
|
|
2006-09-11 15:46:01 +00:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
|
|
|
EXTRA_DSO_LDOPTS += -framework Cocoa
|
|
|
|
endif
|
|
|
|
|
2007-01-20 12:43:08 +00:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
OS_LIBS += oleaut32.lib
|
|
|
|
endif
|
|
|
|
|
2003-04-23 05:28:41 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2003-03-22 02:47:40 +00:00
|
|
|
|