1998-10-28 06:53:57 +03:00
|
|
|
#
|
2004-04-18 18:30:37 +04:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
1998-10-28 06:53:57 +03:00
|
|
|
#
|
2004-04-18 18:30:37 +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.
|
1998-10-28 06:53:57 +03:00
|
|
|
#
|
1999-11-06 06:40:37 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
2004-04-18 18:30:37 +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):
|
1999-11-06 06:40:37 +03:00
|
|
|
#
|
2004-04-18 18:30:37 +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.
|
1999-07-28 03:27:44 +04:00
|
|
|
#
|
2004-04-18 18:30:37 +04:00
|
|
|
# ***** END LICENSE BLOCK *****
|
1998-10-28 06:53:57 +03:00
|
|
|
|
1999-07-28 03:27:44 +04:00
|
|
|
DEPTH = ../../..
|
1998-10-28 06:53:57 +03:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2007-07-16 09:55:51 +04:00
|
|
|
relativesrcdir = layout/base/tests
|
1998-10-28 06:53:57 +03:00
|
|
|
|
2005-04-05 16:36:03 +04:00
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2007-07-16 09:55:51 +04:00
|
|
|
ifeq (0,1) # false, since TestSpaceManager is broken
|
|
|
|
|
2005-04-05 16:36:03 +04:00
|
|
|
MOZILLA_INTERNAL_API = 1
|
|
|
|
|
2001-10-25 05:08:40 +04:00
|
|
|
REQUIRES = xpcom \
|
|
|
|
gfx \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
TestSpaceManager.cpp \
|
|
|
|
$(NULL)
|
1999-02-02 06:31:44 +03:00
|
|
|
|
2001-10-25 05:08:40 +04:00
|
|
|
SIMPLE_PROGRAMS = $(CPPSRCS:.cpp=$(BIN_SUFFIX))
|
1999-02-02 06:31:44 +03:00
|
|
|
|
2001-10-25 05:08:40 +04:00
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I$(srcdir)/../src \
|
|
|
|
$(NULL)
|
1998-10-28 06:53:57 +03:00
|
|
|
|
2001-12-18 14:58:12 +03:00
|
|
|
EXTRA_DSO_LIBS = gkbase_s gkgfx
|
2001-10-25 20:36:33 +04:00
|
|
|
|
1999-07-28 03:27:44 +04:00
|
|
|
LIBS += \
|
2001-12-18 12:14:29 +03:00
|
|
|
$(LIBS_DIR) \
|
|
|
|
$(EXTRA_DSO_LIBS) \
|
2002-08-06 08:17:50 +04:00
|
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
2001-10-25 05:08:40 +04:00
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
|
|
$(MOZ_JS_LIBS) \
|
|
|
|
$(TK_LIBS) \
|
|
|
|
$(NULL)
|
1999-02-02 06:31:44 +03:00
|
|
|
|
2007-07-16 09:55:51 +04:00
|
|
|
endif # false
|
|
|
|
|
1999-08-21 19:41:53 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
1999-09-14 05:02:20 +04:00
|
|
|
|
2004-01-08 01:30:53 +03:00
|
|
|
DEFINES += -D_IMPL_NS_LAYOUT
|
2007-07-16 09:55:51 +04:00
|
|
|
|
|
|
|
ifdef MOZ_MOCHITEST
|
|
|
|
|
|
|
|
_TEST_FILES = \
|
|
|
|
test_bug66619.html \
|
|
|
|
test_bug388019.html \
|
2007-11-11 22:52:33 +03:00
|
|
|
test_bug399284.html \
|
2007-11-11 22:35:23 +03:00
|
|
|
test_bug399951.html \
|
2007-07-16 09:55:51 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libs:: $(_TEST_FILES)
|
2007-08-06 07:22:32 +04:00
|
|
|
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
|
2007-07-16 09:55:51 +04:00
|
|
|
|
|
|
|
endif # MOZ_MOCHITEST
|