1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00
curl/packages/TPF/curl.mak
Daniel Stenberg 709cf76f6b openssl: remove all uses of USE_SSLEAY
SSLeay was the name of the library that was subsequently turned into
OpenSSL many moons ago (1999). curl does not work with the old SSLeay
library since years. This is now reflected by only using USE_OPENSSL in
code that depends on OpenSSL.
2015-03-05 10:57:52 +01:00

61 lines
2.1 KiB
Makefile

#######################################################################
# #
# MAKEFILE NAME..... curl.mak #
# #
# DESCRIPTION..... This is the makefile for libcurl. #
# #
#######################################################################
APP := CURL
TPF_RUN_TPFSOCHK := NO
#######################################################################
# Define any additional libs needed to link
#######################################################################
LIBS := CRYP CSSL
#######################################################################
# Define the envs needed to build this module
#######################################################################
maketpf_env := curllib
maketpf_env += openssl
maketpf_env += base_rt
maketpf_env += system
#######################################################################
# Segments to be compiled with gcc compiler
#######################################################################
#
### lib directory:
include $(word 1,$(wildcard $(foreach d,$(TPF_ROOT),$d/opensource/curl/lib/Makefile.inc)) Makefile.inc_not_found)
C_SRC := $(CSOURCES)
#######################################################################
# Additions and overrides for gcc compiler flags
#######################################################################
# suppress expected warnings in the ported code:
CFLAGS_CURL += -w
# use SSL
# (overrides Curl's lib/config-tpf.h file)
CFLAGS_CURL += -DUSE_OPENSSL
# disable all protocols except FTP and HTTP
# (overrides Curl's lib/config-tpf.h file)
CFLAGS_CURL += -DCURL_DISABLE_DICT
CFLAGS_CURL += -DCURL_DISABLE_FILE
CFLAGS_CURL += -DCURL_DISABLE_LDAP
CFLAGS_CURL += -DCURL_DISABLE_TELNET
CFLAGS_CURL += -DCURL_DISABLE_TFTP
#######################################################################
# Include the maketpf.rules
#######################################################################
include maketpf.rules