summaryrefslogtreecommitdiff
path: root/etc/import/src/TARGETS.git2
blob: 02e77e89cad7a28f6bd7e9251331cf01e48d2ffd (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
{ "libgit2":
  { "type": ["@", "rules", "CC", "library"]
  , "arguments_config": ["OS", "ARCH", "TARGET_ARCH"]
  , "name": ["git2"]
  , "pkg-name": ["libgit2"]
  , "pure C": ["yes"]
  , "private-defines":
    { "type": "case"
    , "expr": {"type": "var", "name": "OS"}
    , "case":
      { "linux": ["HAVE_QSORT_R_GNU"]
      , "darwin": ["HAVE_QSORT_R_BSD"]
      , "bsd": ["HAVE_QSORT_R_BSD"]
      , "windows": ["HAVE_QSORT_S"]
      }
    }
  , "private-cflags":
    { "type": "case"
    , "expr":
      { "type": "var"
      , "name": "TARGET_ARCH"
      , "default": {"type": "var", "name": "ARCH"}
      }
    , "case": {"arm": ["-Wno-atomic-alignment"]}
    }
  , "srcs": [["src/util", "util_sources"], ["src/libgit2", "libgit2_sources"]]
  , "hdrs": [["include", "git2_public_headers"]]
  , "private-hdrs": [["src/libgit2", "libgit2_private_headers"]]
  , "deps":
    [ ["src/util", "util_compress"]
    , ["src/util", "util_gssapi"]
    , ["src/util", "util_http_parser"]
    , ["src/util", "util_https"]
    , ["src/util", "util_os"]
    , ["src/util", "util_regex"]
    , ["src/util", "util_sha1"]
    , ["src/util", "util_sha256"]
    , ["src/util", "util_ssh"]
    ]
  }
}