1999-03-31 23:53:46 +04:00
|
|
|
#!gmake
|
|
|
|
#
|
1999-11-06 06:40:37 +03: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/
|
1999-03-31 23:53:46 +04:00
|
|
|
#
|
1999-11-06 06:40:37 +03: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.
|
1999-03-31 23:53:46 +04:00
|
|
|
#
|
1999-11-06 06:40:37 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1999-03-31 23:53:46 +04:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:40:37 +03:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1999-03-31 23:53:46 +04:00
|
|
|
|
|
|
|
DEPTH=..\..
|
2001-03-23 06:08:59 +03:00
|
|
|
include <$(DEPTH)/config/config.mak>
|
|
|
|
|
1999-06-25 03:13:46 +04:00
|
|
|
MODULE=necko
|
1999-03-31 23:53:46 +04:00
|
|
|
|
|
|
|
MAKE_OBJ_TYPE=DLL
|
1999-06-25 03:13:46 +04:00
|
|
|
DLLNAME=necko
|
1999-03-31 23:53:46 +04:00
|
|
|
DLL=.\$(OBJDIR)\$(DLLNAME).dll
|
|
|
|
|
2000-01-07 07:13:26 +03:00
|
|
|
LCFLAGS = -DWIN32_LEAN_AND_MEAN -D_IMPL_NS_NET
|
|
|
|
|
2001-01-24 01:10:34 +03:00
|
|
|
EXPORTS = \
|
|
|
|
nsNetCID.h \
|
|
|
|
$(NULL)
|
|
|
|
|
1999-03-31 23:53:46 +04:00
|
|
|
CPP_OBJS= \
|
1999-10-01 01:22:48 +04:00
|
|
|
.\$(OBJDIR)\nsNetModule.obj \
|
1999-03-31 23:53:46 +04:00
|
|
|
$(NULL)
|
|
|
|
|
2000-05-06 13:15:56 +04:00
|
|
|
LLIBS= \
|
|
|
|
$(DIST)\lib\neckobase_s.lib \
|
|
|
|
$(DIST)\lib\neckodns_s.lib \
|
|
|
|
$(DIST)\lib\neckosocket_s.lib \
|
|
|
|
$(DIST)\lib\nkconv_s.lib \
|
|
|
|
$(DIST)\lib\nkcnvts_s.lib \
|
2001-04-17 17:26:03 +04:00
|
|
|
$(DIST)\lib\xpcom.lib \
|
2001-04-17 14:47:22 +04:00
|
|
|
!ifdef MOZ_OLD_CACHE
|
2000-05-06 13:15:56 +04:00
|
|
|
$(DIST)\lib\nkcachemgr_s.lib \
|
|
|
|
$(DIST)\lib\nkfilecache_s.lib \
|
|
|
|
$(DIST)\lib\nkmemcache_s.lib \
|
2001-04-17 17:26:03 +04:00
|
|
|
$(DIST)\lib\dbm32.lib \
|
2001-04-17 14:47:22 +04:00
|
|
|
!endif
|
2000-05-06 13:15:56 +04:00
|
|
|
$(DIST)\lib\nkmime_s.lib \
|
|
|
|
$(DIST)\lib\nkhttp_s.lib \
|
|
|
|
$(DIST)\lib\nkfile_s.lib \
|
|
|
|
$(DIST)\lib\nkdata_s.lib \
|
|
|
|
$(DIST)\lib\nkjar_s.lib \
|
|
|
|
$(DIST)\lib\nkres_s.lib \
|
|
|
|
$(DIST)\lib\nkabout_s.lib \
|
|
|
|
$(DIST)\lib\nkkwd_s.lib \
|
|
|
|
!ifdef MOZ_PERF
|
|
|
|
$(DIST)\lib\util.lib \
|
|
|
|
!endif
|
|
|
|
$(DIST)\lib\zlib.lib \
|
1999-03-31 23:53:46 +04:00
|
|
|
$(LIBNSPR)
|
|
|
|
|
2000-05-06 13:15:56 +04:00
|
|
|
INCS = $(INCS) \
|
|
|
|
-I$(DEPTH)\dist\include \
|
|
|
|
-I$(DEPTH)\netwerk\base\src \
|
|
|
|
-I$(DEPTH)\netwerk\dns\src \
|
|
|
|
-I$(DEPTH)\netwerk\socket\base \
|
|
|
|
-I$(DEPTH)\netwerk\streamconv\src \
|
2001-04-17 17:26:03 +04:00
|
|
|
-I$(DEPTH)\netwerk\streamconv\converters \
|
2001-04-17 14:47:22 +04:00
|
|
|
!ifdef MOZ_OLD_CACHE
|
2000-05-06 13:15:56 +04:00
|
|
|
-I$(DEPTH)\netwerk\cache\memcache \
|
|
|
|
-I$(DEPTH)\netwerk\cache\filecache \
|
2001-04-17 17:26:03 +04:00
|
|
|
-I$(DEPTH)\netwerk\cache\mgr \
|
2001-04-17 14:47:22 +04:00
|
|
|
!endif
|
2000-05-06 13:15:56 +04:00
|
|
|
-I$(DEPTH)\netwerk\mime\src \
|
|
|
|
-I$(DEPTH)\netwerk\protocol\http\src \
|
|
|
|
-I$(DEPTH)\netwerk\protocol\file\src \
|
|
|
|
-I$(DEPTH)\netwerk\protocol\data\src \
|
|
|
|
-I$(DEPTH)\netwerk\protocol\jar\src \
|
|
|
|
-I$(DEPTH)\netwerk\protocol\res\src \
|
|
|
|
-I$(DEPTH)\netwerk\protocol\about\src \
|
|
|
|
-I$(DEPTH)\netwerk\protocol\keyword\src \
|
1999-03-31 23:53:46 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
|
|
|
|
install:: $(DLL)
|
|
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin\components
|
|
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
|
|
|
|
|
2000-05-06 13:15:56 +04:00
|
|
|
clobber::
|
|
|
|
$(RM) $(DIST)\bin\components\$(DLLNAME).dll
|
|
|
|
$(RM) $(DIST)\lib\$(DLLNAME).lib
|