45 lines
818 B
Makefile
45 lines
818 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT := ../../
|
|
|
|
include $(TOP)$(ROOT)config/global.mk
|
|
|
|
LIBNAME := hbcurl
|
|
|
|
C_SOURCES := \
|
|
hbcurl.c \
|
|
|
|
PRG_HEADERS := \
|
|
hbcurl.ch \
|
|
|
|
_DET_DSP_NAME := libcurl
|
|
_DET_VAR_INC_ := HB_INC_CURL
|
|
_DET_VAR_HAS_ := HB_HAS_CURL
|
|
_DET_FLT_PLAT :=
|
|
_DET_FLT_COMP :=
|
|
_DET_INC_DEFP := /usr/include
|
|
_DET_INC_HEAD := /curl/curl.h
|
|
include $(TOP)$(ROOT)config/detfun.mk
|
|
|
|
ifneq ($(HB_HAS_CURL),)
|
|
|
|
ifneq ($(HB_HAS_WATT),)
|
|
HB_CFLAGS += $(foreach d,$(HB_HAS_WATT),-I$(d))
|
|
endif
|
|
|
|
HB_CFLAGS += $(foreach d,$(HB_HAS_CURL),-I$(d))
|
|
|
|
include $(TOP)$(ROOT)config/header.mk
|
|
include $(TOP)$(ROOT)config/lib.mk
|
|
|
|
ifneq ($(filter $(HB_PLATFORM),win wce),)
|
|
DIRS += hbcurls
|
|
include $(TOP)$(ROOT)config/dir.mk
|
|
endif
|
|
else
|
|
HB_SKIP_REASON := $(_DET_RES_TEXT)
|
|
include $(TOP)$(ROOT)config/none.mk
|
|
endif
|