summaryrefslogtreecommitdiffstats
path: root/disk-utils/Makefile.am
blob: ab44a3309665a5e4db0c311326f66950a600d7db (plain) (blame)
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
include $(top_srcdir)/config/include-Makefile.am

man_MANS = blockdev.8 fdformat.8 isosize.8 mkfs.8 mkswap.8 \
           fsck.minix.8 mkfs.minix.8 mkfs.bfs.8

sbin_PROGRAMS = mkfs mkswap blockdev fsck.minix mkfs.minix mkfs.bfs
fsck_minix_SOURCES = fsck.minix.c bitops.h minix.h
mkfs_minix_SOURCES = mkfs.minix.c bitops.h minix.h
mkfs_bfs_SOURCES = mkfs.bfs.c
mkswap_SOURCES = mkswap.c swapheader.h

usrbinexec_PROGRAMS = fdformat isosize

if BUILD_ELVTUNE
sbin_PROGRAMS += elvtune
man_MANS += elvtune.8
endif

if HAVE_RAW
if BUILD_RAW
sbin_PROGRAMS += raw
man_MANS += raw.8
endif
endif

if BUILD_CRAMFS
sbin_PROGRAMS += fsck.cramfs mkfs.cramfs
fsck_cramfs_SOURCES = fsck.cramfs.c cramfs.h
mkfs_cramfs_SOURCES = mkfs.cramfs.c cramfs.h ../lib/md5.c
fsck_cramfs_LDADD = -lz
mkfs_cramfs_LDADD = -lz
endif

mkswap_LDADD =

if HAVE_UUID
mkswap_LDADD += -luuid
endif

if HAVE_SELINUX
mkswap_LDADD += -lselinux
endif