mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 07:39:25 +02:00
* Moved makefile options to jconfig.inc
This commit is contained in:
parent
46d241a666
commit
59a791ced2
@ -208,7 +208,6 @@ override PACKAGE_VERSION=1.9.2
|
||||
override TARGET_UNITS+=jmorecfg jpeglib jdeferr jerror jcomapi jinclude rdcolmap cdjpeg jdapimin jmemmgr jutils jmemnobs jdmarker jdinput jdapistd jdmaster jdcolor jdsample jdpostct jddctmgr jdct jidctfst jidctint jidctflt jidctred jdphuff jdhuff jdcoefct jdmainct jquant2 jquant1 jdmerge jdatasrc wrbmp wrppm wrtarga
|
||||
override TARGET_EXAMPLES+=cjpeg demo djpeg jpegtran rdjpgcom
|
||||
override INSTALL_FPCPACKAGE=y
|
||||
override COMPILER_OPTIONS+=-Sdg
|
||||
ifdef REQUIRE_UNITSDIR
|
||||
override UNITSDIR+=$(REQUIRE_UNITSDIR)
|
||||
endif
|
||||
|
@ -6,9 +6,6 @@
|
||||
name=pasjpeg
|
||||
version=1.9.2
|
||||
|
||||
[compiler]
|
||||
options=-Sdg
|
||||
|
||||
[target]
|
||||
units=jmorecfg jpeglib jdeferr jerror jcomapi jinclude rdcolmap cdjpeg \
|
||||
jdapimin jmemmgr jutils jmemnobs jdmarker jdinput jdapistd jdmaster \
|
||||
|
@ -8,6 +8,8 @@ Unit JcCoefCt;
|
||||
|
||||
interface
|
||||
|
||||
{$I jconfig.inc}
|
||||
|
||||
uses
|
||||
jmorecfg,
|
||||
jinclude,
|
||||
@ -16,7 +18,6 @@ uses
|
||||
jutils,
|
||||
jpeglib;
|
||||
|
||||
{$I jconfig.inc}
|
||||
|
||||
{ We use a full-image coefficient buffer when doing Huffman optimization,
|
||||
and also for writing multiple-scan JPEG files. In all cases, the DCT
|
||||
|
@ -9,6 +9,8 @@ Unit JcMaster;
|
||||
|
||||
interface
|
||||
|
||||
{$I jconfig.inc}
|
||||
|
||||
uses
|
||||
jmorecfg,
|
||||
jinclude,
|
||||
@ -17,7 +19,6 @@ uses
|
||||
jutils,
|
||||
jpeglib;
|
||||
|
||||
{$I jconfig.inc}
|
||||
|
||||
{ Initialize master compression control. }
|
||||
|
||||
|
@ -108,3 +108,8 @@
|
||||
{$undef RGB_RED_IS_0} { BGR byte order in JQUANT2 }
|
||||
{$endif}
|
||||
{$endif}
|
||||
|
||||
{$IFDEF FPC}
|
||||
{$MODE DELPHI}
|
||||
{$GOTO ON}
|
||||
{$ENDIF}
|
@ -10,6 +10,7 @@ Unit JcpHuff;
|
||||
|
||||
interface
|
||||
|
||||
{$I jconfig.inc}
|
||||
uses
|
||||
jmorecfg,
|
||||
jinclude,
|
||||
@ -20,7 +21,6 @@ uses
|
||||
jcomapi,
|
||||
jchuff; { Declarations shared with jchuff.c }
|
||||
|
||||
{$I jconfig.inc}
|
||||
|
||||
{ Module initialization routine for progressive Huffman entropy encoding. }
|
||||
|
||||
|
@ -9,6 +9,7 @@ Unit JDCoefCt;
|
||||
Also, the input side (only) is used when reading a file for transcoding. }
|
||||
|
||||
{ Original: jdcoefct.c ; Copyright (C) 1994-1997, Thomas G. Lane. }
|
||||
{$I jconfig.inc}
|
||||
|
||||
interface
|
||||
|
||||
@ -20,7 +21,6 @@ uses
|
||||
jutils,
|
||||
jpeglib;
|
||||
|
||||
{$I jconfig.inc}
|
||||
|
||||
{GLOBAL}
|
||||
procedure jinit_d_coef_controller (cinfo : j_decompress_ptr;
|
||||
|
@ -12,6 +12,8 @@ Unit JdPostCt;
|
||||
An integrated upsample/convert/quantize process would replace this module
|
||||
entirely. }
|
||||
|
||||
{$I jconfig.inc}
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
@ -22,7 +24,6 @@ uses
|
||||
jutils,
|
||||
jpeglib;
|
||||
|
||||
{$I jconfig.inc}
|
||||
|
||||
{ Initialize postprocessing controller. }
|
||||
|
||||
|
@ -9,6 +9,7 @@ Unit Jerror;
|
||||
|
||||
{ Source: jerror.c; Copyright (C) 1991-1996, Thomas G. Lane. }
|
||||
{ note: format_message still contains a hack }
|
||||
{$i jconfig.inc}
|
||||
interface
|
||||
|
||||
uses
|
||||
|
@ -8,10 +8,11 @@ Unit JQuant1;
|
||||
|
||||
interface
|
||||
|
||||
{$I jconfig.inc}
|
||||
|
||||
uses
|
||||
jpeglib;
|
||||
|
||||
{$I jconfig.inc}
|
||||
|
||||
{GLOBAL}
|
||||
procedure jinit_1pass_quantizer (cinfo : j_decompress_ptr);
|
||||
|
Loading…
Reference in New Issue
Block a user