* harbour/contrib/hbzlib
* replaced with the one borrowed from xharbour, source modifications by Przemek
* harbour/contrib/hbzlib/makefile
* harbour/contrib/hbzlib/makefile.bc
* harbour/contrib/hbzlib/makefile.vc
* harbour/contrib/hbzlib/zip.c
* harbour/contrib/hbzlib/include/zipfilemapping.h
* harbour/contrib/hbzlib/include/zipautobuffer.h
* harbour/contrib/hbzlib/include/hbzip2.h
* changed to make contrib/hbzlib working with harbour
+ harbour/contrib/hbzlib/hbcomprs.c
+ harbour/contrib/hbzlib/include/hbcomprs.h
+ added to make contrib/hbzlib working with harbour
+ harbour/contrib/hbzlib/doc
+ harbour/contrib/hbzlib/doc/zipnew.txt
+ added documentation borrowed from xharbour/doc/en
- harbour/contrib/hbzlib/BccW32.cfg
- removed unuseful file
59 lines
847 B
Makefile
59 lines
847 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT = ../../
|
|
|
|
PRG_HEADERS = \
|
|
|
|
|
|
C_SOURCES = \
|
|
zip.c \
|
|
hbcomprs.c \
|
|
|
|
|
|
CPP_SOURCES = \
|
|
stdafx.cpp \
|
|
ziparchive.cpp \
|
|
zipautobuffer.cpp \
|
|
zipcentraldir.cpp \
|
|
zipcomp.cpp \
|
|
zipcompatibility.cpp \
|
|
zipexception.cpp \
|
|
zipfile.cpp \
|
|
zipfileheader.cpp \
|
|
zipmemfile.cpp \
|
|
zipnew.cpp \
|
|
zipplatformcomm.cpp \
|
|
zipstorage.cpp \
|
|
ZipString.cpp
|
|
|
|
ifeq ($(HB_ARCHITECTURE),linux)
|
|
CPP_SOURCES += \
|
|
../../Linux/ZipPathComponent.cpp \
|
|
../../Linux/ZipPlatform.cpp \
|
|
|
|
else
|
|
CPP_SOURCES += \
|
|
zippathcomponent.cpp \
|
|
zipplatform.cpp \
|
|
|
|
endif
|
|
|
|
|
|
PRG_SOURCES= \
|
|
|
|
LIBNAME=ziparchive
|
|
|
|
include $(TOP)$(ROOT)config/header.cf
|
|
INSTALL_RULE_HEADERS := $(INSTALL_RULE)
|
|
include $(TOP)$(ROOT)config/lib.cf
|
|
|
|
CFLAGS := $(CFLAGS) -I../../include -DZLIB_DLL
|
|
ifeq ($(HB_ARCHITECTURE),w32)
|
|
CFLAGS += -DWIN32 -DASSERT
|
|
endif
|
|
|
|
install::
|
|
$(INSTALL_RULE_HEADERS)
|