зеркало из https://github.com/mozilla/pjs.git
96 строки
2.5 KiB
Plaintext
96 строки
2.5 KiB
Plaintext
#!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.
|
|
|
|
|
|
#
|
|
|
|
#------------------------------------------------------------------------
|
|
#
|
|
# 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 \
|
|
$(DIST)\lib\xpcom.lib \
|
|
!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, ...)
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
DLLNAME=nsgif
|
|
DLL1NAME=nsgif
|
|
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
|
|
CPPSRCS= nsGIFModule.cpp nsGIFDecoder.cpp dllcompat.cpp gif.cpp
|
|
CPP_OBJS= .\$(OBJDIR)\nsGIFModule.obj .\$(OBJDIR)\nsGIFDecoder.obj \
|
|
.\$(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
|
|
|