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.
|
|
|
|
|
|
|
|
IGNORE_MANIFEST = 1
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
# New build system where zip dll is build indepenant of java stubs.
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
MODULE = netlib
|
1998-12-16 08:40:20 +03:00
|
|
|
EXPORTS = nsINetService.h \
|
1998-09-19 11:08:47 +04:00
|
|
|
nsINetSupport.h \
|
1998-07-15 22:44:26 +04:00
|
|
|
nsIRelatedLinks.h \
|
1998-12-16 08:40:20 +03:00
|
|
|
nsINetlibURL.h \
|
1998-10-02 01:36:57 +04:00
|
|
|
nsIURLGroup.h \
|
1999-01-28 04:54:04 +03:00
|
|
|
nsIUnicharStreamLoader.h \
|
1998-12-16 08:40:20 +03:00
|
|
|
nsIConnectionInfo.h \
|
|
|
|
nsIRefreshUrl.h \
|
1998-12-16 09:06:51 +03:00
|
|
|
nsIProtocol.h \
|
1998-12-16 08:40:20 +03:00
|
|
|
nsIProtocolURLFactory.h \
|
1999-01-28 04:54:04 +03:00
|
|
|
nsSocketTransport.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
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
1998-12-01 07:46:24 +03:00
|
|
|
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, ...)
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
1999-03-06 02:24:48 +03:00
|
|
|
DLLNAME=netlib
|
1998-05-23 03:38:40 +04:00
|
|
|
MAPFILE=netlib.map
|
|
|
|
DEFFILE=net.def
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Define the files necessary to build the target (ie. OBJS)
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
OBJS= \
|
|
|
|
.\$(OBJDIR)\nsNetService.obj \
|
1998-09-19 11:08:47 +04:00
|
|
|
.\$(OBJDIR)\nsNetThread.obj \
|
1998-05-23 03:38:40 +04:00
|
|
|
.\$(OBJDIR)\nsNetStream.obj \
|
1998-12-18 04:34:30 +03:00
|
|
|
.\$(OBJDIR)\nsNetStreamLoader.obj \
|
1998-05-23 03:38:40 +04:00
|
|
|
.\$(OBJDIR)\nsHttpUrl.obj \
|
|
|
|
.\$(OBJDIR)\nsStubContext.obj \
|
|
|
|
.\$(OBJDIR)\nsNetStubs.obj \
|
1998-09-19 11:08:47 +04:00
|
|
|
.\$(OBJDIR)\nsNetIDs.obj \
|
1998-09-10 04:32:40 +04:00
|
|
|
.\$(OBJDIR)\nsNetFile.obj \
|
1998-09-16 04:35:32 +04:00
|
|
|
.\$(OBJDIR)\nsLoadAttribs.obj \
|
1998-09-17 04:55:35 +04:00
|
|
|
.\$(OBJDIR)\nsNetFactory.obj \
|
1998-12-16 08:40:20 +03:00
|
|
|
.\$(OBJDIR)\nsHttpURLFactory.obj \
|
1999-01-28 04:54:04 +03:00
|
|
|
.\$(OBJDIR)\nsSocketTransport.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)
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
1999-03-06 02:24:48 +03:00
|
|
|
DLL=.\$(OBJDIR)\$(DLLNAME).dll
|
1998-05-23 03:38:40 +04:00
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Define any local options for the make tools
|
|
|
|
#// (ie. LCFLAGS, LLFLAGS, LLIBS, LINCS)
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
1998-11-22 12:30:00 +03:00
|
|
|
#LCFLAGS=-DNETSCAPE -D_IMPL_NS_NET -DNO_NETWORK_POLLING
|
|
|
|
LCFLAGS=-DNETSCAPE -D_IMPL_NS_NET
|
1998-11-08 12:04:54 +03:00
|
|
|
|
1998-05-27 05:24:05 +04:00
|
|
|
|
|
|
|
NETLIBS=\
|
1999-01-28 04:54:04 +03: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-21 02:09:25 +03:00
|
|
|
!ifdef NU_CACHE
|
1999-01-28 04:54:04 +03:00
|
|
|
$(DIST)\lib\cache.lib \
|
1998-11-21 02:09:25 +03:00
|
|
|
!endif
|
1999-01-28 04:54:04 +03:00
|
|
|
$(DIST)\lib\netcache.lib \
|
|
|
|
$(DIST)\lib\netcnvts.lib \
|
|
|
|
$(DIST)\lib\mimetype.lib \
|
|
|
|
$(DIST)\lib\network.lib \
|
|
|
|
$(NULL)
|
1998-05-27 05:24:05 +04:00
|
|
|
|
|
|
|
LLIBS=$(LLIBS) $(LIBNSPR) \
|
1999-01-28 04:54:04 +03:00
|
|
|
$(DIST)\lib\secfreenav32.lib \
|
|
|
|
$(DIST)\lib\libpwcac.lib \
|
1999-03-18 00:32:03 +03:00
|
|
|
$(DIST)\lib\plc3.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 \
|
1999-01-28 04:54:04 +03:00
|
|
|
$(DIST)\lib\xplib.lib \
|
1999-04-28 04:40:56 +04:00
|
|
|
$(DIST)\lib\zlib.lib \
|
1998-05-23 03:38:40 +04:00
|
|
|
$(DIST)\lib\raptorbase.lib \
|
1999-01-28 04:54:04 +03:00
|
|
|
$(DIST)\lib\dbm32.lib \
|
|
|
|
$(NETLIBS) \
|
|
|
|
$(NULL)
|
1998-05-23 03:38:40 +04:00
|
|
|
|
|
|
|
LINCS=$(LINCS) -I. \
|
1998-12-16 08:40:20 +03:00
|
|
|
-I..\public \
|
1998-05-23 03:38:40 +04:00
|
|
|
-I$(PUBLIC)\raptor \
|
|
|
|
-I$(PUBLIC)\security \
|
|
|
|
-I$(PUBLIC)\pref \
|
|
|
|
-I$(PUBLIC)\js \
|
|
|
|
-I$(PUBLIC)\xpcom \
|
1999-01-28 04:54:04 +03:00
|
|
|
-I$(PUBLIC)\httpurl \
|
1998-11-21 02:09:25 +03:00
|
|
|
!ifdef NU_CACHE
|
1999-01-28 04:54:04 +03:00
|
|
|
-I$(PUBLIC)\cache \
|
1998-11-21 02:09:25 +03:00
|
|
|
!endif
|
1999-01-28 04:54:04 +03: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 23:05:52 +04:00
|
|
|
-I$(PUBLIC)\chrome \
|
1998-05-23 03:38:40 +04: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 05:24:05 +04:00
|
|
|
$(DLL): $(NETLIBS)
|
|
|
|
|
1998-05-23 03:38:40 +04:00
|
|
|
libs:: $(DLL)
|
1999-03-06 02:24:48 +03:00
|
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
|
1998-05-23 03:38:40 +04:00
|
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\netlib.lib $(DIST)\lib
|
1998-07-22 00:27:59 +04: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-23 03:38:40 +04:00
|
|
|
|