Bug 468916 - make modifyLogin() smarter than just remove+add. r=zpao, r=gavin
[wine-gecko.git] / config / js / Makefile.in
blob1fe9dc45b076896a2834ecef2372415a4881e0d2
2 # ***** BEGIN LICENSE BLOCK *****
3 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
8 # http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # The Original Code is mozilla.org code. This file was copied from parts of
16 # mozilla/config/Makefile.in
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):
24 # Robert Ginda <rginda@netscape.com>
25 # John Taylor <jtaylor@netscape.com>
26 # Benjamin Smedberg <benjamin@smedbergs.us>
28 # Alternatively, the contents of this file may be used under the terms of
29 # either of the GNU General Public License Version 2 or later (the "GPL"),
30 # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
31 # in which case the provisions of the GPL or the LGPL are applicable instead
32 # of those above. If you wish to allow use of your version of this file only
33 # under the terms of either the GPL or the LGPL, and not to allow others to
34 # use your version of this file under the terms of the MPL, indicate your
35 # decision by deleting the provisions above and replace them with the notice
36 # and other provisions required by the GPL or the LGPL. If you do not delete
37 # the provisions above, a recipient may use your version of this file under
38 # the terms of any one of the MPL, the GPL or the LGPL.
40 # ***** END LICENSE BLOCK *****
42 DEPTH = ../..
43 topsrcdir = @top_srcdir@
44 srcdir = @srcdir@
45 VPATH = @srcdir@
47 include $(DEPTH)/config/autoconf.mk
49 JS_OBJDIR = $(DEPTH)/js/src
50 JS_CONFIG = $(DIST)/bin/js-config
52 include $(topsrcdir)/config/rules.mk
54 # These rules assume that we configured js with an appropriate bindir,
55 # libdir, and includedir, so that the 'make install' will put things
56 # mostly in the right places. The install-runtime-libs target takes
57 # care of getting the needed libraries into the 'bin' directory as
58 # well as the 'lib' directory. Setting JS_MOZ_INSTALL= ensures that
59 # we get symlinks (the proper in-tree build behavior), not copies (the
60 # default GNU behavior).
61 export::
62 $(MAKE) -C $(JS_OBJDIR) JS_MOZ_INSTALL=t install
63 $(MAKE) -C $(JS_OBJDIR) JS_MOZ_INSTALL=t install-runtime-libs libdir=$(DIST)/bin
64 $(INSTALL) $(IFLAGS2) $(JS_CONFIG) $(SDK_BIN_DIR)
66 check::
67 $(MAKE) -C $(JS_OBJDIR) $@