gecko-dev/network/module/makefile.win

177 lines
6.3 KiB
Plaintext
Raw Normal View History

1998-05-22 23:38:40 +00: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.
IGNORE_MANIFEST = 1
#//------------------------------------------------------------------------
#//
# New build system where zip dll is build indepenant of java stubs.
#//
#//------------------------------------------------------------------------
MODULE = netlib
EXPORTS = nsINetService.h \
nsINetSupport.h \
nsIRelatedLinks.h \
nsINetlibURL.h \
1998-10-01 21:36:57 +00:00
nsIURLGroup.h \
1999-01-28 01:54:04 +00:00
nsIUnicharStreamLoader.h \
nsIConnectionInfo.h \
nsIRefreshUrl.h \
1998-12-16 06:06:51 +00:00
nsIProtocol.h \
nsIProtocolURLFactory.h \
1999-01-28 01:54:04 +00:00
nsSocketTransport.h \
1998-05-22 23:38:40 +00:00
$(NULL)
1998-06-02 18:39:17 +00:00
DIRS = tests
1998-05-22 23:38:40 +00:00
#//------------------------------------------------------------------------
#//
#// Specify the depth of the current directory relative to the
#// root of NS
#//
#//------------------------------------------------------------------------
DEPTH= ..\..
include <$(DEPTH)/config/config.mak>
1998-05-22 23:38:40 +00:00
MAKE_OBJ_TYPE=DLL
#//------------------------------------------------------------------------
#//
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
#//
#//------------------------------------------------------------------------
DLLNAME=netlib
1998-05-22 23:38:40 +00:00
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-22 23:38:40 +00:00
.\$(OBJDIR)\nsNetStream.obj \
1998-12-18 01:34:30 +00:00
.\$(OBJDIR)\nsNetStreamLoader.obj \
1998-05-22 23:38:40 +00:00
.\$(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 00:35:32 +00:00
.\$(OBJDIR)\nsLoadAttribs.obj \
.\$(OBJDIR)\nsNetFactory.obj \
.\$(OBJDIR)\nsHttpURLFactory.obj \
1999-01-28 01:54:04 +00:00
.\$(OBJDIR)\nsSocketTransport.obj \
1998-05-22 23:38:40 +00:00
$(NULL)
#//------------------------------------------------------------------------
#//
#// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
#// (these must be defined before the common makefiles are included)
#//
#//------------------------------------------------------------------------
DLL=.\$(OBJDIR)\$(DLLNAME).dll
1998-05-22 23:38:40 +00:00
#//------------------------------------------------------------------------
#//
#// 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 01:24:05 +00:00
NETLIBS=\
1999-01-28 01:54:04 +00:00
$(DIST)\lib\abouturl.lib \
$(DIST)\lib\fileurl.lib \
$(DIST)\lib\ftpurl.lib \
$(DIST)\lib\gophurl.lib \
$(DIST)\lib\httpurl.lib \
$(DIST)\lib\sockstub.lib \
$(DIST)\lib\remoturl.lib \
1998-11-20 23:09:25 +00:00
!ifdef NU_CACHE
1999-01-28 01:54:04 +00:00
$(DIST)\lib\cache.lib \
1998-11-20 23:09:25 +00:00
!endif
1999-01-28 01:54:04 +00:00
$(DIST)\lib\netcache.lib \
$(DIST)\lib\netcnvts.lib \
$(DIST)\lib\mimetype.lib \
$(DIST)\lib\network.lib \
$(NULL)
1998-05-27 01:24:05 +00:00
LLIBS=$(LLIBS) $(LIBNSPR) \
1999-01-28 01:54:04 +00:00
$(DIST)\lib\secfreenav32.lib \
$(DIST)\lib\libpwcac.lib \
1998-08-05 01:33:36 +00:00
$(DIST)\lib\js32$(VERSION_NUMBER).lib \
1998-05-27 01:24:05 +00:00
$(DIST)\lib\xppref32.lib \
1999-05-26 01:38:36 +00:00
$(DIST)\lib\xpcom.lib \
1999-01-28 01:54:04 +00:00
$(DIST)\lib\xplib.lib \
1999-04-28 00:40:56 +00:00
$(DIST)\lib\zlib.lib \
1999-01-28 01:54:04 +00:00
$(DIST)\lib\dbm32.lib \
$(NETLIBS) \
$(NULL)
1998-05-22 23:38:40 +00:00
LINCS=$(LINCS) -I. \
-I..\public \
1998-05-22 23:38:40 +00:00
-I$(PUBLIC)\raptor \
-I$(PUBLIC)\security \
-I$(PUBLIC)\pref \
-I$(PUBLIC)\js \
-I$(PUBLIC)\xpcom \
1999-01-28 01:54:04 +00:00
-I$(PUBLIC)\httpurl \
1998-11-20 23:09:25 +00:00
!ifdef NU_CACHE
1999-01-28 01:54:04 +00:00
-I$(PUBLIC)\cache \
1998-11-20 23:09:25 +00:00
!endif
1999-01-28 01:54:04 +00: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)\sockstub \
-I$(PUBLIC)\remoturl \
-I$(PUBLIC)\netlib \
-I$(PUBLIC)\chrome \
1998-05-22 23:38:40 +00:00
$(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 01:24:05 +00:00
$(DLL): $(NETLIBS)
1998-05-22 23:38:40 +00:00
libs:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
1998-05-22 23:38:40 +00:00
$(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-22 23:38:40 +00:00