pjs/netwerk/build/makefile.win

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

#!gmake
#
# 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/
#
# 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.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH=..\..
include <$(DEPTH)/config/config.mak>
MODULE=necko
MAKE_OBJ_TYPE=DLL
DLLNAME=necko
DLL=.\$(OBJDIR)\$(DLLNAME).dll
LCFLAGS = -DWIN32_LEAN_AND_MEAN -D_IMPL_NS_NET
EXPORTS = \
nsNetCID.h \
$(NULL)
CPP_OBJS= \
1999-10-01 01:22:48 +04:00
.\$(OBJDIR)\nsNetModule.obj \
$(NULL)
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 \
!ifdef MOZ_OLD_CACHE
$(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 \
!endif
$(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 \
$(LIBNSPR)
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 \
!ifdef MOZ_OLD_CACHE
-I$(DEPTH)\netwerk\cache\memcache \
-I$(DEPTH)\netwerk\cache\filecache \
2001-04-17 17:26:03 +04:00
-I$(DEPTH)\netwerk\cache\mgr \
!endif
-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 \
$(NULL)
include <$(DEPTH)\config\rules.mak>
install:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin\components
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
clobber::
$(RM) $(DIST)\bin\components\$(DLLNAME).dll
$(RM) $(DIST)\lib\$(DLLNAME).lib