2003-03-22 05:47:40 +03:00
|
|
|
#
|
2004-04-18 01:52:36 +04:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
2003-03-22 05:47:40 +03:00
|
|
|
#
|
2004-04-18 01:52:36 +04: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 05:47:40 +03:00
|
|
|
#
|
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
2004-04-18 01:52:36 +04: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 05:47:40 +03:00
|
|
|
#
|
2004-04-18 01:52:36 +04: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 05:47:40 +03:00
|
|
|
#
|
2004-04-18 01:52:36 +04:00
|
|
|
# ***** END LICENSE BLOCK *****
|
2003-03-22 05:47:40 +03:00
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
2003-04-15 12:45:55 +04:00
|
|
|
srcdir = @srcdir@
|
2003-03-22 05:47:40 +03: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 07:07:01 +03:00
|
|
|
LIBXUL_LIBRARY = 1
|
2003-03-22 05:47:40 +03:00
|
|
|
|
2004-01-07 16:37:00 +03:00
|
|
|
PACKAGE_FILE = accessibility.pkg
|
|
|
|
|
2003-07-14 02:29:00 +04:00
|
|
|
REQUIRES = xpcom \
|
|
|
|
$(NULL)
|
2003-03-22 05:47:40 +03:00
|
|
|
|
|
|
|
CPPSRCS = nsAccessibilityFactory.cpp
|
|
|
|
|
|
|
|
LOCAL_INCLUDES = -I$(srcdir)/../src
|
|
|
|
|
|
|
|
SHARED_LIBRARY_LIBS = \
|
2006-02-14 18:57:04 +03: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 12:45:55 +04:00
|
|
|
$(NULL)
|
2003-03-22 05:47:40 +03:00
|
|
|
|
|
|
|
ifdef MOZ_XUL
|
2006-02-14 18:57:04 +03:00
|
|
|
SHARED_LIBRARY_LIBS += ../src/xul/$(LIB_PREFIX)accessibility_xul_s.$(LIB_SUFFIX)
|
2003-03-22 05:47:40 +03:00
|
|
|
endif
|
|
|
|
|
2006-08-25 01:14:44 +04:00
|
|
|
ifndef DISABLE_XFORMS_HOOKS
|
|
|
|
SHARED_LIBRARY_LIBS += ../src/xforms/$(LIB_PREFIX)accessibility_xforms_s.$(LIB_SUFFIX)
|
|
|
|
endif
|
|
|
|
|
2003-03-22 05:47:40 +03:00
|
|
|
EXTRA_DSO_LIBS = \
|
2003-04-15 12:45:55 +04:00
|
|
|
gkgfx \
|
|
|
|
$(NULL)
|
2003-03-22 05:47:40 +03:00
|
|
|
|
|
|
|
EXTRA_DSO_LDOPTS = \
|
2003-04-15 12:45:55 +04:00
|
|
|
$(LIBS_DIR) \
|
|
|
|
$(EXTRA_DSO_LIBS) \
|
2005-06-25 02:30:55 +04:00
|
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
2003-04-15 12:45:55 +04:00
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
|
|
$(NULL)
|
2003-03-22 05:47:40 +03:00
|
|
|
|
2003-04-23 09:28:41 +04:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
|
|
|
|
EXTRA_DSO_LDOPTS += $(MOZ_GTK2_LIBS)
|
|
|
|
endif
|
2003-03-22 05:47:40 +03:00
|
|
|
|
2006-09-11 19:46:01 +04:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
|
|
|
EXTRA_DSO_LDOPTS += -framework Cocoa
|
|
|
|
endif
|
|
|
|
|
2003-04-23 09:28:41 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2003-03-22 05:47:40 +03:00
|
|
|
|