1998-03-28 05:44:41 +03:00
|
|
|
#!gmake
|
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# 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/
|
1998-03-28 05:44:41 +03:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# 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.
|
1998-03-28 05:44:41 +03:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1998-03-28 05:44:41 +03:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:43:54 +03:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1998-03-28 05:44:41 +03:00
|
|
|
|
|
|
|
#
|
|
|
|
|
1999-09-01 05:13:14 +04:00
|
|
|
|
1998-03-28 05:44:41 +03:00
|
|
|
|
|
|
|
MODULE = jpeg
|
|
|
|
EXPORTS = jconfig.h jerror.h jinclude.h jmorecfg.h jpeglib.h jpegint.h jwinfig.h
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Makefile to build SUN-JAVA/JPEG Library (NEW)
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Specify the depth of the current directory relative to the
|
|
|
|
#// root of NS
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
DEPTH= ..\
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
2001-06-21 00:21:49 +04:00
|
|
|
EXPORT_LIBRARY=1
|
|
|
|
LIBRARY_NAME=jpeg$(MOZ_BITS)$(VERSION_NUMBER)
|
|
|
|
PDBFILE=$(LIBRARY_NAME).pdb
|
|
|
|
MAPFILE=$(LIBRARY_NAME).map
|
1998-03-28 05:44:41 +03:00
|
|
|
!if "$(MOZ_BITS)" == "16"
|
2001-06-21 00:21:49 +04:00
|
|
|
DEFFILE=jpg$(MOZ_BIGS)$(VERSION_NUMBER).def
|
1998-03-28 05:44:41 +03:00
|
|
|
!endif
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Define any local options for the make tools
|
|
|
|
#// (ie. LCFLAGS, LLFLAGS, LLIBS, LINCS)
|
|
|
|
#// -Zi -GM needed to compile mmx functions in assembly.
|
|
|
|
LCFLAGS = -Zi -GM
|
2001-09-11 00:48:38 +04:00
|
|
|
LINCS = -I$(XPDIST)\include
|
1998-03-28 05:44:41 +03:00
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Define the files necessary to build the target (ie. OBJS)
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
JPEG_OBJS= .\$(OBJDIR)\jdapimin.obj \
|
|
|
|
.\$(OBJDIR)\jdapistd.obj \
|
|
|
|
.\$(OBJDIR)\jdatasrc.obj \
|
|
|
|
.\$(OBJDIR)\jdatadst.obj \
|
|
|
|
.\$(OBJDIR)\jdmaster.obj \
|
|
|
|
.\$(OBJDIR)\jdinput.obj \
|
|
|
|
.\$(OBJDIR)\jdmarker.obj \
|
|
|
|
.\$(OBJDIR)\jdhuff.obj \
|
|
|
|
.\$(OBJDIR)\jdphuff.obj \
|
|
|
|
.\$(OBJDIR)\jdmainct.obj \
|
|
|
|
.\$(OBJDIR)\jdcoefct.obj \
|
|
|
|
.\$(OBJDIR)\jdpostct.obj \
|
|
|
|
.\$(OBJDIR)\jddctmgr.obj \
|
|
|
|
.\$(OBJDIR)\jidctfst.obj \
|
|
|
|
.\$(OBJDIR)\jidctflt.obj \
|
|
|
|
.\$(OBJDIR)\jidctint.obj \
|
|
|
|
.\$(OBJDIR)\jdsample.obj \
|
|
|
|
.\$(OBJDIR)\jdcolor.obj \
|
|
|
|
.\$(OBJDIR)\jquant1.obj \
|
|
|
|
.\$(OBJDIR)\jquant2.obj \
|
|
|
|
.\$(OBJDIR)\jdmerge.obj \
|
|
|
|
.\$(OBJDIR)\jcomapi.obj \
|
|
|
|
.\$(OBJDIR)\jutils.obj \
|
|
|
|
.\$(OBJDIR)\jerror.obj \
|
|
|
|
.\$(OBJDIR)\jmemmgr.obj \
|
|
|
|
.\$(OBJDIR)\jmemnobs.obj \
|
|
|
|
.\$(OBJDIR)\jfdctflt.obj \
|
|
|
|
.\$(OBJDIR)\jfdctfst.obj \
|
|
|
|
.\$(OBJDIR)\jfdctint.obj \
|
2001-09-11 00:48:38 +04:00
|
|
|
.\$(OBJDIR)\jcapimin.obj \
|
|
|
|
.\$(OBJDIR)\jcparam.obj \
|
1998-03-28 05:44:41 +03:00
|
|
|
.\$(OBJDIR)\jcapistd.obj \
|
|
|
|
.\$(OBJDIR)\jcmarker.obj \
|
|
|
|
.\$(OBJDIR)\jcinit.obj \
|
|
|
|
.\$(OBJDIR)\jcmainct.obj \
|
|
|
|
.\$(OBJDIR)\jchuff.obj \
|
|
|
|
.\$(OBJDIR)\jcsample.obj \
|
|
|
|
.\$(OBJDIR)\jcmaster.obj \
|
|
|
|
.\$(OBJDIR)\jccoefct.obj \
|
|
|
|
.\$(OBJDIR)\jccolor.obj \
|
|
|
|
.\$(OBJDIR)\jcphuff.obj \
|
|
|
|
.\$(OBJDIR)\jcdctmgr.obj \
|
2001-09-11 00:48:38 +04:00
|
|
|
.\$(OBJDIR)\jcprepct.obj \
|
1998-03-28 05:44:41 +03:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OBJS= \
|
|
|
|
$(JPEG_OBJS) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
|
|
|
|
#// (these must be defined before the common makefiles are included)
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
MAPFILE= $(DLLNAME).map
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Include the common makefile rules
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
include <$(DEPTH)/config/rules.mak>
|