Annotation of embedaddon/curl/packages/TPF/curl.mak, revision 1.1
1.1 ! misho 1: #***************************************************************************
! 2: # _ _ ____ _
! 3: # Project ___| | | | _ \| |
! 4: # / __| | | | |_) | |
! 5: # | (__| |_| | _ <| |___
! 6: # \___|\___/|_| \_\_____|
! 7: #
! 8: # Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
! 9: #
! 10: # This software is licensed as described in the file COPYING, which
! 11: # you should have received as part of this distribution. The terms
! 12: # are also available at https://curl.haxx.se/docs/copyright.html.
! 13: #
! 14: # You may opt to use, copy, modify, merge, publish, distribute and/or sell
! 15: # copies of the Software, and permit persons to whom the Software is
! 16: # furnished to do so, under the terms of the COPYING file.
! 17: #
! 18: # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
! 19: # KIND, either express or implied.
! 20: #
! 21: ###########################################################################
! 22: #######################################################################
! 23: # #
! 24: # MAKEFILE NAME..... curl.mak #
! 25: # #
! 26: # DESCRIPTION..... This is the makefile for libcurl. #
! 27: # #
! 28: #######################################################################
! 29:
! 30: APP := CURL
! 31:
! 32: TPF_RUN_TPFSOCHK := NO
! 33:
! 34: #######################################################################
! 35: # Define any additional libs needed to link
! 36: #######################################################################
! 37:
! 38: LIBS := CRYP CSSL
! 39:
! 40: #######################################################################
! 41: # Define the envs needed to build this module
! 42: #######################################################################
! 43:
! 44: maketpf_env := curllib
! 45: maketpf_env += openssl
! 46: maketpf_env += base_rt
! 47: maketpf_env += system
! 48:
! 49: #######################################################################
! 50: # Segments to be compiled with gcc compiler
! 51: #######################################################################
! 52: #
! 53: ### lib directory:
! 54: include $(word 1,$(wildcard $(foreach d,$(TPF_ROOT),$d/opensource/curl/lib/Makefile.inc)) Makefile.inc_not_found)
! 55: C_SRC := $(CSOURCES)
! 56:
! 57: #######################################################################
! 58: # Additions and overrides for gcc compiler flags
! 59: #######################################################################
! 60:
! 61: # suppress expected warnings in the ported code:
! 62: CFLAGS_CURL += -w
! 63:
! 64: # use SSL
! 65: # (overrides Curl's lib/config-tpf.h file)
! 66: CFLAGS_CURL += -DUSE_OPENSSL
! 67:
! 68: # disable all protocols except FTP and HTTP
! 69: # (overrides Curl's lib/config-tpf.h file)
! 70: CFLAGS_CURL += -DCURL_DISABLE_DICT
! 71: CFLAGS_CURL += -DCURL_DISABLE_FILE
! 72: CFLAGS_CURL += -DCURL_DISABLE_LDAP
! 73: CFLAGS_CURL += -DCURL_DISABLE_TELNET
! 74: CFLAGS_CURL += -DCURL_DISABLE_TFTP
! 75:
! 76: #######################################################################
! 77: # Include the maketpf.rules
! 78: #######################################################################
! 79:
! 80: include maketpf.rules
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>