sys/vfs/hammer2: Avoid void* pointer arithmetic
[dragonfly.git] / sys / vfs / hammer2 / Makefile
1 # Makefile for hammer2 vfs
2 #
3 #
4 # NOTE! hammer2 is intended to be as self-contained and self-compatible as
5 #       possible in terms of core compression support, so we prefix that
6 #       code to avoid conflicts with the kernel proper.
7 #
8 .PATH: ${.CURDIR} ${.CURDIR}/zlib ${.CURDIR}/xxhash
9
10 # NOTE: We have to define Z_PREFIX and XXH_NAMESPACE in xxhash.h and
11 #       hammer2_zlib_zconf.h directly in order to allow hammer2 to be
12 #       specified in conf/files.
13 #
14 KCFLAGS+= -DINVARIANTS
15 #KCFLAGS+= -DZ_PREFIX -DXXH_NAMESPACE=h2_
16 KMOD=   hammer2
17 SRCS=   hammer2_vfsops.c hammer2_vnops.c hammer2_xops.c hammer2_inode.c
18 SRCS+=  hammer2_strategy.c hammer2_ondisk.c
19 SRCS+=  hammer2_chain.c hammer2_flush.c hammer2_freemap.c hammer2_cluster.c
20 SRCS+=  hammer2_ioctl.c hammer2_msgops.c hammer2_subr.c hammer2_bulkfree.c
21 SRCS+=  hammer2_lz4.c hammer2_io.c hammer2_iocom.c hammer2_admin.c
22 SRCS+=  hammer2_synchro.c
23 SRCS+=  hammer2_zlib_adler32.c hammer2_zlib_deflate.c
24 SRCS+=  hammer2_zlib_inffast.c hammer2_zlib_inflate.c
25 SRCS+=  hammer2_zlib_inftrees.c hammer2_zlib_trees.c
26 SRCS+=  hammer2_zlib_zutil.c
27 SRCS+=  xxhash.c
28
29 .include <bsd.kmod.mk>