aboutsummaryrefslogtreecommitdiff
path: root/jffsX-utils/Makemodule.am
blob: fb181de43ebc3c926a301c5bbea34e8a87c0587e (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
mkfs_jffs2_SOURCES = \
	jffsX-utils/mkfs.jffs2.c \
	jffsX-utils/rbtree.h \
	jffsX-utils/compr_zlib.c \
	jffsX-utils/compr.h \
	jffsX-utils/rbtree.c \
	jffsX-utils/compr_lzo.c \
	jffsX-utils/compr.c \
	jffsX-utils/compr_rtime.c
mkfs_jffs2_LDADD = libmtd.a $(ZLIB_LIBS) $(LZO_LIBS)
mkfs_jffs2_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_CFLAGS) $(LZO_CFLAGS)

jffs2reader_SOURCES = jffsX-utils/jffs2reader.c
jffs2reader_LDADD = libmtd.a $(ZLIB_LIBS) $(LZO_LIBS)

jffs2dump_SOURCES = jffsX-utils/jffs2dump.c
jffs2dump_LDADD = libmtd.a $(ZLIB_LIBS) $(LZO_LIBS)

sumtool_SOURCES = jffsX-utils/sumtool.c
sumtool_LDADD = libmtd.a

JFFSX_BINS = \
	mkfs.jffs2 jffs2dump jffs2reader sumtool

JFFSX_MAN = \
	jffsX-utils/mkfs.jffs2.1

JFFSX_EXTRA = \
	jffsX-utils/device_table.txt jffsX-utils/mkfs.jffs2.1

JFFSX_HEADER = \
	jffsX-utils/compr.h jffsX-utils/rbtree.h jffsX-utils/summary.h

EXTRA_DIST += $(JFFSX_HEADER) $(JFFSX_EXTRA)

dist_man1_MANS += $(JFFSX_MAN)
sbin_PROGRAMS += $(JFFSX_BINS)