xref: /openbmc/linux/fs/ntfs3/Makefile (revision 0545810f)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the ntfs3 filesystem support.
4#
5
6# to check robot warnings
7ccflags-y += -Wint-to-pointer-cast \
8	$(call cc-option,-Wunused-but-set-variable,-Wunused-const-variable) \
9	$(call cc-option,-Wold-style-declaration,-Wout-of-line-declaration)
10
11obj-$(CONFIG_NTFS3_FS) += ntfs3.o
12
13ntfs3-y :=	attrib.o \
14		attrlist.o \
15		bitfunc.o \
16		bitmap.o \
17		dir.o \
18		fsntfs.o \
19		frecord.o \
20		file.o \
21		fslog.o \
22		inode.o \
23		index.o \
24		lznt.o \
25		namei.o \
26		record.o \
27		run.o \
28		super.o \
29		upcase.o \
30		xattr.o
31
32ntfs3-$(CONFIG_NTFS3_LZX_XPRESS) += $(addprefix lib/,\
33		decompress_common.o \
34		lzx_decompress.o \
35		xpress_decompress.o \
36		)