diff --git a/Makefile.in b/Makefile.in index 0aeb081..0bffca3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -23,6 +23,11 @@ bindir = @bindir@ srcdir = @srcdir@ VPATH = @srcdir@ +# Terminal colors +RED=`tput setaf 1` +GREEN=`tput setaf 2` +RESET=`tput sgr0` + .PHONY: all clean all clean: cd src && $(MAKE) $@ @@ -79,12 +84,12 @@ distcheck: $(tarball) cd $(distdir) && $(MAKE) DESTDIR=$${PWD}/_inst uninstall @remaining="`find $(distdir)/_inst -type f | wc -l`"; \ if test "$${remaining}" -ne 0; then \ - echo "*** $${remaining} file(s) remaining in stage directory!"; \ + echo "$(RED)*** $${remaining} file(s) remaining in stage directory!$(RESET)"; \ exit 1; \ fi cd $(distdir) && $(MAKE) clean rm -rf $(distdir) - @echo "*** Package $(tarball) is ready for distribution." + @echo "$(GREEN)*** Package $(tarball) is ready for distribution.$(RESET)" .PHONY: FORCE FORCE: diff --git a/configure b/configure index ab12421..13797c3 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for bc-shamir 1.0. +# Generated by GNU Autoconf 2.69 for bc-shamir 0.1. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='bc-shamir' PACKAGE_TARNAME='bc-shamir' -PACKAGE_VERSION='1.0' -PACKAGE_STRING='bc-shamir 1.0' +PACKAGE_VERSION='0.1' +PACKAGE_STRING='bc-shamir 0.1' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1225,7 +1225,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures bc-shamir 1.0 to adapt to many kinds of systems. +\`configure' configures bc-shamir 0.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1286,7 +1286,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of bc-shamir 1.0:";; + short | recursive ) echo "Configuration of bc-shamir 0.1:";; esac cat <<\_ACEOF @@ -1366,7 +1366,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -bc-shamir configure 1.0 +bc-shamir configure 0.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1915,7 +1915,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by bc-shamir $as_me 1.0, which was +It was created by bc-shamir $as_me 0.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -4383,7 +4383,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by bc-shamir $as_me 1.0, which was +This file was extended by bc-shamir $as_me 0.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4445,7 +4445,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -bc-shamir config.status 1.0 +bc-shamir config.status 0.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 04a3641..8ab78ae 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) -AC_INIT([bc-shamir], [1.0]) +AC_INIT([bc-shamir], [0.1]) AC_CONFIG_SRCDIR([config.h.in]) AC_CONFIG_HEADERS([config.h]) diff --git a/src/Makefile.in b/src/Makefile.in index 6eba10d..261787e 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -22,7 +22,12 @@ bindir = @bindir@ srcdir = @srcdir@ VPATH = @srcdir@ -CFLAGS = -g -O0 +# Terminal colors +RED=`tput setaf 1` +GREEN=`tput setaf 2` +RESET=`tput sgr0` + +CFLAGS += -g -O0 ARFLAGS = rcs OBJS = hazmat.o interpolate.o shamir.o diff --git a/test/Makefile.in b/test/Makefile.in index 3065245..f94dee0 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -22,13 +22,18 @@ bindir = @bindir@ srcdir = @srcdir@ VPATH = @srcdir@ -CFLAGS = -g -O0 +# Terminal colors +RED=`tput setaf 1` +GREEN=`tput setaf 2` +RESET=`tput sgr0` + +CFLAGS += -g -O0 .PHONY: all all: test TEST_OBJS = test.o test-utils.o -LDFLAGS = -lbc-crypto-base +LDFLAGS += -lbc-crypto-base libdir = ../src lib = $(libdir)/$(libname) @@ -44,7 +49,7 @@ test-utils.o: test-utils.h .PHONY: check check: test ./test - @echo "*** ALL TESTS PASSED ***" + @echo "$(GREEN)*** ALL TESTS PASSED ***$(RESET)" .PHONY: clean clean: