mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 08:38:49 -05:00
4d2f800677
Closes #6172
81 lines
3.1 KiB
Makefile
81 lines
3.1 KiB
Makefile
#***************************************************************************
|
|
# _ _ ____ _
|
|
# Project ___| | | | _ \| |
|
|
# / __| | | | |_) | |
|
|
# | (__| |_| | _ <| |___
|
|
# \___|\___/|_| \_\_____|
|
|
#
|
|
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
#
|
|
# This software is licensed as described in the file COPYING, which
|
|
# you should have received as part of this distribution. The terms
|
|
# are also available at https://curl.se/docs/copyright.html.
|
|
#
|
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
# copies of the Software, and permit persons to whom the Software is
|
|
# furnished to do so, under the terms of the COPYING file.
|
|
#
|
|
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
# KIND, either express or implied.
|
|
#
|
|
###########################################################################
|
|
#######################################################################
|
|
# #
|
|
# 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
|