2009-04-14 09:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ contrib/hbcurl/hbcurls
+ contrib/hbcurl/hbcurls/Makefile
* contrib/hbcurl/Makefile
+ Added generation of static flavour of hbcurl. This can
be used to link against static libcurl.
* utils/hbmk2/hbmk2.prg
! Fixed target exe name with msvc.
! Added /debug link switch for msvc in -debug mode.
This commit is contained in:
@@ -8,6 +8,17 @@
|
||||
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2009-04-14 09:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
+ contrib/hbcurl/hbcurls
|
||||
+ contrib/hbcurl/hbcurls/Makefile
|
||||
* contrib/hbcurl/Makefile
|
||||
+ Added generation of static flavour of hbcurl. This can
|
||||
be used to link against static libcurl.
|
||||
|
||||
* utils/hbmk2/hbmk2.prg
|
||||
! Fixed target exe name with msvc.
|
||||
! Added /debug link switch for msvc in -debug mode.
|
||||
|
||||
2009-04-14 02:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* utils/hbmk2/hbmk2.prg
|
||||
+ Added -clean option to clean incremental work files and dir.
|
||||
|
||||
@@ -38,6 +38,17 @@ include $(TOP)$(ROOT)config/lib.cf
|
||||
install::
|
||||
$(INSTALL_RULE_HEADERS)
|
||||
|
||||
ifeq ($(HB_ARCHITECTURE),win)
|
||||
DIRS += hbcurls
|
||||
endif
|
||||
ifeq ($(HB_ARCHITECTURE),wce)
|
||||
DIRS += hbcurls
|
||||
endif
|
||||
|
||||
ifneq ($(DIRS),)
|
||||
include $(TOP)$(ROOT)config/dir.cf
|
||||
endif
|
||||
|
||||
else
|
||||
include $(TOP)$(ROOT)config/none.cf
|
||||
endif
|
||||
|
||||
40
harbour/contrib/hbcurl/hbcurls/Makefile
Normal file
40
harbour/contrib/hbcurl/hbcurls/Makefile
Normal file
@@ -0,0 +1,40 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
vpath %.c ../
|
||||
|
||||
ROOT = ../../../
|
||||
|
||||
LIBNAME=hbcurls
|
||||
|
||||
# always export symbols
|
||||
HB_USER_CFLAGS += -DCURL_STATICLIB
|
||||
|
||||
HB_INC_CURL_OK =
|
||||
|
||||
ifneq ($(HB_ARCHITECTURE),dos)
|
||||
|
||||
ifeq ($(HB_INC_CURL),)
|
||||
ifeq ($(HB_XBUILD),)
|
||||
HB_INC_CURL = /usr/include
|
||||
endif
|
||||
endif
|
||||
|
||||
HB_INC_CURL_OK += $(foreach d, $(HB_INC_CURL), $(if $(wildcard $(d)/curl/curl.h),$(d),))
|
||||
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(HB_INC_CURL_OK)),)
|
||||
|
||||
HB_USER_CFLAGS += $(foreach d, $(HB_INC_CURL_OK), -I$(d))
|
||||
|
||||
C_SOURCES=\
|
||||
hbcurl.c \
|
||||
hbcurlm.c \
|
||||
|
||||
include $(TOP)$(ROOT)config/lib.cf
|
||||
|
||||
else
|
||||
include $(TOP)$(ROOT)config/none.cf
|
||||
endif
|
||||
@@ -1942,6 +1942,7 @@ PROCEDURE Main( ... )
|
||||
ELSE
|
||||
AAdd( s_aOPTC, "-MTd -Zi" )
|
||||
ENDIF
|
||||
AAdd( s_aOPTL, "/debug" )
|
||||
ENDIF
|
||||
IF s_lGUI
|
||||
AAdd( s_aOPTL, "/subsystem:windows" )
|
||||
@@ -1966,7 +1967,7 @@ PROCEDURE Main( ... )
|
||||
cOpt_Lib := "{FA} /out:{OL} {LO}"
|
||||
cOpt_Dyn := "{FD} /dll /out:{OD} {DL} {LO} {LL} {LS}"
|
||||
cOpt_CompC := "-nologo -c {FC} -I{DI} {LC}"
|
||||
cOpt_Link := "-nologo {LO} {DL} {FL} {LL} {LS}"
|
||||
cOpt_Link := "-nologo /out:{OE} {LO} {DL} {FL} {LL} {LS}"
|
||||
cLibPathPrefix := "/libpath:"
|
||||
cLibPathSep := " "
|
||||
IF s_lMAP
|
||||
@@ -4157,7 +4158,9 @@ STATIC PROCEDURE ShowHelp( lLong )
|
||||
" wce : mingwarm, msvcarm, poccarm" ,;
|
||||
" os2 : gcc, owatcom" ,;
|
||||
" dos : djgpp, owatcom" ,;
|
||||
" bsd, hpux, sunos: gcc" }
|
||||
" bsd : gcc" ,;
|
||||
" hpux : gcc" ,;
|
||||
" sunos : gcc" }
|
||||
|
||||
DEFAULT lLong TO .F.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user