Files
harbour-core/harbour/contrib/hbcurl/Makefile
Viktor Szakats 3e8e50b939 2008-07-03 12:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/Makefile
   * contrib/hbfimage/Makefile
   * contrib/hbhpdf/Makefile
   * contrib/rddads/Makefile
     ! Excluded from DOS builds.
2008-07-03 10:42:01 +00:00

40 lines
606 B
Makefile

#
# $Id$
#
ROOT = ../../
LIBNAME=hbcurl
ifneq ($(HB_ARCHITECTURE),dos)
ifeq ($(HB_INC_CURL),)
HB_INC_CURL = /usr/include
endif
HB_INC_CURL_OK += $(foreach d, $(HB_INC_CURL), $(if $(wildcard $(d)/curl/curl.h),$(d),))
ifneq ($(strip $(HB_INC_CURL_OK)),)
C_USR += $(foreach d, $(HB_INC_CURL_OK), -I$(d))
C_SOURCES=\
hbcurl.c \
PRG_HEADERS=\
hbcurl.ch \
include $(TOP)$(ROOT)config/header.cf
INSTALL_RULE_HEADERS := $(INSTALL_RULE)
include $(TOP)$(ROOT)config/lib.cf
install::
$(INSTALL_RULE_HEADERS)
else
include $(TOP)$(ROOT)config/none.cf
endif
else
include $(TOP)$(ROOT)config/none.cf
endif