Skip to content

Commit

Permalink
Merge pull request #23 from BlockchainCommons/develop
Browse files Browse the repository at this point in the history
Release 0.1
ChristopherA authored May 20, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 28b805d + 1f4805f commit 2fbb747
Showing 5 changed files with 30 additions and 15 deletions.
9 changes: 7 additions & 2 deletions Makefile.in
Original file line number Diff line number Diff line change
@@ -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:
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-crypto-base 1.0.
# Generated by GNU Autoconf 2.69 for bc-crypto-base 0.1.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -577,8 +577,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='bc-crypto-base'
PACKAGE_TARNAME='bc-crypto-base'
PACKAGE_VERSION='1.0'
PACKAGE_STRING='bc-crypto-base 1.0'
PACKAGE_VERSION='0.1'
PACKAGE_STRING='bc-crypto-base 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-crypto-base 1.0 to adapt to many kinds of systems.
\`configure' configures bc-crypto-base 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-crypto-base 1.0:";;
short | recursive ) echo "Configuration of bc-crypto-base 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-crypto-base configure 1.0
bc-crypto-base configure 0.1
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1839,7 +1839,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-crypto-base $as_me 1.0, which was
It was created by bc-crypto-base $as_me 0.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -4249,7 +4249,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-crypto-base $as_me 1.0, which was
This file was extended by bc-crypto-base $as_me 0.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -4311,7 +4311,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-crypto-base config.status 1.0
bc-crypto-base config.status 0.1
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([bc-crypto-base], [1.0])
AC_INIT([bc-crypto-base], [0.1])
AC_CONFIG_SRCDIR([src/sha2.c])
AC_CONFIG_HEADERS([config.h])

7 changes: 6 additions & 1 deletion src/Makefile.in
Original file line number Diff line number Diff line change
@@ -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 = memzero.o sha2.o hmac.o pbkdf2.o
9 changes: 7 additions & 2 deletions test/Makefile.in
Original file line number Diff line number Diff line change
@@ -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

.PHONY: all
all: test
@@ -43,7 +48,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:

0 comments on commit 2fbb747

Please sign in to comment.