diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2008-07-24 01:15:07 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2008-07-24 01:15:07 +0200 |
commit | 098fa6b1201bd66bc8fcb54b103ff241e3136dca (patch) | |
tree | 09904b63e53f7e7bbc083cd111833200aeae7c92 /disk-utils/Makefile.am | |
parent | 6b0054a2c6dddb43155220cac13848df98d74423 (diff) | |
download | util-linux-old-098fa6b1201bd66bc8fcb54b103ff241e3136dca.tar.gz |
disk-utils: clean up code, use blkdev_* functions
[kzak@redhat.com: split the original patch to small patches]
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/Makefile.am')
-rw-r--r-- | disk-utils/Makefile.am | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/disk-utils/Makefile.am b/disk-utils/Makefile.am index ef9ceab4..f2d62452 100644 --- a/disk-utils/Makefile.am +++ b/disk-utils/Makefile.am @@ -2,25 +2,26 @@ include $(top_srcdir)/config/include-Makefile.am utils_common = ../lib/blkdev.c if LINUX -utils_common += ../lib/linux_version.c +utils_common += ../lib/linux_version.c endif -dist_man_MANS = blockdev.8 isosize.8 mkfs.8 mkswap.8 \ +dist_man_MANS = 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 +sbin_PROGRAMS = mkfs mkswap 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 $(utils_common) -mkfs_bfs_SOURCES = mkfs.bfs.c +mkfs_bfs_SOURCES = mkfs.bfs.c $(utils_common) mkswap_SOURCES = mkswap.c swapheader.h $(utils_common) -blockdev_SOURCES = blockdev.c $(utils_common) usrbinexec_PROGRAMS = isosize usrsbinexec_PROGRAMS = if LINUX -dist_man_MANS += fdformat.8 +dist_man_MANS += fdformat.8 blockdev.8 +sbin_PROGRAMS += blockdev usrsbinexec_PROGRAMS += fdformat +blockdev_SOURCES = blockdev.c $(utils_common) endif if BUILD_ELVTUNE @@ -38,8 +39,8 @@ 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_SOURCES = fsck.cramfs.c cramfs.h $(utils_common) +mkfs_cramfs_SOURCES = mkfs.cramfs.c cramfs.h ../lib/md5.c $(utils_common) fsck_cramfs_LDADD = -lz mkfs_cramfs_LDADD = -lz endif |