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 \
|
|
|
|
timer \
|
|
|
|
cookie \
|
|
|
|
dbm \
|
|
|
|
util \
|
|
|
|
$(NULL)
|
1999-07-28 03:27:44 +04:00
|
|
|
|
2001-01-24 01:10:34 +03:00
|
|
|
SHARED_LIBRARY_LIBS = $(DIST)/lib/libmozdbm_s.$(LIB_SUFFIX)
|
|
|
|
|
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-05-12 01:04:09 +04: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-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
|
|
|
|
|
1999-07-28 03:27:44 +04:00
|
|
|
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) \
|
2001-01-24 01:10:34 +03:00
|
|
|
$(SHARED_LIBRARY_LIBS) \
|
1999-07-28 03:27:44 +04:00
|
|
|
$(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-09-12 12:01:12 +04:00
|
|
|
install:: $(TARGETS)
|
|
|
|
$(INSTALL) $(srcdir)/urlparse.dat $(DIST)/bin/res
|
|
|
|
$(INSTALL) $(srcdir)/urlparse_unx.dat $(DIST)/bin/res
|