xref: /freebsd/sys/contrib/zstd/zlibWrapper/BUCK (revision 052d3c129019c2f03488f7cb7399580091f9a713)
10c16b537SWarner Loshcxx_library(
20c16b537SWarner Losh    name='zlib_wrapper',
30c16b537SWarner Losh    visibility=['PUBLIC'],
40c16b537SWarner Losh    exported_linker_flags=['-lz'],
50c16b537SWarner Losh    header_namespace='',
60c16b537SWarner Losh    exported_headers=['zstd_zlibwrapper.h'],
70c16b537SWarner Losh    headers=[
80c16b537SWarner Losh        'gzcompatibility.h',
90c16b537SWarner Losh        'gzguts.h',
100c16b537SWarner Losh    ],
110c16b537SWarner Losh    srcs=glob(['*.c']),
120c16b537SWarner Losh    deps=[
130c16b537SWarner Losh        '//lib:zstd',
140c16b537SWarner Losh        '//lib:zstd_common',
15*052d3c12SConrad Meyer    ],
160c16b537SWarner Losh)
170c16b537SWarner Losh
180c16b537SWarner Loshcxx_binary(
190c16b537SWarner Losh    name='minigzip',
200c16b537SWarner Losh    srcs=['examples/minigzip.c'],
210c16b537SWarner Losh    deps=[':zlib_wrapper'],
220c16b537SWarner Losh)
23