1999-04-20 01:16:24 +04:00
|
|
|
#!gmake
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
1999-09-01 05:24:51 +04:00
|
|
|
|
1999-04-20 01:16:24 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
#------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile to build the IMGLIB LIB
|
|
|
|
#
|
|
|
|
#------------------------------------------------------------------------
|
|
|
|
|
|
|
|
!ifdef MOZ_JAVA
|
|
|
|
LOCAL_JMC_SUBDIR = .
|
|
|
|
!endif
|
|
|
|
|
|
|
|
|
|
|
|
LIBRARY_NAME = nsgif
|
|
|
|
|
|
|
|
#
|
|
|
|
# Make sure we have MOZILLA_CLIENT defined so we get the
|
|
|
|
# proper JS includes
|
|
|
|
#
|
|
|
|
LCFLAGS = $(LCFLAGS) -DMOZILLA_CLIENT
|
|
|
|
|
|
|
|
!ifdef BUILD_DEBUG_GC
|
|
|
|
LCFLAGS = $(LCFLAGS) -DDEBUG_GC
|
|
|
|
!endif
|
|
|
|
|
|
|
|
LCFLAGS = $(LCFLAGS) /TP
|
|
|
|
|
|
|
|
LLIBS= $(LIBNSPR) \
|
|
|
|
$(DIST)\lib\util.lib \
|
1999-05-26 05:38:36 +04:00
|
|
|
$(DIST)\lib\xpcom.lib \
|
1999-04-20 01:16:24 +04:00
|
|
|
!ifdef NU_CACHE
|
|
|
|
$(DIST)\lib\cache.lib \
|
|
|
|
!endif
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LIBRARY= .\$(OBJDIR)\$(LIBNAME).lib
|
|
|
|
LIBRARY_SUFFIX = $(MOZ_BITS)$(VERSION_NUMBER)
|
|
|
|
|
|
|
|
MAKE_OBJ_TYPE=DLL
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
1999-09-01 05:07:16 +04:00
|
|
|
DLLNAME=nsgif
|
|
|
|
DLL1NAME=nsgif
|
1999-04-20 01:16:24 +04:00
|
|
|
PDBFILE=$(DLLNAME).pdb
|
|
|
|
MAPFILE=$(DLLNAME).map
|
|
|
|
DEFFILE=nsgif.def
|
|
|
|
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
|
|
|
|
#// (these must be defined before the common makefiles are included)
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
DLL=.\$(OBJDIR)\$(DLLNAME).dll
|
|
|
|
MAPFILE= $(DLLNAME).map
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MODULE=img
|
|
|
|
DEPTH=..\..\..
|
|
|
|
|
|
|
|
LINCS=-I$(DEPTH)/dist/public/xpcom -I. -I$(DEPTH)/dist/public/raptor
|
|
|
|
REQUIRES=nspr xpcom util raptor
|
1999-08-14 05:45:36 +04:00
|
|
|
CPPSRCS= nsGIFModule.cpp nsGIFDecoder.cpp dllcompat.cpp gif.cpp
|
|
|
|
CPP_OBJS= .\$(OBJDIR)\nsGIFModule.obj .\$(OBJDIR)\nsGIFDecoder.obj \
|
1999-04-20 01:16:24 +04:00
|
|
|
.\$(OBJDIR)\dllcompat.obj .\$(OBJDIR)\gif.obj
|
|
|
|
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
|
|
|
|
install:: $(DLL)
|
|
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin\components
|
|
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
|
|
|
|
|