Files
harbour-core/harbour/external/zlib/Makefile
Viktor Szakats b982aa726f 2010-06-14 14:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/zlib/Makefile
  * config/dos/djgpp.mk
    + Added patch by Tamas Tevesz targeting djgpp cross-builds:
      - makes zlib compile with djgpp 2.03
      - adding ranlib makes the whole thing cross-compile (the linker was
        complaining about index not being present in the archives)
        the reason of the dash prefix is that since it wasn't there before,
        it must have worked without, so let's not break situations where it
        isn't present (it is present in bnu219b.zip though, and it seems to
        be chugging along nicely in a native situation as well)
      - adds $(HB_CCPATH)$(HB_CCPREFIX) to the bin tools used
2010-06-14 12:27:08 +00:00

46 lines
760 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
ifeq ($(HB_COMPILER),djgpp)
HB_CFLAGS += -DNO_vsnprintf
endif
include $(TOP)$(ROOT)config/lib.mk
else
HB_SKIP_REASON := unused
include $(TOP)$(ROOT)config/none.mk
endif