2008-05-28 16:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-ce-spec
* harbour/harbour-w32-spec
* harbour/harbour.spec
* harbour/make_rpmce.sh
* harbour/make_rpmw32.sh
* harbour/make_rpm.sh
* removed --with zlib switch - now zlib will be created in all builds
* added hbzlib library
* added hbmzip library - MiniZIP wrapper to manage ZIP files
* harbour/contrib/Makefile
* added hbmzip library to default builds
* harbour/include/hbzlib.h
! changed \ in include path
! added relative paths for LCC and XCC
* harbour/bin/hb-func.sh
* updated for hbzlib library in core code and hbmzip in contrib
* harbour/utils/hbdot/Makefile
* harbour/utils/hbrun/Makefile
* added hbzlib library to linked library list
* harbour/include/hbzlib.h
* harbour/bin/hb-func.sh
* harbour/make_gcc.mak
* harbour/config/darwin/gcc.cf
* harbour/config/hpux/gcc.cf
* harbour/config/linux/gcc.cf
* harbour/config/sunos/gcc.cf
* harbour/config/bsd/gcc.cf
* harbour/utils/hbdot/Makefile
* harbour/utils/hbrun/Makefile
+ added support for compilation with HB_EXT_ZLIB macro
It forces using external (OS) ZLIB library instead of hbzlib.
Still some other make files should be updated to respect it.
This commit is contained in:
@@ -8,6 +8,45 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2008-05-28 16:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/harbour-ce-spec
|
||||
* harbour/harbour-w32-spec
|
||||
* harbour/harbour.spec
|
||||
* harbour/make_rpmce.sh
|
||||
* harbour/make_rpmw32.sh
|
||||
* harbour/make_rpm.sh
|
||||
* removed --with zlib switch - now zlib will be created in all builds
|
||||
* added hbzlib library
|
||||
* added hbmzip library - MiniZIP wrapper to manage ZIP files
|
||||
|
||||
* harbour/contrib/Makefile
|
||||
* added hbmzip library to default builds
|
||||
|
||||
* harbour/include/hbzlib.h
|
||||
! changed \ in include path
|
||||
! added relative paths for LCC and XCC
|
||||
|
||||
* harbour/bin/hb-func.sh
|
||||
* updated for hbzlib library in core code and hbmzip in contrib
|
||||
|
||||
* harbour/utils/hbdot/Makefile
|
||||
* harbour/utils/hbrun/Makefile
|
||||
* added hbzlib library to linked library list
|
||||
|
||||
* harbour/include/hbzlib.h
|
||||
* harbour/bin/hb-func.sh
|
||||
* harbour/make_gcc.mak
|
||||
* harbour/config/darwin/gcc.cf
|
||||
* harbour/config/hpux/gcc.cf
|
||||
* harbour/config/linux/gcc.cf
|
||||
* harbour/config/sunos/gcc.cf
|
||||
* harbour/config/bsd/gcc.cf
|
||||
* harbour/utils/hbdot/Makefile
|
||||
* harbour/utils/hbrun/Makefile
|
||||
+ added support for compilation with HB_EXT_ZLIB macro
|
||||
It forces using external (OS) ZLIB library instead of hbzlib.
|
||||
Still some other make files should be updated to respect it.
|
||||
|
||||
2008-05-28 14:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
|
||||
* bin/bld.bat
|
||||
* bin/bld_os2.cmd
|
||||
|
||||
@@ -71,7 +71,7 @@ mk_hbgetlibs()
|
||||
then
|
||||
libs="$libs gtwin"
|
||||
fi
|
||||
echo -n "hbvm hbpp hbrtl hbrdd rddfpt rddcdx rddntx hbhsx hbsix hbusrrdd ${HB_DB_DRVEXT} hbmacro hbcommon hblang hbcpage gtcrs gtsln gtxvt gtxwc gtalleg gtcgi gtstd gtpca gttrm $libs gtwvt gtgui gtdos gtos2 hbdebug profiler hbcplr hbpcre"
|
||||
echo -n "hbvm hbpp hbrtl hbrdd rddfpt rddcdx rddntx hbhsx hbsix hbusrrdd ${HB_DB_DRVEXT} hbmacro hbcommon hblang hbcpage gtcrs gtsln gtxvt gtxwc gtalleg gtcgi gtstd gtpca gttrm $libs gtwvt gtgui gtdos gtos2 hbdebug profiler hbcplr hbpcre hbzlib"
|
||||
else
|
||||
echo -n "$@"
|
||||
fi
|
||||
@@ -88,7 +88,7 @@ mk_hbgetlibsctb()
|
||||
then
|
||||
libs="$libs gtwin"
|
||||
fi
|
||||
echo -n "$libs rddads hbct hbnf hbzlib hbtip xhb hbgd hbodbc hbpg hbmysql rddado hbw32 gtwvg $HB_USR_LIBS"
|
||||
echo -n "$libs rddads hbct hbnf hbmzip hbtip xhb hbgd hbodbc hbpg hbmysql rddado hbw32 gtwvg $HB_USR_LIBS"
|
||||
else
|
||||
echo -n "$@"
|
||||
fi
|
||||
@@ -138,6 +138,10 @@ mk_hbtools()
|
||||
elif [ "${C_USR//-DHB_POSIX_REGEX/}" != "${C_USR}" ]; then
|
||||
hb_libs="${hb_libs//hbpcre/}"
|
||||
fi
|
||||
if [ "${C_USR//-DHB_EXT_ZLIB/}" != "${C_USR}" ]; then
|
||||
HB_SYS_LIBS="-lz ${HB_SYS_LIBS}"
|
||||
hb_libs="${hb_libs//hbzlib/}"
|
||||
fi
|
||||
if [ "${HB_COMPILER}" = "mingw32" ]; then
|
||||
HB_SYS_LIBS="${HB_SYS_LIBS} -luser32 -lwinspool -lgdi32 -lcomctl32 -lcomdlg32 -lole32 -loleaut32 -luuid -lwsock32 -lws2_32"
|
||||
elif [ "${HB_COMPILER}" = "cemgw" ]; then
|
||||
|
||||
@@ -81,6 +81,10 @@ ifneq ($(findstring -DHB_PCRE_REGEX, $(C_USR)),)
|
||||
LINKLIBS += -lpcre
|
||||
endif
|
||||
|
||||
ifneq ($(findstring -DHB_EXT_ZLIB, $(C_USR)),)
|
||||
LINKLIBS += -lz
|
||||
endif
|
||||
|
||||
LINKLIBS += -lm -Wl,--end-group
|
||||
|
||||
LDFLAGS += $(LINKPATHS)
|
||||
|
||||
@@ -92,6 +92,10 @@ ifneq ($(findstring -DHB_PCRE_REGEX, $(C_USR)),)
|
||||
LINKLIBS += -lpcre
|
||||
endif
|
||||
|
||||
ifneq ($(findstring -DHB_EXT_ZLIB, $(C_USR)),)
|
||||
LINKLIBS += -lz
|
||||
endif
|
||||
|
||||
LINKLIBS += -lm
|
||||
|
||||
LDFLAGS = $(LINKPATHS)
|
||||
|
||||
@@ -77,6 +77,10 @@ ifneq ($(findstring -DHB_PCRE_REGEX, $(C_USR)),)
|
||||
LINKLIBS += -lpcre
|
||||
endif
|
||||
|
||||
ifneq ($(findstring -DHB_EXT_ZLIB, $(C_USR)),)
|
||||
LINKLIBS += -lz
|
||||
endif
|
||||
|
||||
LINKLIBS += -lm -lrt
|
||||
|
||||
LDFLAGS += $(LINKPATHS)
|
||||
|
||||
@@ -84,6 +84,10 @@ ifneq ($(findstring -DHB_PCRE_REGEX, $(C_USR)),)
|
||||
LINKLIBS += -lpcre
|
||||
endif
|
||||
|
||||
ifneq ($(findstring -DHB_EXT_ZLIB, $(C_USR)),)
|
||||
LINKLIBS += -lz
|
||||
endif
|
||||
|
||||
LINKLIBS += -lm -ldl -Wl,--end-group
|
||||
|
||||
LDFLAGS = $(LINKPATHS)
|
||||
|
||||
@@ -73,6 +73,10 @@ ifneq ($(findstring -DHB_PCRE_REGEX, $(C_USR)),)
|
||||
LINKLIBS += -lpcre
|
||||
endif
|
||||
|
||||
ifneq ($(findstring -DHB_EXT_ZLIB, $(C_USR)),)
|
||||
LINKLIBS += -lz
|
||||
endif
|
||||
|
||||
LINKLIBS += -lm -lrt
|
||||
|
||||
LDFLAGS = $(LINKPATHS)
|
||||
|
||||
@@ -13,8 +13,8 @@ DIRS=\
|
||||
hbclipsm \
|
||||
hbvpdf \
|
||||
xhb \
|
||||
hbmzip \
|
||||
# examples \
|
||||
# hbmzip \
|
||||
|
||||
ifneq ($(HB_ARCHITECTURE),dos)
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
# --with gd - build gd lib
|
||||
# --with allegro - build GTALLEG - Allegro based GT driver
|
||||
# --with ads - build ADS RDD
|
||||
# --with zlib - build zlib and minizip wrapper
|
||||
# --with odbc - build odbc lib
|
||||
# --without nf - do not build nanforum lib
|
||||
######################################################################
|
||||
@@ -118,7 +117,7 @@ export HB_BIN_INSTALL=%{_bindir}
|
||||
export HB_INC_INSTALL=%{_includedir}/harbour
|
||||
export HB_LIB_INSTALL=%{_libdir}/%{name}
|
||||
export HB_GTALLEG=%{?_with_allegro:yes}
|
||||
export HB_CONTRIBLIBS="%{?_with_odbc:hbodbc} %{?_with_zlib:hbzlib} %{?_with_ads:rddads} %{?_with_gd:hbgd} %{?_with_pgsql:hbpgsql} %{?_with_mysql:hbmysql}"
|
||||
export HB_CONTRIBLIBS="%{?_with_odbc:hbodbc} %{?_with_ads:rddads} %{?_with_gd:hbgd} %{?_with_pgsql:hbpgsql} %{?_with_mysql:hbmysql}"
|
||||
|
||||
make -r
|
||||
|
||||
@@ -149,7 +148,7 @@ export HB_BIN_INSTALL=%{_bindir}
|
||||
export HB_INC_INSTALL=%{_includedir}/harbour
|
||||
export HB_LIB_INSTALL=%{_libdir}/%{name}
|
||||
export HB_GTALLEG=%{?_with_allegro:yes}
|
||||
export HB_CONTRIBLIBS="%{?_with_odbc:hbodbc} %{?_with_zlib:hbzlib} %{?_with_ads:rddads} %{?_with_gd:hbgd} %{?_with_pgsql:hbpgsql} %{?_with_mysql:hbmysql}"
|
||||
export HB_CONTRIBLIBS="%{?_with_odbc:hbodbc} %{?_with_ads:rddads} %{?_with_gd:hbgd} %{?_with_pgsql:hbpgsql} %{?_with_mysql:hbmysql}"
|
||||
|
||||
export _DEFAULT_BIN_DIR=$HB_BIN_INSTALL
|
||||
export _DEFAULT_INC_DIR=$HB_INC_INSTALL
|
||||
@@ -167,7 +166,6 @@ make -r -i install
|
||||
[ "%{?_with_odbc:1}" ] || rm -f $HB_LIB_INSTALL/libhbodbc.a
|
||||
[ "%{?_with_allegro:1}" ] || rm -f $HB_LIB_INSTALL/libgtalleg.a
|
||||
[ "%{?_with_ads:1}" ] || rm -f $HB_LIB_INSTALL/librddads.a
|
||||
[ "%{?_with_zlib:1}" ] || rm -f $HB_LIB_INSTALL/libhbzlib.a
|
||||
[ "%{?_without_nf:1}" ] && rm -f $HB_LIB_INSTALL/libhbnf.a
|
||||
|
||||
# Keep the size of the libraries to a minimim.
|
||||
@@ -316,6 +314,7 @@ rm -fR $RPM_BUILD_ROOT
|
||||
%{_libdir}/%{name}/libhblang.a
|
||||
%{_libdir}/%{name}/libhbmacro.a
|
||||
%{_libdir}/%{name}/libhbpcre.a
|
||||
%{_libdir}/%{name}/libhbzlib.a
|
||||
%{_libdir}/%{name}/libhbnulrdd.a
|
||||
%{_libdir}/%{name}/libhbpp.a
|
||||
%{_libdir}/%{name}/libhbrdd.a
|
||||
@@ -329,13 +328,13 @@ rm -fR $RPM_BUILD_ROOT
|
||||
|
||||
%{!?_without_nf: %{_libdir}/%{name}/libhbnf.a}
|
||||
%{?_with_ads: %{_libdir}/%{name}/librddads.a}
|
||||
%{?_with_zlib: %{_libdir}/%{name}/libhbzlib.a}
|
||||
%{?_with_odbc: %{_libdir}/%{name}/libhbodbc.a}
|
||||
%{?_with_mysql: %{_libdir}/%{name}/libhbmysql.a}
|
||||
%{?_with_pgsql: %{_libdir}/%{name}/libhbpgsql.a}
|
||||
%{?_with_gd: %{_libdir}/%{name}/libhbgd.a}
|
||||
%{_libdir}/%{name}/libhbbtree.a
|
||||
%{_libdir}/%{name}/libhbmisc.a
|
||||
%{_libdir}/%{name}/libhbmzip.a
|
||||
%{_libdir}/%{name}/libhbct.a
|
||||
%{_libdir}/%{name}/libhbtip.a
|
||||
%{_libdir}/%{name}/libxhb.a
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
# --with gd - build gd lib
|
||||
# --with allegro - build GTALLEG - Allegro based GT driver
|
||||
# --with ads - build ADS RDD
|
||||
# --with zlib - build zlib and minizip wrapper
|
||||
# --with odbc - build odbc lib
|
||||
# --without nf - do not build nanforum lib
|
||||
######################################################################
|
||||
@@ -118,7 +117,7 @@ export HB_BIN_INSTALL=%{_bindir}
|
||||
export HB_INC_INSTALL=%{_includedir}/harbour
|
||||
export HB_LIB_INSTALL=%{_libdir}/%{name}
|
||||
export HB_GTALLEG=%{?_with_allegro:yes}
|
||||
export HB_CONTRIBLIBS="%{?_with_odbc:hbodbc} %{?_with_zlib:hbzlib} %{?_with_ads:rddads} %{?_with_gd:hbgd} %{?_with_pgsql:hbpgsql} %{?_with_mysql:hbmysql}"
|
||||
export HB_CONTRIBLIBS="%{?_with_odbc:hbodbc} %{?_with_ads:rddads} %{?_with_gd:hbgd} %{?_with_pgsql:hbpgsql} %{?_with_mysql:hbmysql}"
|
||||
|
||||
make -r
|
||||
|
||||
@@ -149,7 +148,7 @@ export HB_BIN_INSTALL=%{_bindir}
|
||||
export HB_INC_INSTALL=%{_includedir}/harbour
|
||||
export HB_LIB_INSTALL=%{_libdir}/%{name}
|
||||
export HB_GTALLEG=%{?_with_allegro:yes}
|
||||
export HB_CONTRIBLIBS="%{?_with_odbc:hbodbc} %{?_with_zlib:hbzlib} %{?_with_ads:rddads} %{?_with_gd:hbgd} %{?_with_pgsql:hbpgsql} %{?_with_mysql:hbmysql}"
|
||||
export HB_CONTRIBLIBS="%{?_with_odbc:hbodbc} %{?_with_ads:rddads} %{?_with_gd:hbgd} %{?_with_pgsql:hbpgsql} %{?_with_mysql:hbmysql}"
|
||||
|
||||
export _DEFAULT_BIN_DIR=$HB_BIN_INSTALL
|
||||
export _DEFAULT_INC_DIR=$HB_INC_INSTALL
|
||||
@@ -167,7 +166,6 @@ make -r -i install
|
||||
[ "%{?_with_odbc:1}" ] || rm -f $HB_LIB_INSTALL/libhbodbc.a
|
||||
[ "%{?_with_allegro:1}" ] || rm -f $HB_LIB_INSTALL/libgtalleg.a
|
||||
[ "%{?_with_ads:1}" ] || rm -f $HB_LIB_INSTALL/librddads.a
|
||||
[ "%{?_with_zlib:1}" ] || rm -f $HB_LIB_INSTALL/libhbzlib.a
|
||||
[ "%{?_without_nf:1}" ] && rm -f $HB_LIB_INSTALL/libhbnf.a
|
||||
|
||||
# Keep the size of the libraries to a minimim.
|
||||
@@ -316,6 +314,7 @@ rm -fR $RPM_BUILD_ROOT
|
||||
%{_libdir}/%{name}/libhblang.a
|
||||
%{_libdir}/%{name}/libhbmacro.a
|
||||
%{_libdir}/%{name}/libhbpcre.a
|
||||
%{_libdir}/%{name}/libhbzlib.a
|
||||
%{_libdir}/%{name}/libhbnulrdd.a
|
||||
%{_libdir}/%{name}/libhbpp.a
|
||||
%{_libdir}/%{name}/libhbrdd.a
|
||||
@@ -328,13 +327,13 @@ rm -fR $RPM_BUILD_ROOT
|
||||
|
||||
%{!?_without_nf: %{_libdir}/%{name}/libhbnf.a}
|
||||
%{?_with_ads: %{_libdir}/%{name}/librddads.a}
|
||||
%{?_with_zlib: %{_libdir}/%{name}/libhbzlib.a}
|
||||
%{?_with_odbc: %{_libdir}/%{name}/libhbodbc.a}
|
||||
%{?_with_mysql: %{_libdir}/%{name}/libhbmysql.a}
|
||||
%{?_with_pgsql: %{_libdir}/%{name}/libhbpgsql.a}
|
||||
%{?_with_gd: %{_libdir}/%{name}/libhbgd.a}
|
||||
%{_libdir}/%{name}/libhbbtree.a
|
||||
%{_libdir}/%{name}/libhbmisc.a
|
||||
%{_libdir}/%{name}/libhbmzip.a
|
||||
%{_libdir}/%{name}/libhbct.a
|
||||
%{_libdir}/%{name}/libhbtip.a
|
||||
%{_libdir}/%{name}/libxhb.a
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
# --with gd - build gd lib
|
||||
# --with allegro - build GTALLEG - Allegro based GT driver
|
||||
# --with ads - build ADS RDD
|
||||
# --with zlib - build zlib and minizip wrapper
|
||||
# --with odbc - build odbc lib
|
||||
# --without nf - do not build nanforum lib
|
||||
# --without gpllib - do not build libs which needs GPL 3-rd party code
|
||||
@@ -79,7 +78,7 @@
|
||||
%define hb_ldir export HB_LIB_INSTALL=%{_libdir}/%{name}
|
||||
%define hb_opt export HB_GTALLEG=%{?_with_allegro:yes}
|
||||
%define hb_cmrc export HB_COMMERCE=%{?_without_gpllib:yes}
|
||||
%define hb_ctrb export HB_CONTRIBLIBS="%{?_with_odbc:hbodbc} %{?_with_zlib:hbzlib} %{?_with_ads:rddads} %{?_with_gd:hbgd} %{?_with_pgsql:hbpgsql} %{?_with_mysql:hbmysql}"
|
||||
%define hb_ctrb export HB_CONTRIBLIBS="%{?_with_odbc:hbodbc} %{?_with_ads:rddads} %{?_with_gd:hbgd} %{?_with_pgsql:hbpgsql} %{?_with_mysql:hbmysql}"
|
||||
%define hb_env %{hb_arch} ; %{hb_cc} ; %{hb_cflag} ; %{hb_lflag} ; %{hb_mt} ; %{hb_gt} ; %{hb_defgt} ; %{hb_gpm} ; %{hb_sln} ; %{hb_x11} ; %{hb_bdir} ; %{hb_idir} ; %{hb_ldir} ; %{hb_opt} ; %{hb_ctrb} ; %{hb_cmrc}
|
||||
|
||||
%define hb_host www.harbour-project.org
|
||||
@@ -266,7 +265,6 @@ case "`uname -m`" in
|
||||
esac
|
||||
|
||||
[ "%{?_with_odbc:1}" ] || rm -fR contrib/hbodbc
|
||||
[ "%{?_with_zlib:1}" ] || rm -fR contrib/hbzlib
|
||||
[ "%{?_with_ads:1}" ] || rm -fR contrib/rddads
|
||||
[ "%{?_without_nf:1}" ] && rm -fR contrib/hbnf
|
||||
|
||||
@@ -303,7 +301,6 @@ make -r -i install
|
||||
[ "%{?_with_odbc:1}" ] || rm -f $HB_LIB_INSTALL/libhbodbc.a
|
||||
[ "%{?_with_allegro:1}" ] || rm -f $HB_LIB_INSTALL/libgtalleg.a
|
||||
[ "%{?_with_ads:1}" ] || rm -f $HB_LIB_INSTALL/librddads.a
|
||||
[ "%{?_with_zlib:1}" ] || rm -f $HB_LIB_INSTALL/libhbzlib.a
|
||||
[ "%{?_without_nf:1}" ] && rm -f $HB_LIB_INSTALL/libhbnf.a
|
||||
[ "%{?_without_gtsln:1}" ] && rm -f $HB_LIB_INSTALL/libgtsln.a
|
||||
|
||||
@@ -525,6 +522,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/%{name}/libhblang.a
|
||||
%{_libdir}/%{name}/libhbmacro.a
|
||||
%{_libdir}/%{name}/libhbpcre.a
|
||||
%{_libdir}/%{name}/libhbzlib.a
|
||||
%{_libdir}/%{name}/libhbnulrdd.a
|
||||
%{_libdir}/%{name}/libhbpp.a
|
||||
%{_libdir}/%{name}/libhbrdd.a
|
||||
@@ -539,7 +537,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%dir %{_libdir}/%{name}
|
||||
%{!?_without_nf: %{_libdir}/%{name}/libhbnf.a}
|
||||
%{?_with_ads: %{_libdir}/%{name}/librddads.a}
|
||||
%{?_with_zlib: %{_libdir}/%{name}/libhbzlib.a}
|
||||
%{?_with_odbc: %{_libdir}/%{name}/libhbodbc.a}
|
||||
%{?_with_mysql: %{_libdir}/%{name}/libhbmysql.a}
|
||||
%{?_with_pgsql: %{_libdir}/%{name}/libhbpgsql.a}
|
||||
@@ -547,6 +544,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{?_with_gd: %{_libdir}/%{name}/libhbgd.a}
|
||||
%{_libdir}/%{name}/libhbbtree.a
|
||||
%{_libdir}/%{name}/libhbmisc.a
|
||||
%{_libdir}/%{name}/libhbmzip.a
|
||||
%{_libdir}/%{name}/libhbct.a
|
||||
%{_libdir}/%{name}/libhbtip.a
|
||||
%{_libdir}/%{name}/libxhb.a
|
||||
|
||||
@@ -50,4 +50,12 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "..\source\hbzlib\zlib.h"
|
||||
#if defined( HB_EXT_ZLIB )
|
||||
# include <zlib.h>
|
||||
#else
|
||||
# if defined(__XCC__) || defined(__LCC__)
|
||||
# include "source\hbzlib\zlib.h"
|
||||
# else
|
||||
# include "../source/hbzlib/zlib.h"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
@@ -231,6 +231,11 @@ ifneq ($(findstring -DHB_PCRE_REGEX, $(CFLAGS)),)
|
||||
LDFLAGS += -lpcre
|
||||
endif
|
||||
|
||||
# ZLIB library
|
||||
ifneq ($(findstring -DHB_EXT_ZLIB, $(CFLAGS)),)
|
||||
LDFLAGS += -lz
|
||||
endif
|
||||
|
||||
LDFLAGS += $(__GROUP_LIBS_END__) $(HB_OS_LIBS)
|
||||
|
||||
ifeq ($(HB_ARCHITECTURE),os2)
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
# --with odbc - build odbc lib
|
||||
# --with allegro - build GTALLEG - Allegro based GT driver
|
||||
# --with ads - build ADS RDD
|
||||
# --with zlib - build zlib and minizip wrapper
|
||||
# --without gpllib - do not build libs which needs GPL 3-rd party code
|
||||
# --without nf - do not build nanforum lib
|
||||
# --without x11 - do not build GTXWC
|
||||
@@ -108,10 +107,6 @@ if test_reqrpm "allegro-devel"
|
||||
then
|
||||
INST_PARAM="${INST_PARAM} --with allegro"
|
||||
fi
|
||||
if [ -f /usr/include/zlib.h ] || test_reqrpm "zlib-devel"
|
||||
then
|
||||
INST_PARAM="${INST_PARAM} --with zlib"
|
||||
fi
|
||||
if [ -f /usr/local/ads/acesdk/ace.h ] || [ -f ${HOME}/ads/acesdk/ace.h ]
|
||||
then
|
||||
INST_PARAM="${INST_PARAM} --with ads"
|
||||
|
||||
@@ -72,10 +72,6 @@ if [ -f /usr/local/ads/acesdk/ace.h ] || \
|
||||
then
|
||||
INST_PARAM="${INST_PARAM} --with ads"
|
||||
fi
|
||||
if [ -f /opt/mingw32ce/include/zlib.h ]
|
||||
then
|
||||
INST_PARAM="${INST_PARAM} --with zlib"
|
||||
fi
|
||||
|
||||
TOINST_LST=""
|
||||
for i in ${NEED_RPM}
|
||||
|
||||
@@ -94,10 +94,6 @@ if [ -f /usr/local/ads/acesdk/ace.h ] || \
|
||||
then
|
||||
INST_PARAM="${INST_PARAM} --with ads"
|
||||
fi
|
||||
if [ -f ${MINGW_DIR}/include/zlib.h ]
|
||||
then
|
||||
INST_PARAM="${INST_PARAM} --with zlib"
|
||||
fi
|
||||
|
||||
TOINST_LST=""
|
||||
for i in ${NEED_RPM}
|
||||
|
||||
@@ -33,4 +33,8 @@ LIBS += hbpcre
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(findstring -DHB_EXT_ZLIB, $(C_USR)),)
|
||||
LIBS += hbzlib
|
||||
endif
|
||||
|
||||
include $(TOP)$(ROOT)config/bin.cf
|
||||
|
||||
@@ -34,4 +34,8 @@ LIBS += hbpcre
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(findstring -DHB_EXT_ZLIB, $(C_USR)),)
|
||||
LIBS += hbzlib
|
||||
endif
|
||||
|
||||
include $(TOP)$(ROOT)config/bin.cf
|
||||
|
||||
Reference in New Issue
Block a user