• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.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#env TPF CURL Library Source and Output
25################################################################################
26################################################################################
27
28################################################################################
29# Define the directories where the shared objects reside
30################################################################################
31
32ROOTLIBDIRS := $(foreach d,$(TPF_ROOT),$d/opensource/curl/output/lib)
33
34################################################################################
35# Define the directories where the loadables (XXXXVV) are to be written
36################################################################################
37
38ROOTLOADDIRS := $(foreach d,$(TPF_ROOT),$d/opensource/curl/output/load)
39
40################################################################################
41# Define the location of the export files used by the LD postprocessor
42# - currently expected that .exp files will also live in lib dir
43################################################################################
44
45ROOTEXPDIRS := $(foreach d,$(TPF_ROOT_LM),$d/opensource/curl/output/exp)
46
47################################################################################
48# Define the object file directory name
49################################################################################
50
51ROOTOBJDIRS := $(foreach d,$(TPF_ROOT),$d/opensource/curl/output/obj)
52
53################################################################################
54# Define the listing files directory name
55################################################################################
56
57ROOTLSTDIRS := $(foreach d,$(TPF_ROOT),$d/opensource/curl/output/lst)
58
59################################################################################
60# Set the include/header file directories
61################################################################################
62
63ROOTINCDIRS := $(foreach d,$(TPF_ROOT_LM),$d/opensource/curl/lib)
64ROOTINCDIRS += $(foreach d,$(TPF_ROOT_LM),$d/opensource/curl/include)
65ROOTINCDIRS += $(foreach d,$(TPF_ROOT_LM),$d/opensource/curl/include/curl)
66
67################################################################################
68# Set the C file directories
69################################################################################
70
71ROOTCDIRS := $(foreach d,$(TPF_ROOT_LM),$d/opensource/curl/lib)
72
73################################################################################
74# Define "TPF" to enable TPF-specific code in Curl files.
75################################################################################
76
77CFLAGS_$(APP) += -D TPF
78