* harbour/contrib/Makefile
+ harbour/contrib/hbbzip2
+ harbour/contrib/hbbzip2/hbbzip2.c
+ harbour/contrib/hbbzip2/hbbzip2.ch
+ harbour/contrib/hbbzip2/Makefile
+ added very simple wrapper to BZIP2 compression
Now only buffer compression functions.
HB_BZ2_VERSION() -> <cBZlibVersion>
HB_BZ2_COMPRESSBOUND( <cData> | <nDataLen> ) -> <nMaxCompressLen>
HB_BZ2_UNCOMPRESSLEN( <cCompressedData>, [<@nResult>] )
-> <nUnCompressedDataLen> or 0 on error
HB_BZ2_COMPRESS( <cData>, [<nDstBufLen>|<@cBuffer>], [<@nResult>],
[<nLevel>] ) -> <cCompressedData> or NIL on Error
HB_BZ2_UNCOMPRESS( <cCompressedData>, [<nDstBufLen>|<@cBuffer>],
[<@nResult>] ) -> <cUnCompressedData> or NIL
on Error
68 lines
959 B
Makefile
68 lines
959 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT := ../
|
|
|
|
# contribs _without_ external dependencies
|
|
DIRS := \
|
|
gtwvg \
|
|
hbbtree \
|
|
hbbzip2 \
|
|
hbclipsm \
|
|
hbct \
|
|
hbfoxpro \
|
|
hbfship \
|
|
hbgt \
|
|
hbmemio \
|
|
hbmisc \
|
|
hbmzip \
|
|
hbnetio \
|
|
hbnf \
|
|
hbodbc \
|
|
hbsqlit3 \
|
|
hbtip \
|
|
hbtpathy \
|
|
hbwin \
|
|
hbxpp \
|
|
hbziparc \
|
|
rddbmcdx \
|
|
xhb \
|
|
|
|
# contribs _with_ external dependencies
|
|
DIRS += \
|
|
gtalleg \
|
|
hbblat \
|
|
hbcairo \
|
|
hbcurl \
|
|
hbfbird \
|
|
hbfimage \
|
|
hbgd \
|
|
hbhpdf \
|
|
hbmysql \
|
|
hbpgsql \
|
|
hbqt \
|
|
hbssl \
|
|
rddads \
|
|
rddsql \
|
|
|
|
# contribs dependent on above
|
|
DIRS += \
|
|
hbxbp \
|
|
|
|
ifeq ($(HB_CONTRIBLIBS),no)
|
|
DIRS :=
|
|
else ifeq ($(firstword $(HB_CONTRIBLIBS)),no)
|
|
DIRS := $(filter-out $(HB_CONTRIBLIBS),$(DIRS))
|
|
else ifneq ($(HB_CONTRIBLIBS),)
|
|
DIRS := $(HB_CONTRIBLIBS)
|
|
endif
|
|
|
|
DIRS += $(HB_CONTRIB_ADDONS)
|
|
|
|
ifneq ($(DIRS),)
|
|
include $(TOP)$(ROOT)config/dir.mk
|
|
else
|
|
include $(TOP)$(ROOT)config/none.mk
|
|
endif
|