1999-04-25 19:25:24 +00:00
|
|
|
#
|
1999-11-06 03:40:37 +00:00
|
|
|
# The contents of this file are subject to the Netscape 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/NPL/
|
1999-04-25 19:25:24 +00:00
|
|
|
#
|
1999-11-06 03:40:37 +00:00
|
|
|
# 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.
|
1999-04-25 19:25:24 +00:00
|
|
|
#
|
1999-11-06 03:40:37 +00:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1999-04-25 19:25:24 +00:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 03:40:37 +00:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1999-07-27 23:27:44 +00:00
|
|
|
#
|
1999-04-25 19:25:24 +00:00
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2000-11-20 07:16:06 +00:00
|
|
|
MODULE = test_necko
|
2001-09-18 13:41:47 +00:00
|
|
|
REQUIRES = xpcom \
|
|
|
|
string \
|
|
|
|
necko \
|
|
|
|
nkcache \
|
|
|
|
timer \
|
|
|
|
cookie \
|
|
|
|
dbm \
|
|
|
|
util \
|
|
|
|
$(NULL)
|
1999-07-27 23:27:44 +00:00
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
TestSocketIO.cpp \
|
|
|
|
TestSocketInput.cpp \
|
|
|
|
TestSocketTransport.cpp \
|
|
|
|
TestFileInput.cpp \
|
2001-02-21 20:38:08 +00:00
|
|
|
TestFileTransport.cpp \
|
1999-07-27 23:27:44 +00:00
|
|
|
TestProtocols.cpp \
|
2001-12-14 23:49:04 +00:00
|
|
|
TestHttp.cpp \
|
1999-07-27 23:27:44 +00:00
|
|
|
urltest.cpp \
|
|
|
|
TestFileInput2.cpp \
|
2000-04-20 23:26:41 +00:00
|
|
|
TestCallbacks.cpp \
|
2001-01-23 22:10:34 +00:00
|
|
|
TestDBMAccess.cpp \
|
2001-02-28 04:06:06 +00:00
|
|
|
TestMCTransport.cpp \
|
2001-07-06 08:07:43 +00:00
|
|
|
TestPageLoad.cpp \
|
2001-10-05 07:50:21 +00:00
|
|
|
TestIDN.cpp \
|
2001-12-14 23:49:04 +00:00
|
|
|
TestURLParser.cpp \
|
|
|
|
TestStandardURL.cpp \
|
|
|
|
TestPerf.cpp \
|
2001-02-28 04:06:06 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2000-05-11 14:15:34 +00:00
|
|
|
SIMPLE_PROGRAMS = $(CPPSRCS:.cpp=$(BIN_SUFFIX))
|
1999-07-27 23:27:44 +00:00
|
|
|
|
1999-12-21 04:14:14 +00:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
|
1999-07-27 23:27:44 +00:00
|
|
|
LIBS = \
|
2001-12-14 23:49:04 +00:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)mozdbm_s.$(LIB_SUFFIX) \
|
2000-05-11 14:15:34 +00:00
|
|
|
$(MOZ_JS_LIBS) \
|
2000-04-04 04:46:38 +00:00
|
|
|
$(XPCOM_LIBS) \
|
1999-07-27 23:27:44 +00:00
|
|
|
$(NSPR_LIBS) \
|
|
|
|
$(NULL)
|
1999-04-25 19:25:24 +00:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
1999-07-27 23:27:44 +00:00
|
|
|
|
|
|
|
DEFINES += -DUSE_NSREG
|
|
|
|
|
2001-12-14 23:49:04 +00:00
|
|
|
_RES_FILES = \
|
|
|
|
urlparse.dat \
|
|
|
|
urlparse_unx.dat \
|
|
|
|
jarlist.dat \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libs:: $(_RES_FILES)
|
|
|
|
$(INSTALL) $^ $(DIST)/bin/res
|