aboutsummaryrefslogtreecommitdiff
path: root/ubifs-utils/Makemodule.am
blob: 0c64445617b3b2c25e11f90d6d9a67f8f1940c93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
mkfs_ubifs_SOURCES = \
	ubifs-utils/mkfs.ubifs/mkfs.ubifs.c \
	ubifs-utils/mkfs.ubifs/defs.h \
	ubifs-utils/mkfs.ubifs/lpt.h \
	ubifs-utils/mkfs.ubifs/mkfs.ubifs.h \
	ubifs-utils/mkfs.ubifs/crc16.h \
	ubifs-utils/mkfs.ubifs/key.h \
	ubifs-utils/mkfs.ubifs/compr.h \
	ubifs-utils/mkfs.ubifs/ubifs.h \
	ubifs-utils/mkfs.ubifs/crc16.c \
	ubifs-utils/mkfs.ubifs/lpt.c \
	ubifs-utils/mkfs.ubifs/compr.c \
	ubifs-utils/mkfs.ubifs/hashtable/hashtable.h \
	ubifs-utils/mkfs.ubifs/hashtable/hashtable_itr.h \
	ubifs-utils/mkfs.ubifs/hashtable/hashtable_private.h \
	ubifs-utils/mkfs.ubifs/hashtable/hashtable.c \
	ubifs-utils/mkfs.ubifs/hashtable/hashtable_itr.c \
	ubifs-utils/mkfs.ubifs/devtable.c

if WITH_CRYPTO
mkfs_ubifs_SOURCES += ubifs-utils/mkfs.ubifs/crypto.c \
		ubifs-utils/mkfs.ubifs/fscrypt.c \
		ubifs-utils/mkfs.ubifs/sign.c
endif

mkfs_ubifs_LDADD = libmtd.a libubi.a $(ZLIB_LIBS) $(LZO_LIBS) $(ZSTD_LIBS) $(UUID_LIBS) $(LIBSELINUX_LIBS) $(OPENSSL_LIBS) -lm
mkfs_ubifs_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_CFLAGS) $(LZO_CFLAGS) $(ZSTD_CFLAGS) $(UUID_CFLAGS) $(LIBSELINUX_CFLAGS)\
	-I$(top_srcdir)/ubi-utils/include -I$(top_srcdir)/ubifs-utils/mkfs.ubifs/

UBIFS_BINS = \
	mkfs.ubifs

UBIFS_HEADER = \
	ubifs-utils/mkfs.ubifs/compr.h ubifs-utils/mkfs.ubifs/crc16.h \
	ubifs-utils/mkfs.ubifs/defs.h ubifs-utils/mkfs.ubifs/key.h \
	ubifs-utils/mkfs.ubifs/lpt.h ubifs-utils/mkfs.ubifs/mkfs.ubifs.h \
	ubifs-utils/mkfs.ubifs/ubifs.h \
	ubifs-utils/mkfs.ubifs/crypto.h \
	ubifs-utils/mkfs.ubifs/fscrypt.h \
	ubifs-utils/mkfs.ubifs/hashtable/hashtable.h \
	ubifs-utils/mkfs.ubifs/hashtable/hashtable_itr.h \
	ubifs-utils/mkfs.ubifs/hashtable/hashtable_private.h

UBIFS_EXTRA = \
	ubifs-utils/mkfs.ubifs/README

EXTRA_DIST += $(UBIFS_HEADER) $(UBIFS_EXTRA)

sbin_PROGRAMS += $(UBIFS_BINS)