Bug 460926 A11y hierachy is broken on Ubuntu 8.10 (GNOME 2.24), r=Evan.Yan sr=roc
[wine-gecko.git] / js / jsd / Makefile.in
blob0c6d1f96dee07a20126f53f588bf7de1869ade83
1 #!gmake
3 # ***** BEGIN LICENSE BLOCK *****
4 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
6 # The contents of this file are subject to the Mozilla Public License Version
7 # 1.1 (the "License"); you may not use this file except in compliance with
8 # the License. You may obtain a copy of the License at
9 # http://www.mozilla.org/MPL/
11 # Software distributed under the License is distributed on an "AS IS" basis,
12 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 # for the specific language governing rights and limitations under the
14 # License.
16 # The Original Code is mozilla.org code.
18 # The Initial Developer of the Original Code is
19 # Netscape Communications Corporation.
20 # Portions created by the Initial Developer are Copyright (C) 1998
21 # the Initial Developer. All Rights Reserved.
23 # Contributor(s):
25 # Alternatively, the contents of this file may be used under the terms of
26 # either the GNU General Public License Version 2 or later (the "GPL"), or
27 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 # in which case the provisions of the GPL or the LGPL are applicable instead
29 # of those above. If you wish to allow use of your version of this file only
30 # under the terms of either the GPL or the LGPL, and not to allow others to
31 # use your version of this file under the terms of the MPL, indicate your
32 # decision by deleting the provisions above and replace them with the notice
33 # and other provisions required by the GPL or the LGPL. If you do not delete
34 # the provisions above, a recipient may use your version of this file under
35 # the terms of any one of the MPL, the GPL or the LGPL.
37 # ***** END LICENSE BLOCK *****
41 DEPTH = ../..
42 topsrcdir = @top_srcdir@
43 VPATH = @srcdir@
44 srcdir = @srcdir@
46 include $(DEPTH)/config/autoconf.mk
48 MODULE = jsdebug
49 LIBRARY_NAME = jsd
50 FORCE_SHARED_LIB= 1
51 ifeq ($(OS_ARCH)$(MOZ_ENABLE_LIBXUL),WINNT)
52 LIBRARY_NAME = jsd$(MOZ_BITS)$(VERSION_NUMBER)
53 endif
55 # REQUIRES = java js
56 REQUIRES = js
58 ifndef JSD_STANDALONE
59 REQUIRES += \
60 string \
61 xpcom \
62 xpconnect \
63 widget \
64 dom \
65 $(NULL)
66 endif
68 EXTRA_DSO_LDOPTS += \
69 $(MOZ_COMPONENT_LIBS) \
70 $(MOZ_JS_LIBS) \
71 $(NULL)
72 EXPORTS = jsdebug.h
74 ifdef JS_THREADSAFE
75 DEFINES += -DJS_THREADSAFE
76 endif
78 CSRCS = \
79 jsdebug.c \
80 jsd_atom.c \
81 jsd_high.c \
82 jsd_hook.c \
83 jsd_lock.c \
84 jsd_obj.c \
85 jsd_scpt.c \
86 jsd_stak.c \
87 jsd_step.c \
88 jsd_text.c \
89 jsd_val.c \
90 $(NULL)
92 ifdef JSD_STANDALONE
93 DIRS += jsdb
94 else
95 DIRS += idl
96 CPPSRCS = jsd_xpc.cpp
97 IS_COMPONENT = 1
98 LIBXUL_LIBRARY = 1
100 ifdef MOZ_ENABLE_LIBXUL
101 FORCE_SHARED_LIB=
102 MODULE_NAME = JavaScript_Debugger
103 EXPORT_LIBRARY = 1
104 endif
105 endif
107 include $(topsrcdir)/config/rules.mk
109 DEFINES += -DEXPORT_JSD_API