1999-11-06 02:47:15 +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/
|
1998-05-22 23:38:40 +00:00
|
|
|
#
|
1999-11-06 02:47:15 +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.
|
1998-05-22 23:38:40 +00:00
|
|
|
#
|
1999-11-06 02:47:15 +00:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1998-05-22 23:38:40 +00:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 02:47:15 +00:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1998-05-22 23:38:40 +00:00
|
|
|
|
|
|
|
IGNORE_MANIFEST = 1
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
# New build system where zip dll is build indepenant of java stubs.
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
MODULE = netlib
|
1998-12-16 05:40:20 +00:00
|
|
|
EXPORTS = nsINetService.h \
|
1998-09-19 07:08:47 +00:00
|
|
|
nsINetSupport.h \
|
1998-07-15 18:44:26 +00:00
|
|
|
nsIRelatedLinks.h \
|
1998-12-16 05:40:20 +00:00
|
|
|
nsINetlibURL.h \
|
1998-10-01 21:36:57 +00:00
|
|
|
nsIURLGroup.h \
|
1999-01-28 01:54:04 +00:00
|
|
|
nsIUnicharStreamLoader.h \
|
1998-12-16 05:40:20 +00:00
|
|
|
nsIConnectionInfo.h \
|
|
|
|
nsIRefreshUrl.h \
|
1998-12-16 06:06:51 +00:00
|
|
|
nsIProtocol.h \
|
1998-12-16 05:40:20 +00:00
|
|
|
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
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
1998-12-01 04:46:24 +00:00
|
|
|
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, ...)
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
1999-03-05 23:24:48 +00:00
|
|
|
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 \
|
1998-09-19 07:08:47 +00:00
|
|
|
.\$(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 \
|
1998-09-19 07:08:47 +00:00
|
|
|
.\$(OBJDIR)\nsNetIDs.obj \
|
1998-09-10 00:32:40 +00:00
|
|
|
.\$(OBJDIR)\nsNetFile.obj \
|
1998-09-16 00:35:32 +00:00
|
|
|
.\$(OBJDIR)\nsLoadAttribs.obj \
|
1998-09-17 00:55:35 +00:00
|
|
|
.\$(OBJDIR)\nsNetFactory.obj \
|
1998-12-16 05:40:20 +00:00
|
|
|
.\$(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)
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
1999-03-05 23:24:48 +00:00
|
|
|
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)
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
1998-11-22 09:30:00 +00:00
|
|
|
#LCFLAGS=-DNETSCAPE -D_IMPL_NS_NET -DNO_NETWORK_POLLING
|
|
|
|
LCFLAGS=-DNETSCAPE -D_IMPL_NS_NET
|
1998-11-08 09:04:54 +00:00
|
|
|
|
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. \
|
1998-12-16 05:40:20 +00:00
|
|
|
-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 \
|
1999-04-02 19:05:52 +00:00
|
|
|
-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)
|
|
|
|
|
1999-11-28 03:05:01 +00:00
|
|
|
install:: $(DLL)
|
1999-03-05 23:24:48 +00:00
|
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
|
1998-05-22 23:38:40 +00:00
|
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\netlib.lib $(DIST)\lib
|
1998-07-21 20:27:59 +00:00
|
|
|
$(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
|
|
|
|