Git init
[external/curl.git] / packages / TPF / maketpf.env_curllib
1 ################################################################################
2 ################################################################################
3 #env TPF CURL Library Source and Output
4 ################################################################################
5 ################################################################################
6
7 ################################################################################
8 # Define the directories where the shared objects reside
9 ################################################################################
10
11 ROOTLIBDIRS := $(foreach d,$(TPF_ROOT),$d/opensource/curl/output/lib)
12
13 ################################################################################
14 # Define the directories where the loadables (XXXXVV) are to be written
15 ################################################################################
16
17 ROOTLOADDIRS := $(foreach d,$(TPF_ROOT),$d/opensource/curl/output/load)
18
19 ################################################################################
20 # Define the location of the export files used by the LD postprocessor
21 # - currently expected that .exp files will also live in lib dir
22 ################################################################################
23
24 ROOTEXPDIRS := $(foreach d,$(TPF_ROOT_LM),$d/opensource/curl/output/exp)
25
26 ################################################################################
27 # Define the object file directory name
28 ################################################################################
29
30 ROOTOBJDIRS := $(foreach d,$(TPF_ROOT),$d/opensource/curl/output/obj)
31
32 ################################################################################
33 # Define the listing files directory name
34 ################################################################################
35
36 ROOTLSTDIRS := $(foreach d,$(TPF_ROOT),$d/opensource/curl/output/lst)
37
38 ################################################################################
39 # Set the include/header file directories
40 ################################################################################
41
42 ROOTINCDIRS := $(foreach d,$(TPF_ROOT_LM),$d/opensource/curl/lib)
43 ROOTINCDIRS += $(foreach d,$(TPF_ROOT_LM),$d/opensource/curl/include)
44 ROOTINCDIRS += $(foreach d,$(TPF_ROOT_LM),$d/opensource/curl/include/curl)
45
46 ################################################################################
47 # Set the C file directories
48 ################################################################################
49
50 ROOTCDIRS := $(foreach d,$(TPF_ROOT_LM),$d/opensource/curl/lib)
51
52 ################################################################################
53 # Define "TPF" to enable TPF-specific code in Curl files.
54 ################################################################################
55
56 CFLAGS_$(APP) += -D TPF
57