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
|
|
|
|
|
1999-07-27 23:27:44 +00:00
|
|
|
REQUIRES = libreg xpcom
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
TestSocketIO.cpp \
|
|
|
|
TestSocketInput.cpp \
|
|
|
|
TestSocketTransport.cpp \
|
|
|
|
TestFileInput.cpp \
|
|
|
|
TestProtocols.cpp \
|
|
|
|
urltest.cpp \
|
|
|
|
TestFileInput2.cpp \
|
1999-11-24 06:30:51 +00:00
|
|
|
TestRes.cpp \
|
2000-04-20 23:26:41 +00:00
|
|
|
TestCallbacks.cpp \
|
1999-07-27 23:27:44 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
SIMPLE_PROGRAMS = $(CPPSRCS:.cpp=)
|
|
|
|
|
1999-12-21 04:14:14 +00:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
|
|
|
|
ifeq ($(OS_ARCH)$(OS_TEST),NetBSDarm32)
|
|
|
|
NO_LD_ARCHIVE_FLAGS := 1
|
|
|
|
endif
|
|
|
|
|
1999-07-29 22:47:42 +00:00
|
|
|
ifdef NO_LD_ARCHIVE_FLAGS
|
1999-12-21 04:14:14 +00:00
|
|
|
LOST_SYM_LIBS = -lxpcomds_s -lxpcomio_s -lxptinfo -lmozreg_s
|
1999-07-29 22:47:42 +00:00
|
|
|
endif
|
|
|
|
|
1999-07-27 23:27:44 +00:00
|
|
|
LIBS = \
|
2000-04-04 04:46:38 +00:00
|
|
|
$(XPCOM_LIBS) \
|
1999-07-29 22:47:42 +00:00
|
|
|
$(LOST_SYM_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
|
|
|
|
|