* INSTALL
+ Added bzip2 information. (not fully complete, it also
needs to be added to .spec files like zlib)
- external/bzip2/bzip2.dif
- external/bzip2/bzip2.c
* external/bzip2/cnv_hb2o.bat
* external/bzip2/cnv_o2hb.bat
* external/bzip2/Makefile
- Deleted accindentally included bzip2 tool.
+ contrib/hbbzip2/tests
+ contrib/hbbzip2/tests/hbmk.hbm
+ contrib/hbbzip2/tests/test.prg
+ Added little test code.
+ contrib/hbbzip2/hbbzip2.hbc
+ Added .hbc file.
* contrib/hbbzip2/hbbzip2.ch
+ Added 'it's also used by C code' comment.
42 lines
730 B
Makefile
42 lines
730 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT := ../../
|
|
|
|
include $(TOP)$(ROOT)config/global.mk
|
|
|
|
LIBNAME := bzip2
|
|
|
|
HB_BUILD_WARN := no
|
|
HB_BUILD_MODE := c
|
|
|
|
C_SOURCES := \
|
|
blocksor.c \
|
|
bzlib.c \
|
|
compress.c \
|
|
crctable.c \
|
|
decompre.c \
|
|
huffman.c \
|
|
randtabl.c \
|
|
|
|
_DET_DSP_NAME := bzip2
|
|
_DET_VAR_INC_ := HB_INC_BZIP2
|
|
_DET_VAR_HAS_ := HB_HAS_BZIP2
|
|
_DET_FLT_PLAT := !wce
|
|
_DET_FLT_COMP :=
|
|
_DET_INC_DEFP := /usr/include
|
|
_DET_INC_LOCL := $(realpath $(TOP)$(ROOT)external/bzip2)
|
|
_DET_INC_HEAD := /bzlib.h
|
|
include $(TOP)$(ROOT)config/detfun.mk
|
|
|
|
ifneq ($(HB_HAS_BZIP2_LOCAL),)
|
|
ifeq ($(HB_COMPILER),bcc)
|
|
HB_AFLAGS += /C
|
|
endif
|
|
include $(TOP)$(ROOT)config/lib.mk
|
|
else
|
|
HB_SKIP_REASON := unused
|
|
include $(TOP)$(ROOT)config/none.mk
|
|
endif
|