1999-06-23 10:16:28 +04:00
|
|
|
#!nmake
|
1999-03-09 05:13:56 +03:00
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Netscape Public License
|
|
|
|
# Version 1.0 (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 Communicator client code,
|
|
|
|
# released March 31, 1998.
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
# Contributors:
|
|
|
|
# Daniel Veditz <dveditz@netscape.com>
|
1999-03-22 09:10:59 +03:00
|
|
|
|
1999-09-01 05:24:51 +04:00
|
|
|
|
1999-03-09 05:13:56 +03:00
|
|
|
|
1999-04-28 04:34:30 +04:00
|
|
|
DIRS=standalone
|
|
|
|
|
1999-03-09 05:13:56 +03:00
|
|
|
MODULE=jar
|
|
|
|
DEPTH=..\..
|
1999-03-22 09:10:59 +03:00
|
|
|
|
1999-03-09 05:13:56 +03:00
|
|
|
MAKE_OBJ_TYPE=DLL
|
1999-03-22 09:10:59 +03:00
|
|
|
|
1999-03-09 05:13:56 +03:00
|
|
|
DLLNAME=jar$(VERSION_NUMBER)
|
1999-03-22 09:10:59 +03:00
|
|
|
|
1999-06-02 01:08:32 +04:00
|
|
|
DLL=$(OBJDIR)\$(DLLNAME).dll
|
1999-04-28 04:34:30 +04:00
|
|
|
MAPFILE=$(DLLNAME).map
|
1999-03-09 05:13:56 +03:00
|
|
|
|
1999-06-23 10:16:28 +04:00
|
|
|
XPIDLSRCS=.\nsIZip.idl \
|
|
|
|
.\nsIJAR.idl \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXPORTS=zipfile.h
|
1999-03-09 05:13:56 +03:00
|
|
|
|
1999-06-02 01:08:32 +04:00
|
|
|
OBJS=.\$(OBJDIR)\nsZipArchive.obj \
|
1999-06-02 20:51:39 +04:00
|
|
|
.\$(OBJDIR)\nsJAR.obj \
|
1999-06-10 02:51:13 +04:00
|
|
|
.\$(OBJDIR)\nsJARFactory.obj
|
1999-03-09 05:13:56 +03:00
|
|
|
|
1999-06-02 01:08:32 +04:00
|
|
|
LINCS= \
|
|
|
|
-I$(XPDIST)\public\nspr \
|
|
|
|
-I$(XPDIST)\public\raptor \
|
|
|
|
-I$(XPDIST)\public\xpcom \
|
|
|
|
-I$(XPDIST)\public\zlib \
|
1999-04-28 04:34:30 +04:00
|
|
|
-I$(XPDIST)\public\network \
|
1999-06-02 01:08:32 +04:00
|
|
|
-I$(XPDIST)\public\libjar \
|
1999-03-22 09:10:59 +03:00
|
|
|
$(NULL)
|
1999-03-09 05:13:56 +03:00
|
|
|
|
1999-04-28 04:34:30 +04:00
|
|
|
LLIBS= \
|
1999-06-02 01:22:27 +04:00
|
|
|
$(LIBNSPR) \
|
1999-04-28 04:34:30 +04:00
|
|
|
$(DIST)\lib\zlib.lib \
|
|
|
|
$(DIST)\lib\xplib.lib \
|
1999-06-02 01:08:32 +04:00
|
|
|
$(DIST)\lib\xpcom.lib \
|
1999-03-22 09:10:59 +03:00
|
|
|
$(NULL)
|
1999-03-09 05:13:56 +03:00
|
|
|
|
|
|
|
include <$(DEPTH)/config/rules.mak>
|
|
|
|
|
|
|
|
install:: $(DLL)
|
1999-06-23 10:16:28 +04:00
|
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin\components
|
1999-03-09 05:13:56 +03:00
|
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
|
|
|
|
|
|
|
|
clobber::
|
1999-03-22 09:10:59 +03:00
|
|
|
$(RM) $(OBJS)
|
1999-06-23 10:16:28 +04:00
|
|
|
$(RM) $(DIST)\bin\components\$(DLLNAME).dll
|
1999-03-09 05:13:56 +03:00
|
|
|
$(RM) $(DIST)\lib\$(DLLNAME).lib
|
|
|
|
|