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-03-11 05:02:25 +03:00
|
|
|
REQUIRES = xpcom string necko nkcache timer cookie layout widget dom dbm
|
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 = \
|
2001-02-23 03:53:08 +03:00
|
|
|
TestOverlappedIO.cpp \
|
1999-07-28 03:27:44 +04:00
|
|
|
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 \
|
|
|
|
urltest.cpp \
|
|
|
|
TestFileInput2.cpp \
|
1999-11-24 09:30:51 +03:00
|
|
|
TestRes.cpp \
|
2000-04-21 03:26:41 +04:00
|
|
|
TestCallbacks.cpp \
|
2000-11-04 02:26:45 +03:00
|
|
|
TestSyncHTTP.cpp \
|
2001-01-24 01:10:34 +03:00
|
|
|
TestDBMAccess.cpp \
|
1999-07-28 03:27:44 +04:00
|
|
|
$(NULL)
|
|
|
|
|
2001-02-28 07:06:06 +03:00
|
|
|
ifdef MOZ_NEW_CACHE
|
|
|
|
CPPSRCS += \
|
|
|
|
TestMCTransport.cpp \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
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
|
|
|
|
|
|
|
|
ifeq ($(OS_ARCH)$(OS_TEST),NetBSDarm32)
|
|
|
|
NO_LD_ARCHIVE_FLAGS := 1
|
|
|
|
endif
|
|
|
|
|
1999-07-30 02:47:42 +04:00
|
|
|
ifdef NO_LD_ARCHIVE_FLAGS
|
1999-12-21 07:14:14 +03:00
|
|
|
LOST_SYM_LIBS = -lxpcomds_s -lxpcomio_s -lxptinfo -lmozreg_s
|
1999-07-30 02:47:42 +04:00
|
|
|
endif
|
|
|
|
|
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-30 02:47:42 +04:00
|
|
|
$(LOST_SYM_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
|
|
|
|
|