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