1998-08-19 20:42:14 +00:00
|
|
|
#!gmake
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Netscape Public License
|
|
|
|
# Version 1.0 (the "NPL"); you may not use this file except in
|
|
|
|
# compliance with the NPL. You may obtain a copy of the NPL at
|
|
|
|
# http://www.mozilla.org/NPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# NPL.
|
|
|
|
#
|
|
|
|
# The Initial Developer of this code under the NPL is Netscape
|
|
|
|
# Communications Corporation. Portions created by Netscape are
|
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
|
|
|
# Reserved.
|
|
|
|
|
1999-03-23 04:26:03 +00:00
|
|
|
DEPTH = ../..
|
1998-08-19 20:42:14 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
1999-03-23 04:26:03 +00:00
|
|
|
MODULE = netlib
|
1999-01-31 10:06:38 +00:00
|
|
|
LIBRARY_NAME = netlib
|
1998-08-19 20:42:14 +00:00
|
|
|
|
1999-03-23 04:26:03 +00:00
|
|
|
CPPSRCS = \
|
|
|
|
nsNetService.cpp \
|
|
|
|
nsNetThread.cpp \
|
|
|
|
nsNetStream.cpp \
|
|
|
|
nsNetStreamLoader.cpp \
|
|
|
|
nsHttpUrl.cpp \
|
|
|
|
nsStubContext.cpp \
|
|
|
|
nsNetStubs.cpp \
|
|
|
|
nsNetFile.cpp \
|
|
|
|
nsNetIDs.cpp \
|
|
|
|
nsLoadAttribs.cpp \
|
|
|
|
nsNetFactory.cpp \
|
|
|
|
nsHttpURLFactory.cpp \
|
|
|
|
nsSocketTransport.cpp \
|
|
|
|
$(NULL)
|
1998-08-19 20:42:14 +00:00
|
|
|
|
1999-03-23 04:26:03 +00:00
|
|
|
EXPORTS = \
|
|
|
|
nsINetService.h \
|
|
|
|
nsINetSupport.h \
|
|
|
|
nsIRelatedLinks.h \
|
|
|
|
nsIRefreshUrl.h \
|
|
|
|
nsIConnectionInfo.h \
|
|
|
|
nsIURLGroup.h \
|
|
|
|
nsINetlibURL.h \
|
|
|
|
nsIProtocol.h \
|
|
|
|
nsIProtocolURLFactory.h \
|
|
|
|
nsIUnicharStreamLoader.h \
|
|
|
|
nsSocketTransport.h \
|
|
|
|
$(NULL)
|
1998-08-19 20:42:14 +00:00
|
|
|
|
1999-01-22 11:05:00 +00:00
|
|
|
ifdef ENABLE_TESTS
|
1999-03-23 04:26:03 +00:00
|
|
|
DIRS += tests
|
1999-01-22 11:05:00 +00:00
|
|
|
endif
|
|
|
|
|
1999-03-23 04:26:03 +00:00
|
|
|
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
|
1998-08-19 20:42:14 +00:00
|
|
|
|
1999-03-23 04:26:03 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
1998-08-19 20:42:14 +00:00
|
|
|
|
1999-03-23 04:26:03 +00:00
|
|
|
IMAGES = \
|
|
|
|
$(srcdir)/res/gopher-audio.gif \
|
|
|
|
$(srcdir)/res/gopher-binary.gif \
|
|
|
|
$(srcdir)/res/gopher-find.gif \
|
|
|
|
$(srcdir)/res/gopher-image.gif \
|
|
|
|
$(srcdir)/res/gopher-menu.gif \
|
|
|
|
$(srcdir)/res/gopher-movie.gif \
|
|
|
|
$(srcdir)/res/gopher-telnet.gif \
|
|
|
|
$(srcdir)/res/gopher-text.gif \
|
|
|
|
$(srcdir)/res/gopher-unknown.gif \
|
|
|
|
$(NULL)
|
1998-12-18 02:55:23 +00:00
|
|
|
|
1999-03-23 04:26:03 +00:00
|
|
|
GARBAGE += $(wildcard $(DIST)/bin/res/network/gopher-*.gif)
|
1998-08-19 20:42:14 +00:00
|
|
|
|
|
|
|
install::
|
1999-03-23 04:26:03 +00:00
|
|
|
$(INSTALL) $(IMAGES) $(DIST)/bin/res/network
|
1998-08-19 20:42:14 +00:00
|
|
|
|