diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-01-22 02:59:16 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-01-22 02:59:16 +0300 |
commit | 01ff822933d7d9d06ac18de1d6422591e005d7fd (patch) | |
tree | 5eb4136bcd70dd1bbcc1688d19d12167017e3b8b | |
parent | 3c14243dbd97c4786d0c5224c7bdaa5f3adc6534 (diff) | |
download | util-linux-old-01ff822933d7d9d06ac18de1d6422591e005d7fd.tar.gz |
Restored building isosize
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | disk-utils/Makefile.am | 18 |
2 files changed, 12 insertions, 9 deletions
diff --git a/Makefile.am b/Makefile.am index 1358de34..00b803e1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,10 +28,11 @@ SUBDIRS = \ po \ schedutils \ sys-utils \ + disk-utils \ text-utils if LINUX -SUBDIRS += disk-utils fdisk tests +SUBDIRS += fdisk tests endif RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o \ diff --git a/disk-utils/Makefile.am b/disk-utils/Makefile.am index 664c9980..5fe8c73d 100644 --- a/disk-utils/Makefile.am +++ b/disk-utils/Makefile.am @@ -15,9 +15,14 @@ uuid_ldadd = $(UUID_LIBS) endif endif -dist_man_MANS = isosize.8 mkfs.8 mkswap.8 \ - fsck.minix.8 mkfs.minix.8 mkfs.bfs.8 +dist_man_MANS = isosize.8 + +usrbin_exec_PROGRAMS = isosize +usrsbin_exec_PROGRAMS = +isosize_LDADD = -L$(top_builddir)/gnulib -lgnu + +if LINUX sbin_PROGRAMS = mkfs mkswap fsck.minix mkfs.minix mkfs.bfs fsck_minix_SOURCES = fsck.minix.c minix.h @@ -31,16 +36,12 @@ swaplabel_CFLAGS = $(AM_CFLAGS) $(uuid_cflags) mkswap_SOURCES = mkswap.c $(utils_common) $(top_srcdir)/lib/wholedisk.c mkswap_LDADD = $(uuid_ldadd) mkswap_CFLAGS = $(AM_CFLAGS) $(uuid_cflags) - -usrbin_exec_PROGRAMS = isosize -usrsbin_exec_PROGRAMS = - -if LINUX dist_man_MANS += fdformat.8 blockdev.8 sbin_PROGRAMS += blockdev usrsbin_exec_PROGRAMS += fdformat blockdev_SOURCES = blockdev.c $(utils_common) -endif +dist_man_MANS += mkfs.8 mkswap.8 \ + fsck.minix.8 mkfs.minix.8 mkfs.bfs.8 if BUILD_LIBBLKID sbin_PROGRAMS += swaplabel @@ -81,3 +82,4 @@ if HAVE_SELINUX mkswap_LDADD += -lselinux endif +endif |