Reserve standard class properties in global objects (bug 561923 part 1, r=brendan).
[mozilla-central.git] / js / jsd / Makefile.in
blobfb2500a49f15db2d2e1119a7864c1cc86c529ff8
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 = jsd32$(VERSION_NUMBER)
53 endif
55 # REQUIRES = java js
58 EXTRA_DSO_LDOPTS += \
59 $(MOZ_COMPONENT_LIBS) \
60 $(MOZ_JS_LIBS) \
61 $(NULL)
62 EXPORTS = jsdebug.h
64 ifdef JS_THREADSAFE
65 DEFINES += -DJS_THREADSAFE
66 endif
68 CSRCS = \
69 jsdebug.c \
70 jsd_atom.c \
71 jsd_high.c \
72 jsd_hook.c \
73 jsd_lock.c \
74 jsd_obj.c \
75 jsd_scpt.c \
76 jsd_stak.c \
77 jsd_step.c \
78 jsd_text.c \
79 jsd_val.c \
80 $(NULL)
82 ifdef JSD_STANDALONE
83 DIRS += jsdb
84 else
85 DIRS += idl
86 CPPSRCS = jsd_xpc.cpp
87 IS_COMPONENT = 1
88 LIBXUL_LIBRARY = 1
90 ifdef MOZ_ENABLE_LIBXUL
91 FORCE_SHARED_LIB=
92 MODULE_NAME = JavaScript_Debugger
93 EXPORT_LIBRARY = 1
94 endif
95 endif
97 ifdef ENABLE_TESTS
98 TOOL_DIRS += test
99 endif
101 include $(topsrcdir)/config/rules.mk
103 DEFINES += -DEXPORT_JSD_API