Files
harbour-core/harbour/contrib/hbssl/Makefile
Viktor Szakats 80323481d9 2009-03-16 15:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    + Added 3.81 or upper as GNU Make requirement. Older ones
      have bugs exploitet by current .cf files.

  * contrib/hbssl/Makefile
    - Disabled for owatcom.

  * config/win/msvc.cf
    ! Fixed -TP switch. Stopped using CFLAGS.
    * Changed to use link.exe directly instead of cl.exe.

  * config/win/msvcce.cf
    * Minor cleanup.
2009-03-16 14:24:15 +00:00

51 lines
790 B
Makefile

#
# $Id$
#
ROOT = ../../
LIBNAME=hbssl
HB_INC_OPENSSL_OK =
ifneq ($(HB_ARCHITECTURE),dos)
ifneq ($(HB_COMPILER),owatcom)
ifeq ($(HB_INC_OPENSSL),)
ifeq ($(HB_XBUILD),)
HB_INC_OPENSSL = /usr/include /usr/local/ssl/include
endif
endif
HB_INC_OPENSSL_OK += $(foreach d, $(HB_INC_OPENSSL), $(if $(wildcard $(d)/openssl/ssl.h),$(d),))
endif
ifneq ($(strip $(HB_INC_OPENSSL_OK)),)
HB_USER_CFLAGS += $(foreach d, $(HB_INC_OPENSSL_OK), -I$(d))
C_SOURCES=\
ssl.c \
sslciph.c \
sslctx.c \
sslrand.c \
sslsess.c \
PRG_HEADERS=\
hbssl.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