pjs/network/module/makefile.win

176 строки
6.1 KiB
Plaintext
Исходник Обычный вид История

1998-05-23 03:38:40 +04:00
# 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.
NODEPEND=1
IGNORE_MANIFEST = 1
#//------------------------------------------------------------------------
#//
# New build system where zip dll is build indepenant of java stubs.
#//
#//------------------------------------------------------------------------
MODULE = netlib
EXPORTS = nsIStreamListener.h \
nsINetService.h \
nsINetSupport.h \
1998-05-23 03:38:40 +04:00
nsIURL.h \
nsIPostToServer.h \
nsIHttpUrl.h \
nsIRelatedLinks.h \
network/module/Makefile - 1. 310133 - Added nsIRefreshUrl.h to the list of exports. network/module/makefile.win - 1. 310133 - Added nsIRefreshUrl.h to the list of exports. network/module/nsIHttpUrl.h - 1. 310133 - Extended the nsIHttpUrl interface to include the AddMimeHeader() method which adds an http header to the url. network/module/nsHttpUrl.cpp - 310133 - 1. Added support for the AddMimeHeader() method so http urls can have headers added outside of the actual data retrieval in netlib. This method calls NET_ParseMimeHeader() directly. 2. Added a public member, a pointer to the netlib URL_Struct that was created for this nsHttpUrlImpl. This pointer is the link between netlib and the outside world; the adhesive agent between url structs and nsURLImpls. network/module/nsNetStream.h - 1. 310133 - Added a public memeber variable to nsConnectionInfo. It's a bool that tells us whether or not a redirect has occurred. network/module/nsNetStream.cpp - 1. 310133 - Added initialization (FALSE) of new redirect member. network/module/nsNetStubs.cpp - 1. 310133 - Implemented FE_SetRefreshURLTimer(). This function is called from NET_GetURL() when we recognize that we have a url to refresh. network/module/nsStubContext.cpp - 1. 310133 - Added check to see if we're redirecting in stub_complete() which gets called when a stream completes. If we are, we don't want to release/destroy the pConsumer, this will happen in nsNetService's bam_exit_routine(). network/module/nsNetService.cpp - 1. 310133 - added nsConnectionInfo->redirect check in bam_exit_routine() so we give the consumer a successful binding event if the consumer is still around. This is iffy.
1998-08-14 00:10:49 +04:00
nsIRefreshUrl.h \
nsIConnectionInfo.h \
nsINetFile.h \
? network/module/nsILoadAttribs.h New nsIloadAttribs interface that defines the load attributes that are will be associated with a url. ? network/module/nsLoadAttribs.cpp New nsIloadAttribs interface implementation. M network/main/mkconect.c Check for a new local ip address to use. If found PR_Bind() is called to bind the connecting socket to the new address. M network/main/mkgeturl.c Added logic to determine whether or not skip the proxy for the given url. M network/main/mktcp.h api change. Changed NET_BeginConnect() and NET_FinishConnect() function prototypes. M network/module/MANIFEST Added nsILoadAttribs.h to exports list M network/module/Makefile Added nsILoadAttribs.h to exports list and nsILoadAttribs.cpp to compile lists. M network/module/makefile.win Added nsILoadAttribs.h to exports list and nsILoadAttribs.cpp to compile lists. M network/module/nsIURL.h Added accessor methods to the url interface for nsILoadAttribs interface pointer. M network/module/nsNetService.h Added urlSetup method to class definition. M network/module/nsNetService.cpp Condensed url setup (from nsIURL properties to the actual url struct) into a helper routine. URL struct setup now transfers nsILoadAttributes over into the url struct. M network/module/nsURL.cpp Added nsILoadAttribs accessor method implementations to the url implementation. M network/protocol/ftp/mkftp.c api change. NET_*Connect(). M network/protocol/gopher/mkgopher.c api change. NET_*Connect(). M network/protocol/http/mkhttp.c api change. NET_*Connect(). M network/protocol/imap4/mkimap4.cpp api change. NET_*Connect(). M network/protocol/nntp/mknews.c api change. NET_*Connect(). M network/protocol/pop3/mkpop3.c api change. NET_*Connect(). M network/protocol/smtp/mksmtp.c api change. NET_*Connect().
1998-09-16 04:35:32 +04:00
nsILoadAttribs.h \
1998-10-02 01:36:57 +04:00
nsIURLGroup.h \
1998-05-23 03:38:40 +04:00
$(NULL)
1998-06-02 22:39:17 +04:00
DIRS = tests
1998-05-23 03:38:40 +04:00
#//------------------------------------------------------------------------
#//
#// Specify the depth of the current directory relative to the
#// root of NS
#//
#//------------------------------------------------------------------------
DEPTH= ..\..
include <$(DEPTH)/config/config.mak>
1998-05-23 03:38:40 +04:00
MAKE_OBJ_TYPE=DLL
#//------------------------------------------------------------------------
#//
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
#//
#//------------------------------------------------------------------------
DLLNAME=netlib.dll
PDBFILE=netlib.pdb
MAPFILE=netlib.map
DEFFILE=net.def
#//------------------------------------------------------------------------
#//
#// Define the files necessary to build the target (ie. OBJS)
#//
#//------------------------------------------------------------------------
OBJS= \
.\$(OBJDIR)\nsNetService.obj \
.\$(OBJDIR)\nsNetThread.obj \
1998-05-23 03:38:40 +04:00
.\$(OBJDIR)\nsNetStream.obj \
.\$(OBJDIR)\nsRelatedLinks.obj \
1998-05-23 03:38:40 +04:00
.\$(OBJDIR)\nsURL.obj \
.\$(OBJDIR)\nsHttpUrl.obj \
.\$(OBJDIR)\nsStubContext.obj \
.\$(OBJDIR)\nsNetStubs.obj \
.\$(OBJDIR)\nsNetIDs.obj \
.\$(OBJDIR)\nsNetFile.obj \
? network/module/nsILoadAttribs.h New nsIloadAttribs interface that defines the load attributes that are will be associated with a url. ? network/module/nsLoadAttribs.cpp New nsIloadAttribs interface implementation. M network/main/mkconect.c Check for a new local ip address to use. If found PR_Bind() is called to bind the connecting socket to the new address. M network/main/mkgeturl.c Added logic to determine whether or not skip the proxy for the given url. M network/main/mktcp.h api change. Changed NET_BeginConnect() and NET_FinishConnect() function prototypes. M network/module/MANIFEST Added nsILoadAttribs.h to exports list M network/module/Makefile Added nsILoadAttribs.h to exports list and nsILoadAttribs.cpp to compile lists. M network/module/makefile.win Added nsILoadAttribs.h to exports list and nsILoadAttribs.cpp to compile lists. M network/module/nsIURL.h Added accessor methods to the url interface for nsILoadAttribs interface pointer. M network/module/nsNetService.h Added urlSetup method to class definition. M network/module/nsNetService.cpp Condensed url setup (from nsIURL properties to the actual url struct) into a helper routine. URL struct setup now transfers nsILoadAttributes over into the url struct. M network/module/nsURL.cpp Added nsILoadAttribs accessor method implementations to the url implementation. M network/protocol/ftp/mkftp.c api change. NET_*Connect(). M network/protocol/gopher/mkgopher.c api change. NET_*Connect(). M network/protocol/http/mkhttp.c api change. NET_*Connect(). M network/protocol/imap4/mkimap4.cpp api change. NET_*Connect(). M network/protocol/nntp/mknews.c api change. NET_*Connect(). M network/protocol/pop3/mkpop3.c api change. NET_*Connect(). M network/protocol/smtp/mksmtp.c api change. NET_*Connect().
1998-09-16 04:35:32 +04:00
.\$(OBJDIR)\nsLoadAttribs.obj \
.\$(OBJDIR)\nsNetFactory.obj \
1998-05-23 03:38:40 +04:00
$(NULL)
#//------------------------------------------------------------------------
#//
#// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
#// (these must be defined before the common makefiles are included)
#//
#//------------------------------------------------------------------------
DLL=.\$(OBJDIR)\$(DLLNAME)
#//------------------------------------------------------------------------
#//
#// Define any local options for the make tools
#// (ie. LCFLAGS, LLFLAGS, LLIBS, LINCS)
#//
#//------------------------------------------------------------------------
#LCFLAGS=-DNETSCAPE -D_IMPL_NS_NET -DNO_NETWORK_POLLING
LCFLAGS=-DNETSCAPE -D_IMPL_NS_NET
1998-05-27 05:24:05 +04:00
NETLIBS=\
1998-05-23 03:38:40 +04:00
$(DIST)\lib\abouturl.lib \
$(DIST)\lib\fileurl.lib \
$(DIST)\lib\ftpurl.lib \
$(DIST)\lib\gophurl.lib \
$(DIST)\lib\httpurl.lib \
$(DIST)\lib\remoturl.lib \
1998-11-21 02:09:25 +03:00
!ifdef NU_CACHE
$(DIST)\lib\cache.lib \
!endif
1998-05-23 03:38:40 +04:00
$(DIST)\lib\netcache.lib \
$(DIST)\lib\netcnvts.lib \
$(DIST)\lib\mimetype.lib \
$(DIST)\lib\netutil.lib \
1998-05-23 03:38:40 +04:00
$(DIST)\lib\network.lib \
1998-05-27 05:24:05 +04:00
$(NULL)
LLIBS=$(LLIBS) $(LIBNSPR) \
$(DIST)\lib\secfreenav32.lib \
$(DIST)\lib\libpwcac.lib \
1998-05-27 05:24:05 +04:00
$(DIST)\lib\libplc21.lib \
1998-08-05 05:33:36 +04:00
$(DIST)\lib\js32$(VERSION_NUMBER).lib \
1998-05-27 05:24:05 +04:00
$(DIST)\lib\xppref32.lib \
$(DIST)\lib\xpcom32.lib \
$(DIST)\lib\xplib.lib \
1998-05-23 03:38:40 +04:00
$(DIST)\lib\raptorbase.lib \
$(DIST)\lib\dbm32.lib \
1998-05-27 05:24:05 +04:00
$(NETLIBS) \
1998-05-23 03:38:40 +04:00
$(NULL)
LINCS=$(LINCS) -I. \
-I$(PUBLIC)\raptor \
-I$(PUBLIC)\security \
-I$(PUBLIC)\pref \
-I$(PUBLIC)\js \
-I$(PUBLIC)\xpcom \
-I$(PUBLIC)\httpurl \
1998-11-21 02:09:25 +03:00
!ifdef NU_CACHE
-I$(PUBLIC)\cache \
!endif
1998-05-23 03:38:40 +04:00
-I$(PUBLIC)\netcache \
-I$(PUBLIC)\network \
-I$(PUBLIC)\netcnvts \
-I$(PUBLIC)\abouturl \
-I$(PUBLIC)\fileurl \
-I$(PUBLIC)\ftpurl \
-I$(PUBLIC)\gophurl \
-I$(PUBLIC)\httpurl \
-I$(PUBLIC)\remoturl \
$(NULL)
# clobber and clobber_all will remove the following garbage:
GARBAGE = $(GARBAGE) _gen
#//------------------------------------------------------------------------
#//
#// Include the common makefile rules
#//
#//------------------------------------------------------------------------
include <$(DEPTH)/config/rules.mak>
1998-05-27 05:24:05 +04:00
$(DLL): $(NETLIBS)
1998-05-23 03:38:40 +04:00
libs:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME) $(DIST)\bin
$(MAKE_INSTALL) .\$(OBJDIR)\netlib.lib $(DIST)\lib
$(MAKE_INSTALL) .\res\gopher-audio.gif $(DIST)\bin\res\network
$(MAKE_INSTALL) .\res\gopher-binary.gif $(DIST)\bin\res\network
$(MAKE_INSTALL) .\res\gopher-find.gif $(DIST)\bin\res\network
$(MAKE_INSTALL) .\res\gopher-image.gif $(DIST)\bin\res\network
$(MAKE_INSTALL) .\res\gopher-menu.gif $(DIST)\bin\res\network
$(MAKE_INSTALL) .\res\gopher-movie.gif $(DIST)\bin\res\network
$(MAKE_INSTALL) .\res\gopher-telnet.gif $(DIST)\bin\res\network
$(MAKE_INSTALL) .\res\gopher-text.gif $(DIST)\bin\res\network
$(MAKE_INSTALL) .\res\gopher-unknown.gif $(DIST)\bin\res\network
1998-05-23 03:38:40 +04:00