xref: /src/sys/contrib/zstd/lib/module.modulemap (revision 5ff13fbc199bdf5f0572845351c68ee5ca828e71)
1b3392d84SAllan Judemodule libzstd [extern_c] {
2b3392d84SAllan Jude    header "zstd.h"
3b3392d84SAllan Jude    export *
4b3392d84SAllan Jude    config_macros [exhaustive] /* zstd.h */ \
5b3392d84SAllan Jude        ZSTD_STATIC_LINKING_ONLY, \
6b3392d84SAllan Jude        ZSTDLIB_VISIBLE, \
7b3392d84SAllan Jude        ZSTD_DLL_EXPORT, \
8b3392d84SAllan Jude        ZSTDLIB_STATIC_API, \
9b3392d84SAllan Jude        ZSTD_DISABLE_DEPRECATE_WARNINGS, \
10b3392d84SAllan Jude        ZSTD_CLEVEL_DEFAULT, \
11b3392d84SAllan Jude        /* zdict.h */ ZDICT_STATIC_LINKING_ONLY, \
12b3392d84SAllan Jude        ZDICTLIB_VISIBILITY, \
13b3392d84SAllan Jude        ZDICT_DISABLE_DEPRECATE_WARNINGS, \
14b3392d84SAllan Jude        /* zstd_errors.h */ ZSTDERRORLIB_VISIBILITY
15b3392d84SAllan Jude
16b3392d84SAllan Jude    module dictbuilder [extern_c] {
17b3392d84SAllan Jude        header "zdict.h"
18b3392d84SAllan Jude        export *
19b3392d84SAllan Jude    }
20b3392d84SAllan Jude
21b3392d84SAllan Jude    module errors [extern_c] {
22b3392d84SAllan Jude        header "zstd_errors.h"
23b3392d84SAllan Jude        export *
24b3392d84SAllan Jude    }
25b3392d84SAllan Jude}
26