Files
harbour-core/src/3rd/jpeg/Makefile
Przemysław Czerpak 050666d2d9 2024-02-16 18:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbexpat/3rd/expat/expat.diff
  * contrib/hbexpat/3rd/expat/loadlibr.c
    ! use HB_WINAPI_GETPROCADDRESS() instead of GetProcAddress()
      in WinCE builds

  * contrib/hbhpdf/3rd/libhpdf/hpdfstre.c
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.diff
    ! include <windows.h> in WinCE builds, it's necessary for GetLastError()

  * src/3rd/jpeg/Makefile
    ! do not use getenv() in all WinCE builds

  * src/common/hbver.c
    * cast revision number to HB_ULONG to pacify warning

  * src/vm/extrap.c
    ! do not compile unused in WinCE builds hb_winExceptionHandler()

  * include/hbapi.h
    * added HB_EXPORT attribute to hb_macroTextValue() function

  * include/hbvm.h
  * src/vm/hvm.c
    + added C function:
         PHB_ITEM hb_vmCompileMacro( const char * szExpr, PHB_ITEM pDest );
      It returns Harbour item or NULL at error (wrong macro text).
      The result should be used with hb_vmEvalBlockOrMacro() and then freed
      by hb_vmDestroyBlockOrMacro(). It hides low level macro representation
      so we can change it in the future. Now it's still simple pointer item
      without autodestructor.

  * src/rdd/hsx/hsx.c
  * src/rdd/workarea.c
    * use hb_vmCompileMacro() instead of hb_macroCompile()

  * src/vm/runner.c
    * changed 6101 error message for "Unknown or unregistered symbol"
      to "Unknown or unregistered function symbol".
    * report above error when HRB module is loaded and its external function
      is not registered or not marked as DYNAMIC by earlier registered modules
      in HVM symbol table.
      Warning. This modification may exploit problems in code loading HRB files
      with cross references which has worked so far. In such case user should
      pass to hb_hrbLoad()/hb_hrbRun() as first parameters flags containing
      HB_HRB_BIND_LAZY or declare the problematic function in his main code
      as dynamic, i.e.:
         DYNAMIC <funcName>

  * src/rdd/dbf1.c
    * declare internal function hb_dbfTransCheckCounters() as static one

  * src/harbour.def
    ! added missing exported Harbour functions
2024-02-16 18:23:21 +01:00

182 lines
3.2 KiB
Makefile

ROOT := ../../../
include $(TOP)$(ROOT)config/global.mk
LIBNAME := jpeg
HB_BUILD_WARN := no
HB_BUILD_MODE := c
C_SOURCES := \
jaricom.c \
jcapimin.c \
jcapistd.c \
jcarith.c \
jccoefct.c \
jccolor.c \
jcdctmgr.c \
jcinit.c \
jcmainct.c \
jcmarker.c \
jcmaster.c \
jcomapi.c \
jcparam.c \
jcprepct.c \
jcsample.c \
jctrans.c \
jdapimin.c \
jdapistd.c \
jdarith.c \
jdatadst.c \
jdatasrc.c \
jdcoefct.c \
jdcolor.c \
jddctmgr.c \
jdhuff.c \
jdinput.c \
jdmainct.c \
jdmarker.c \
jdmaster.c \
jdmerge.c \
jdpostct.c \
jdsample.c \
jdtrans.c \
jerror.c \
jfdctflt.c \
jfdctfst.c \
jfdctint.c \
jidctflt.c \
jidctfst.c \
jidctint.c \
jmemmgr.c \
jmemnobs.c \
jquant1.c \
jquant2.c \
jutils.c \
rdbmp.c \
rdcolmap.c \
rdgif.c \
rdppm.c \
rdrle.c \
rdswitch.c \
rdtarga.c \
transupp.c \
wrbmp.c \
wrgif.c \
wrppm.c \
wrrle.c \
wrtarga.c \
# jmemansi.c \
# jmemdos.c \
# jmemname.c \
# jmemmac.c \
ifeq ($(filter $(HB_COMPILER),<>),)
_DET_DSP_NAME := jpeg
_DET_VAR_INC_ := HB_INC_JPEG
_DET_VAR_HAS_ := HB_HAS_JPEG
_DET_FLT_PLAT :=
_DET_FLT_COMP :=
_DET_INC_DEFP := /usr/include
_DET_INC_LOCL := src/3rd/jpeg
_DET_INC_HEAD := /jpeglib.h
include $(TOP)$(ROOT)config/detfun.mk
ifneq ($(HB_HAS_JPEG_LOCAL),)
ifeq ($(HB_PLATFORM),wce)
HB_CFLAGS += -DNO_GETENV
endif
include $(TOP)$(ROOT)config/lib.mk
else
HB_SKIP_REASON := unused
include $(TOP)$(ROOT)config/none.mk
endif
else
HB_SKIP_REASON := compiler not supported
include $(TOP)$(ROOT)config/none.mk
endif
# ORIGIN http://www.ijg.org/
# VER 9e
# URL http://ijg.org/files/jpegsrc.v9e.tar.gz
# DIFF jpeg.diff
#
# MAP README
# MAP cderror.h
# MAP cdjpeg.h
# MAP jaricom.c
# MAP jcapimin.c
# MAP jcapistd.c
# MAP jcarith.c
# MAP jccoefct.c
# MAP jccolor.c
# MAP jcdctmgr.c
# MAP jchuff.c
# MAP jcinit.c
# MAP jcmainct.c
# MAP jcmarker.c
# MAP jcmaster.c
# MAP jcomapi.c
# MAP jcparam.c
# MAP jcprepct.c
# MAP jcsample.c
# MAP jctrans.c
# MAP jdapimin.c
# MAP jdapistd.c
# MAP jdarith.c
# MAP jdatadst.c
# MAP jdatasrc.c
# MAP jdcoefct.c
# MAP jdcolor.c
# MAP jdct.h
# MAP jddctmgr.c
# MAP jdhuff.c
# MAP jdinput.c
# MAP jdmainct.c
# MAP jdmarker.c
# MAP jdmaster.c
# MAP jdmerge.c
# MAP jdpostct.c
# MAP jdsample.c
# MAP jdtrans.c
# MAP jerror.c
# MAP jerror.h
# MAP jfdctflt.c
# MAP jfdctfst.c
# MAP jfdctint.c
# MAP jidctflt.c
# MAP jidctfst.c
# MAP jidctint.c
# MAP jinclude.h
# MAP jmemansi.c
# MAP jmemdos.c
# MAP jmemmac.c
# MAP jmemmgr.c
# MAP jmemname.c
# MAP jmemnobs.c
# MAP jmemsys.h
# MAP jmorecfg.h
# MAP jpegint.h
# MAP jpeglib.h
# MAP jquant1.c
# MAP jquant2.c
# MAP jutils.c
# MAP jversion.h
# MAP rdbmp.c
# MAP rdcolmap.c
# MAP rdgif.c
# MAP rdppm.c
# MAP rdrle.c
# MAP rdswitch.c
# MAP rdtarga.c
# MAP transupp.c
# MAP transupp.h
# MAP wrbmp.c
# MAP wrgif.c
# MAP wrppm.c
# MAP wrrle.c
# MAP wrtarga.c