Files
harbour-core/harbour/external/zlib/Makefile
Viktor Szakats 43a954f54c 2010-06-11 00:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/zlib/Makefile
    + Added extra build option for mingw/cygwin compilers to
      suppress new warning:
         'warning: visibility attribute not supported in this configuration; ignored'

  * external/zlib/crc32.c
  * external/zlib/deflate.c
  * external/zlib/deflate.h
  * external/zlib/gzguts.h
  * external/zlib/gzlib.c
  * external/zlib/gzread.c
  * external/zlib/inffast.c
  * external/zlib/inffast.h
  * external/zlib/inftrees.c
  * external/zlib/inftrees.h
  * external/zlib/README
  * external/zlib/trees.c
  * external/zlib/trees.h
  * external/zlib/zconf.h
  * external/zlib/zlib.dif
  * external/zlib/zlib.h
  * external/zlib/zutil.c
  * external/zlib/zutil.h
    * Updated zlib component to 1.2.5 (from 1.2.4)
      upstream changelog: http://zlib.net/ChangeLog.txt
    * Reapplied all local patches.
    ; Thanks for Tamas Tevesz for this patch.
      (Committed without modifications)
2010-06-10 22:54:46 +00:00

43 lines
686 B
Makefile

#
# $Id$
#
ROOT := ../../
include $(TOP)$(ROOT)config/global.mk
LIBNAME := hbzlib
HB_BUILD_WARN := no
HB_BUILD_MODE := c
HB_CFLAGS_DYN := -DZLIB_DLL
C_SOURCES := \
adler32.c \
compress.c \
crc32.c \
deflate.c \
gzclose.c \
gzlib.c \
gzread.c \
gzwrite.c \
infback.c \
inffast.c \
inflate.c \
inftrees.c \
trees.c \
uncompr.c \
zutil.c \
ifneq ($(HB_HAS_ZLIB_LOCAL),)
# To suppress new warnings in version 1.2.5
ifneq ($(filter $(HB_COMPILER),mingw mingw64 mingwarm cygwin),)
HB_CFLAGS += -DNO_VIZ
endif
include $(TOP)$(ROOT)config/lib.mk
else
HB_SKIP_REASON := unused
include $(TOP)$(ROOT)config/none.mk
endif