mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-30 05:30:55 +00:00
1d9cbf3c83
commit 1790203deed19a93c60813f75956f2788ac96c95 category: bugfix issue: #I6VAS0 CVE: NA Signed-off-by: DongSenhao <dongsenhao2@huawei.com> --------------------------------------- Fix multiple compiler warnings and build errors reported by the MinGW cross-compiler. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
22 lines
888 B
Makefile
22 lines
888 B
Makefile
## Makefile.am
|
|
|
|
AM_CPPFLAGS = ${libuuid_CFLAGS} -I$(top_srcdir)/include
|
|
AM_CFLAGS = -Wall
|
|
sbin_PROGRAMS = fsck.f2fs
|
|
noinst_HEADERS = common.h dict.h dqblk_v2.h f2fs.h fsck.h node.h quotaio.h \
|
|
quotaio_tree.h quotaio_v2.h xattr.h compress.h
|
|
include_HEADERS = $(top_srcdir)/include/quota.h
|
|
fsck_f2fs_SOURCES = main.c fsck.c dump.c mount.c defrag.c resize.c \
|
|
node.c segment.c dir.c sload.c xattr.c compress.c \
|
|
dict.c mkquota.c quotaio.c quotaio_tree.c quotaio_v2.c
|
|
fsck_f2fs_LDADD = ${libselinux_LIBS} ${libuuid_LIBS} \
|
|
${liblzo2_LIBS} ${liblz4_LIBS} ${libwinpthread_LIBS} \
|
|
$(top_builddir)/lib/libf2fs.la
|
|
|
|
install-data-hook:
|
|
ln -sf fsck.f2fs $(DESTDIR)/$(sbindir)/dump.f2fs
|
|
ln -sf fsck.f2fs $(DESTDIR)/$(sbindir)/defrag.f2fs
|
|
ln -sf fsck.f2fs $(DESTDIR)/$(sbindir)/resize.f2fs
|
|
ln -sf fsck.f2fs $(DESTDIR)/$(sbindir)/sload.f2fs
|
|
ln -sf fsck.f2fs $(DESTDIR)/$(sbindir)/f2fslabel
|