Debian Codegraph @

Makefile

raw symbols SCIP
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Makefile for the out-of-tree Linux APFS module.
4 #
5
6 KERNELRELEASE ?= $(shell uname -r)
7 KERNEL_DIR ?= /lib/modules/$(KERNELRELEASE)/build
8 PWD := $(shell pwd)
9
10 obj-m = apfs.o
11 apfs-y := btree.o compress.o dir.o extents.o file.o inode.o key.o libzbitmap.o \
12 lzfse/lzfse_decode.o lzfse/lzfse_decode_base.o lzfse/lzfse_fse.o \
13 lzfse/lzvn_decode_base.o message.o namei.o node.o object.o snapshot.o \
14 spaceman.o super.o symlink.o transaction.o unicode.o xattr.o xfield.o
15
16 # If you want mounts to be writable by default, run the build as:
17 # make APFS_CONFIG=-DCONFIG_APFS_RW_ALWAYS
18 # This is risky and not generally recommended.
19 ccflags-y += $(APFS_CONFIG)
20
21 default:
22 ./genver.sh
23 make -C $(KERNEL_DIR) M=$(PWD)
24 install:
25 make -C $(KERNEL_DIR) M=$(PWD) modules_install
26 clean:
27 rm -f version.h
28 make -C $(KERNEL_DIR) M=$(PWD) clean