From 957bab4e914ee56721069ee38a38517b658b1ab3 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 26 Jun 2012 18:24:16 +0200 Subject: build-sys: move partx to disk-utils/ Signed-off-by: Karel Zak --- disk-utils/Makemodule.am | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'disk-utils/Makemodule.am') diff --git a/disk-utils/Makemodule.am b/disk-utils/Makemodule.am index 7219f8c73..48506980c 100644 --- a/disk-utils/Makemodule.am +++ b/disk-utils/Makemodule.am @@ -126,3 +126,40 @@ usrsbin_exec_PROGRAMS += fdformat dist_man_MANS += disk-utils/fdformat.8 fdformat_SOURCES = disk-utils/fdformat.c endif # LINUX + + +if BUILD_PARTX +usrsbin_exec_PROGRAMS += partx addpart delpart +dist_man_MANS += \ + disk-utils/addpart.8 \ + disk-utils/delpart.8 \ + disk-utils/partx.8 + + +addpart_SOURCES = \ + disk-utils/addpart.c \ + disk-utils/partx.h \ + lib/strutils.c + +delpart_SOURCES = \ + disk-utils/delpart.c \ + disk-utils/partx.h \ + lib/strutils.c + +partx_SOURCES = \ + disk-utils/partx.c \ + disk-utils/partx.h \ + lib/at.c \ + lib/blkdev.c \ + lib/canonicalize.c \ + lib/linux_version.c \ + lib/loopdev.c \ + lib/mbsalign.c \ + lib/strutils.c \ + lib/sysfs.c \ + lib/tt.c + +partx_CFLAGS = -I$(ul_libblkid_incdir) +partx_LDADD = libblkid.la + +endif # BUILD_PARTX -- cgit v1.2.3-55-g7522