summaryrefslogtreecommitdiff
path: root/etc/import/deps/pcre/TARGETS.git2
blob: 1f626dfc481e93792d1b401ad32e75af597af013 (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
{ "config.h":
  { "type": "configure"
  , "target": "config_header"
  , "config":
    { "type": "let*"
    , "bindings":
      [ ["SUPPORT_PCRE8", true]
      , ["BSR_ANYCRLF", false]
      , ["NO_RECURSE", true]
      , ["PCRE_LINK_SIZE", "2"]
      , ["PCRE_PARENS_NEST_LIMIT", "250"]
      , ["PCRE_MATCH_LIMIT", "10000000"]
      , ["PCRE_MATCH_LIMIT_RECURSION", "MATCH_LIMIT"]
      , ["PCRE_NEWLINE", "LF"]
      , ["PCRE_POSIX_MALLOC_THRESHOLD", "10"]
      , ["sys_hdrs", ["stdlib.h", "string.h", "strings.h"]]
      , [ "defines"
        , [ ["MAX_NAME_SIZE", "32"]
          , ["MAX_NAME_COUNT", "10000"]
          , [ "NEWLINE"
            , { "type": "case"
              , "expr": {"type": "var", "name": "PCRE_NEWLINE"}
              , "case":
                { "LF": "10"
                , "CR": "13"
                , "CRLF": "3338"
                , "ANY": "-1"
                , "ANYCRLF": "-2"
                }
              , "default":
                { "type": "fail"
                , "msg":
                  [ "The PCRE_NEWLINE variable must be set to one of the following values:"
                  , ["LF", "CR", "CRLF", "ANY", "ANYCRLF"]
                  ]
                }
              }
            ]
          , [ "POSIX_MALLOC_THRESHOLD"
            , {"type": "var", "name": "PCRE_POSIX_MALLOC_THRESHOLD"}
            ]
          , ["LINK_SIZE", {"type": "var", "name": "PCRE_LINK_SIZE"}]
          , [ "PARENS_NEST_LIMIT"
            , {"type": "var", "name": "PCRE_PARENS_NEST_LIMIT"}
            ]
          , ["MATCH_LIMIT", {"type": "var", "name": "PCRE_MATCH_LIMIT"}]
          , [ "MATCH_LIMIT_RECURSION"
            , {"type": "var", "name": "PCRE_MATCH_LIMIT_RECURSION"}
            ]
          , [ "PCREGREP_BUFSIZE"
            , {"type": "var", "name": "PCREGREP_BUFSIZE", "default": ""}
            ]
          ]
        ]
      , [ "defines1"
        , [ ["PCRE_STATIC", {"type": "var", "name": "PCRE_STATIC"}]
          , ["SUPPORT_PCRE8", {"type": "var", "name": "SUPPORT_PCRE8"}]
          , ["SUPPORT_PCRE16", {"type": "var", "name": "SUPPORT_PCRE16"}]
          , ["SUPPORT_PCRE32", {"type": "var", "name": "SUPPORT_PCRE32"}]
          , ["SUPPORT_JIT", {"type": "var", "name": "SUPPORT_JIT"}]
          , [ "SUPPORT_PCREGREP_JIT"
            , {"type": "var", "name": "SUPPORT_PCREGREP_JIT"}
            ]
          , ["SUPPORT_UTF", {"type": "var", "name": "SUPPORT_UTF"}]
          , ["SUPPORT_UCP", {"type": "var", "name": "SUPPORT_UCP"}]
          , ["EBCDIC", {"type": "var", "name": "EBCDIC"}]
          , ["EBCDIC_NL25", {"type": "var", "name": "EBCDIC_NL25"}]
          , ["BSR_ANYCRLF", {"type": "var", "name": "BSR_ANYCRLF"}]
          , ["NO_RECURSE", {"type": "var", "name": "NO_RECURSE"}]
          , ["SUPPORT_LIBBZ2", {"type": "var", "name": "SUPPORT_LIBBZ2"}]
          , ["SUPPORT_LIBZ", {"type": "var", "name": "SUPPORT_LIBZ"}]
          , ["SUPPORT_LIBEDIT", {"type": "var", "name": "SUPPORT_LIBEDIT"}]
          , [ "SUPPORT_LIBREADLINE"
            , {"type": "var", "name": "SUPPORT_LIBREADLINE"}
            ]
          , ["SUPPORT_VALGRIND", {"type": "var", "name": "SUPPORT_VALGRIND"}]
          , ["SUPPORT_GCOV", {"type": "var", "name": "SUPPORT_GCOV"}]
          ]
        ]
      , [ "have_cfile"
        , [ ["HAVE_DIRENT_H", "dirent.h"]
          , ["HAVE_STDINT_H", "stdint.h"]
          , ["HAVE_INTTYPES_H", "inttypes.h"]
          , ["HAVE_SYS_STAT_H", "sys/stat.h"]
          , ["HAVE_SYS_TYPES_H", "sys/types.h"]
          , ["HAVE_UNISTD_H", "unistd.h"]
          , ["HAVE_WINDOWS_H", "windows.h"]
          ]
        ]
      , [ "have_ctype"
        , [ ["HAVE_LONG_LONG", "long long"]
          , ["HAVE_UNSIGNED_LONG_LONG", "unsigned long long"]
          ]
        ]
      , [ "have_csymbol"
        , [ ["HAVE_BCOPY", ["bcopy", {"type": "var", "name": "sys_hdrs"}]]
          , ["HAVE_MEMMOVE", ["memmove", {"type": "var", "name": "sys_hdrs"}]]
          , ["HAVE_STRERROR", ["bcopy", {"type": "var", "name": "sys_hdrs"}]]
          , ["HAVE_STRTOLL", ["strtoll", {"type": "var", "name": "sys_hdrs"}]]
          , ["HAVE_STRTOQ", ["strtoq", {"type": "var", "name": "sys_hdrs"}]]
          , [ "HAVE__STRTOI64"
            , ["_strtoi64", {"type": "var", "name": "sys_hdrs"}]
            ]
          ]
        ]
      ]
    , "body":
      { "type": "env"
      , "vars":
        ["defines", "defines1", "have_cfile", "have_ctype", "have_csymbol"]
      }
    }
  }
, "config_header":
  { "type": ["@", "rules", "CC/auto", "config"]
  , "name": ["config.h"]
  , "guard": ["INCLUDE_DEPS_PCRE_CONFIG_H"]
  }
, "git2_pcre":
  { "type": ["@", "rules", "CC", "library"]
  , "arguments_config": ["OS"]
  , "name": ["git2_pcre"]
  , "pure C": ["yes"]
  , "local defines":
    { "type": "++"
    , "$1":
      [ ["HAVE_CONFIG_H"]
      , { "type": "case"
        , "expr": {"type": "var", "name": "OS"}
        , "case":
          {"windows": ["_CRT_SECURE_NO_DEPRECATE", "_CRT_SECURE_NO_WARNINGS"]}
        }
      ]
    }
  , "local cflags": ["-Wno-unused-function", "-Wno-implicit-fallthrough"]
  , "srcs":
    [ "pcre_byte_order.c"
    , "pcre_chartables.c"
    , "pcre_compile.c"
    , "pcre_config.c"
    , "pcre_dfa_exec.c"
    , "pcre_exec.c"
    , "pcre_fullinfo.c"
    , "pcre_get.c"
    , "pcre_globals.c"
    , "pcre_jit_compile.c"
    , "pcre_maketables.c"
    , "pcre_newline.c"
    , "pcre_ord2utf8.c"
    , "pcre_refcount.c"
    , "pcre_string_utils.c"
    , "pcre_study.c"
    , "pcre_tables.c"
    , "pcre_ucd.c"
    , "pcre_valid_utf8.c"
    , "pcre_version.c"
    , "pcre_xclass.c"
    , "pcreposix.c"
    ]
  , "hdrs": ["config.h", "pcre.h", "pcre_internal.h", "ucp.h", "pcreposix.h"]
  }
}