diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-08-05 10:28:36 +0200 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-09-03 00:33:19 +0100 |
commit | 89c517d9e26ad232d857ba37d897adbef19b30a9 (patch) | |
tree | 2dd50c147bcfa66c9ce05e5b4923e1910077ba81 /src/local.mk | |
parent | affc8e8087ed6c2575d32e21df2986747f5852ee (diff) | |
download | coreutils-89c517d9e26ad232d857ba37d897adbef19b30a9.tar.xz |
base32: A new program similar to base64
Suggested in https://bugzilla.redhat.com/1250113
* AUTHORS: Add base32.
* THANKS.in: Add suggester.
* README: Reference the new program.
* NEWS: Mention the new program.
* src/.gitignore: Ignore the new binary.
* bootstrap.conf: Reference the gnulib base32 module.
* build-aux/gen-lists-of-programs.sh: Add base32.
* man/base32.x: A new template.
* man/.gitignore: Ignore the new man page.
* man/local.mk: Reference the new man page.
* doc/coreutils.texi (base32 invocation): Document the new command.
* src/local.mk: Adjust to build base32 based on base64.c.
* src/base64.c: Parameterize to use the correct headers,
functions and buffer sizes, depending on which binary
is being built.
* tests/misc/base64.pl: Adjust to test both base32 and base64.
* tests/misc/tty-eof.pl: Add base32 as a program that
accepts input on stdin without any options specified.
* scripts/git-hooks/commit-msg: Add base32 to the template.
Diffstat (limited to 'src/local.mk')
-rw-r--r-- | src/local.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/local.mk b/src/local.mk index 3fb167692..d0ceae4bd 100644 --- a/src/local.mk +++ b/src/local.mk @@ -94,6 +94,7 @@ LDADD = src/libver.a lib/libcoreutils.a $(LIBINTL) lib/libcoreutils.a # See [ below. src_arch_LDADD = $(LDADD) src_base64_LDADD = $(LDADD) +src_base32_LDADD = $(LDADD) src_basename_LDADD = $(LDADD) src_cat_LDADD = $(LDADD) src_chcon_LDADD = $(LDADD) @@ -398,6 +399,10 @@ src_sha384sum_CPPFLAGS = -DHASH_ALGO_SHA384=1 $(AM_CPPFLAGS) src_sha512sum_SOURCES = src/md5sum.c src_sha512sum_CPPFLAGS = -DHASH_ALGO_SHA512=1 $(AM_CPPFLAGS) +src_base64_CPPFLAGS = -DBASE_TYPE=64 $(AM_CPPFLAGS) +src_base32_SOURCES = src/base64.c +src_base32_CPPFLAGS = -DBASE_TYPE=32 $(AM_CPPFLAGS) + src_ginstall_CPPFLAGS = -DENABLE_MATCHPATHCON=1 $(AM_CPPFLAGS) # Ensure we don't link against libcoreutils.a as that lib is |