diff options
| author | Michael Forney <mforney@mforney.org> | 2016-11-09 09:32:59 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-11-09 09:32:59 -0800 |
| commit | 1dce34dae0791ce13c9e2f89fca77e28db54d9d6 (patch) | |
| tree | 530b3a8db64958c728dda23db72d91171ddfb6ef /core/util-linux/gen.rc | |
| parent | 1d155f7d948c0a83ce80342f10ae226a2d2da533 (diff) | |
Add util-linux 2.29 (for fdisk)
Diffstat (limited to 'core/util-linux/gen.rc')
| -rw-r--r-- | core/util-linux/gen.rc | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/core/util-linux/gen.rc b/core/util-linux/gen.rc new file mode 100644 index 00000000..220a4637 --- /dev/null +++ b/core/util-linux/gen.rc @@ -0,0 +1,107 @@ +cflags\ + -include '$dir'/config.h\ + -I include\ + -I '$dir' \ + -I '$outdir' \ + -I '$srcdir'/include\ + -I '$srcdir'/libuuid/src + +build '$outdir'/libsmartcols.h sed '$srcdir'/libsmartcols/src/libsmartcols.h.in ; with\ + expr '''s,"@LIBSMARTCOLS_VERSION@",PACKAGE_VERSION,''' +build '$outdir'/libfdisk.h sed '$srcdir'/libfdisk/src/libfdisk.h.in ; expr=(\ + -e '''s,"@LIBFDISK_VERSION@",PACKAGE_VERSION,''' \ + -e /@LIBFDISK_MAJOR_VERSION@/d\ + -e /@LIBFDISK_MINOR_VERSION@/d\ + -e /@LIBFDISK_PATCH_VERSION@/d\ +) with expr $"expr + +phony deps libsmartcols.h libfdisk.h + +lib libcommon.a lib/^(\ + blkdev.c\ + canonicalize.c\ + crc32.c\ + env.c\ + idcache.c\ + fileutils.c\ + ismounted.c\ + mangle.c\ + match.c\ + mbsalign.c\ + md5.c\ + pager.c\ + path.c\ + randutils.c\ + setproctitle.c\ + strutils.c\ + timeutils.c\ + ttyutils.c\ + exec_shell.c\ + strv.c\ + \ + linux_version.c\ + loopdev.c\ + \ + procutils.c\ + sysfs.c\ +) + +lib libfdisk.a libfdisk/src/^(\ + init.c\ + field.c\ + item.c\ + test.c\ + ask.c\ + alignment.c\ + label.c\ + utils.c\ + context.c\ + parttype.c\ + partition.c\ + table.c\ + iter.c\ + script.c\ + version.c\ + wipe.c\ + \ + sun.c\ + sgi.c\ + dos.c\ + bsd.c\ + gpt.c\ +) libuuid.a libcommon.a + +lib libsmartcols.a libsmartcols/src/^(\ + iter.c\ + symbols.c\ + cell.c\ + column.c\ + line.c\ + table.c\ + table_print.c\ + version.c\ + init.c\ +) + +lib libtcolors.a lib/^(colors.c color-names.c) + +lib libuuid.a libuuid/src/^(\ + clear.c\ + compare.c\ + copy.c\ + gen_uuid.c\ + isnull.c\ + pack.c\ + parse.c\ + unpack.c\ + unparse.c\ + uuid_time.c\ +) + +exe fdisk -d 'phony/$dir/deps' \ + disk-utils/^(fdisk.c fdisk-menu.c fdisk-list.c)\ + libfdisk.a.d libsmartcols.a libtcolors.a +file bin/fdisk '$outdir'/fdisk 755 +file share/man/man8/fdisk.8 '$srcdir'/disk-utils/fdisk.8 644 + +fetch git |
