Skip to content

Commit

Permalink
Merge pull request #25 from BlockchainCommons/develop
Browse files Browse the repository at this point in the history
Release 0.1
  • Loading branch information
ChristopherA committed May 20, 2020
2 parents 057b758 + cea2c93 commit 697c3de
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 16 deletions.
9 changes: 7 additions & 2 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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) $@
Expand Down Expand Up @@ -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:
Expand Down
18 changes: 9 additions & 9 deletions configure
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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=''

Expand Down Expand Up @@ -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]...
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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 $@
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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\\"
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down
7 changes: 6 additions & 1 deletion src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 8 additions & 3 deletions test/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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:
Expand Down

0 comments on commit 697c3de

Please sign in to comment.