Files
harbour-core/harbour/contrib/hbcurl/Makefile
Viktor Szakats c7480530a6 2009-09-05 22:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbcurl/Makefile
    + Using WATTCP lib if available to make it build on dos.
2009-09-05 20:11:43 +00:00

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