summaryrefslogtreecommitdiff
path: root/etc/import/include/git2/TARGETS.git2
blob: 84eb50c353d29e6503e64902615213868674ff55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
{ "sys/features.h":
  { "type": "configure"
  , "arguments_config":
    [ "OS"
    , "ARCH"
    , "TARGET_ARCH"
    , "DEBUG_POOL"
    , "ENABLE_TRACE"
    , "THREADSAFE"
    , "REGEX_BACKEND"
    , "USE_ICONV"
    , "USE_NSEC"
    , "USE_SSH"
    , "USE_NTLMCLIENT"
    , "USE_GSSAPI"
    , "USE_SHA1"
    , "USE_HTTPS"
    ]
  , "target": "feature_header"
  , "config":
    { "type": "let*"
    , "bindings":
      [ [ "TARGET_ARCH"
        , { "type": "var"
          , "name": "TARGET_ARCH"
          , "default": {"type": "var", "name": "ARCH"}
          }
        ]
      , [ "IS_BSD"
        , { "type": "case"
          , "expr": {"type": "var", "name": "OS"}
          , "case": {"darwin": true, "bsd": true}
          }
        ]
      , [ "IS_32BIT"
        , { "type": "case"
          , "expr":
            { "type": "var"
            , "name": "TARGET_ARCH"
            , "default": {"type": "var", "name": "ARCH"}
            }
          , "case": {"x86": true, "arm": true}
          }
        ]
      , [ "defines1"
        , { "type": "++"
          , "$1":
            [ [ ["GIT_DEBUG_POOL", {"type": "var", "name": "DEBUG_POOL"}]
              , ["GIT_TRACE", {"type": "var", "name": "ENABLE_TRACE"}]
              , ["GIT_THREADS", {"type": "var", "name": "THREADSAFE"}]
              , { "type": "if"
                , "cond": {"type": "var", "name": "IS_32BIT"}
                , "then": ["GIT_ARCH_32", 1]
                , "else": ["GIT_ARCH_64", 1]
                }
              , ["GIT_USE_ICONV", {"type": "var", "name": "USE_ICONV"}]
              , ["GIT_SSH", {"type": "var", "name": "USE_SSH"}]
              , [ "GIT_SSH_MEMORY_CREDENTIALS"
                , {"type": "var", "name": "USE_SSH"}
                ]
              , ["GIT_NTLM", {"type": "var", "name": "USE_NTLMCLIENT"}]
              ]
            , { "type": "if"
              , "cond": {"type": "var", "name": "USE_NSEC"}
              , "then":
                [ ["GIT_USE_NSEC", 1]
                , ["GIT_USE_FUTIMENS", 1]
                , ["GIT_USE_STAT_MTIME_NSEC", 1]
                , { "type": "if"
                  , "cond": {"type": "var", "name": "IS_BSD"}
                  , "then": ["GIT_USE_STAT_MTIMESPEC", 1]
                  , "else": ["GIT_USE_STAT_MTIM", 1]
                  }
                ]
              }
            , [ { "type": "case*"
                , "expr": {"type": "var", "name": "REGEX_BACKEND"}
                , "case":
                  [ ["regcomp_l", ["GIT_REGEX_REGCOMP_L", 1]]
                  , ["regcomp", ["GIT_REGEX_REGCOMP", 1]]
                  , ["pcre", ["GIT_REGEX_PCRE", 1]]
                  , ["pcre2", ["GIT_REGEX_PCRE2", 1]]
                  , ["builtin", ["GIT_REGEX_BUILTIN", 1]]
                  , [null, ["GIT_REGEX_BUILTIN", 1]]
                  ]
                , "default":
                  { "type": "fail"
                  , "msg": "The REGEX_BACKEND option provided is not supported"
                  }
                }
              ]
            , { "type": "case*"
              , "expr": {"type": "var", "name": "USE_GSSAPI"}
              , "case":
                [ ["GSS.framework", [["GIT_GSSFRAMEWORK", 1]]]
                , ["gssapi", [["GIT_GSSAPI", 1]]]
                , [false, []]
                ]
              , "default":
                { "type": "fail"
                , "msg": "Backend asked for in USE_GSSAPI is not supported"
                }
              }
            , { "type": "if"
              , "cond": {"type": "var", "name": "USE_HTTPS"}
              , "then":
                [ ["GIT_HTTPS", 1]
                , { "type": "case*"
                  , "expr": {"type": "var", "name": "USE_HTTPS"}
                  , "case":
                    [ ["SecureTransport", ["GIT_SECURE_TRANSPORT", 1]]
                    , ["OpenSSL", ["GIT_OPENSSL", 1]]
                    , ["mbedTLS", ["GIT_MBEDTLS", 1]]
                    , ["WinHTTP", ["GIT_WINHTTP", 1]]
                    ]
                  , "default":
                    { "type": "fail"
                    , "msg": "Backend asked for in USE_HTTPS is not supported"
                    }
                  }
                ]
              }
            , { "type": "case*"
              , "expr": {"type": "var", "name": "USE_SHA1"}
              , "case":
                [ ["CollisionDetection", [["GIT_SHA1_COLLISIONDETECT", 1]]]
                , ["Win32", [["GIT_SHA1_WIN32", 1]]]
                , ["CommonCrypto", [["GIT_SHA1_COMMON_CRYPTO", 1]]]
                , ["OpenSSL", [["GIT_SHA1_OPENSSL", 1]]]
                , ["mbedTLS", [["GIT_SHA1_MBEDTLS", 1]]]
                ]
              }
            ]
          }
        ]
      ]
    , "body": {"type": "env", "vars": ["defines1"]}
    }
  }
, "feature_header":
  { "type": ["@", "rules", "CC/auto", "config"]
  , "name": ["features.h"]
  , "guard": ["INCLUDE_features_h__"]
  , "stage": ["sys"]
  }
, "sys/repository.h":
  { "type": ["@", "rules", "patch", "file"]
  , "src": [["FILE", null, "sys/repository.h"]]
  , "patch": [["@", "patches", "", "libgit2_v1.1.0_fix-fake-repo.patch"]]
  , "patch-part": ["a", "include", "git2", "sys", "repository.h"]
  }
, "TREE":
  { "type": ["@", "rules", "CC", "header directory"]
  , "stage": ["git2"]
  , "hdrs":
    [ "annotated_commit.h"
    , "apply.h"
    , "attr.h"
    , "blame.h"
    , "blob.h"
    , "branch.h"
    , "buffer.h"
    , "cert.h"
    , "checkout.h"
    , "cherrypick.h"
    , "clone.h"
    , "commit.h"
    , "common.h"
    , "config.h"
    , "credential.h"
    , "credential_helpers.h"
    , "cred_helpers.h"
    , "deprecated.h"
    , "describe.h"
    , "diff.h"
    , "errors.h"
    , "filter.h"
    , "global.h"
    , "graph.h"
    , "ignore.h"
    , "indexer.h"
    , "index.h"
    , "mailmap.h"
    , "merge.h"
    , "message.h"
    , "net.h"
    , "notes.h"
    , "object.h"
    , "odb_backend.h"
    , "odb.h"
    , "oidarray.h"
    , "oid.h"
    , "pack.h"
    , "patch.h"
    , "pathspec.h"
    , "proxy.h"
    , "rebase.h"
    , "refdb.h"
    , "reflog.h"
    , "refs.h"
    , "refspec.h"
    , "remote.h"
    , "repository.h"
    , "reset.h"
    , "revert.h"
    , "revparse.h"
    , "revwalk.h"
    , "signature.h"
    , "stash.h"
    , "status.h"
    , "stdint.h"
    , "strarray.h"
    , "submodule.h"
    , "tag.h"
    , "trace.h"
    , "transaction.h"
    , "transport.h"
    , "tree.h"
    , "types.h"
    , "version.h"
    , "worktree.h"
    , "sys/alloc.h"
    , "sys/commit.h"
    , "sys/config.h"
    , "sys/credential.h"
    , "sys/cred.h"
    , "sys/diff.h"
    , "sys/filter.h"
    , "sys/hashsig.h"
    , "sys/index.h"
    , "sys/mempack.h"
    , "sys/merge.h"
    , "sys/odb_backend.h"
    , "sys/openssl.h"
    , "sys/path.h"
    , "sys/refdb_backend.h"
    , "sys/reflog.h"
    , "sys/refs.h"
    , "sys/repository.h"
    , "sys/stream.h"
    , "sys/transport.h"
    , "sys/features.h"
    ]
  }
}