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