gecko-dev/netwerk/build/makefile.win
2000-05-06 09:15:56 +00:00

89 lines
3.0 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=..\..
MODULE=necko
MAKE_OBJ_TYPE=DLL
DLLNAME=necko
DLL=.\$(OBJDIR)\$(DLLNAME).dll
LCFLAGS = -DWIN32_LEAN_AND_MEAN -D_IMPL_NS_NET
CPP_OBJS= \
.\$(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 \
$(DIST)\lib\xpcom.lib \
$(DIST)\lib\nkcachemgr_s.lib \
$(DIST)\lib\nkfilecache_s.lib \
$(DIST)\lib\nkmemcache_s.lib \
$(DIST)\lib\dbm32.lib \
$(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 \
-I$(DEPTH)\netwerk\streamconv\converters \
-I$(DEPTH)\netwerk\cache\memcache \
-I$(DEPTH)\netwerk\cache\filecache \
-I$(DEPTH)\netwerk\cache\mgr \
-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