summaryrefslogtreecommitdiff
path: root/etc/import/src
diff options
context:
space:
mode:
Diffstat (limited to 'etc/import/src')
-rw-r--r--etc/import/src/TARGETS.archive48
1 files changed, 48 insertions, 0 deletions
diff --git a/etc/import/src/TARGETS.archive b/etc/import/src/TARGETS.archive
index a2ffdfa7..4562b2da 100644
--- a/etc/import/src/TARGETS.archive
+++ b/etc/import/src/TARGETS.archive
@@ -366,6 +366,30 @@
}
}
}
+, "archive_pcre2posix":
+ { "type": ["@", "rules", "CC", "library"]
+ , "arguments_config": ["USE_SYSTEM_LIBS", "ENABLE_PCRE2POSIX"]
+ , "name": ["archive_pcre2posix"]
+ , "private-ldflags":
+ { "type": "if"
+ , "cond": {"type": "var", "name": "ENABLE_PCRE2POSIX"}
+ , "then":
+ { "type": "if"
+ , "cond": {"type": "var", "name": "USE_SYSTEM_LIBS"}
+ , "then": ["-lpcre2posix"]
+ }
+ }
+ , "deps":
+ { "type": "if"
+ , "cond": {"type": "var", "name": "ENABLE_PCRE2POSIX"}
+ , "then":
+ { "type": "if"
+ , "cond": {"type": "var", "name": "USE_SYSTEM_LIBS"}
+ , "then": []
+ , "else": [["@", "pcre2posix", "", "pcre2posix"]]
+ }
+ }
+ }
, "archive_pcre":
{ "type": ["@", "rules", "CC", "library"]
, "arguments_config": ["USE_SYSTEM_LIBS", "ENABLE_PCRE"]
@@ -390,6 +414,30 @@
}
}
}
+, "archive_pcre2":
+ { "type": ["@", "rules", "CC", "library"]
+ , "arguments_config": ["USE_SYSTEM_LIBS", "ENABLE_PCRE2"]
+ , "name": ["archive_pcre2"]
+ , "private-ldflags":
+ { "type": "if"
+ , "cond": {"type": "var", "name": "ENABLE_PCRE2"}
+ , "then":
+ { "type": "if"
+ , "cond": {"type": "var", "name": "USE_SYSTEM_LIBS"}
+ , "then": ["-lpcre2"]
+ }
+ }
+ , "deps":
+ { "type": "if"
+ , "cond": {"type": "var", "name": "ENABLE_PCRE2"}
+ , "then":
+ { "type": "if"
+ , "cond": {"type": "var", "name": "USE_SYSTEM_LIBS"}
+ , "then": []
+ , "else": [["@", "pcre2", "", "pcre2"]]
+ }
+ }
+ }
, "archive_regex":
{ "type": ["@", "rules", "CC", "library"]
, "arguments_config": ["USE_SYSTEM_LIBS", "ENABLE_REGEX"]