This repository has been archived by the owner on Nov 2, 2018. It is now read-only.
forked from ghostlander/cpuminer-neoscrypt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert over to autotools. Release version 0.1.
- Loading branch information
Jeff Garzik
authored and
Jeff Garzik
committed
Nov 25, 2010
1 parent
e33abcd
commit 702e2ac
Showing
12 changed files
with
431 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Jeff Garzik <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
See git repository ('git log') for full changelog. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
cpuminer is available under the terms of the GNU Public License version 2. | ||
|
||
See COPYING for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
INCLUDES = -pthread | ||
|
||
bin_PROGRAMS = minerd | ||
|
||
minerd_SOURCES = cpu-miner.c sha256_generic.c | ||
minerd_LDFLAGS = -pthread | ||
minerd_LDADD = @CRYPTO_LIBS@ @LIBCURL@ @JANSSON_LIBS@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
Version 0.1 - November 24, 2010 | ||
|
||
- Initial release. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
|
||
This is a CPU miner for bitcoin. | ||
This is a multi-threaded CPU miner for bitcoin. | ||
|
||
License: X11/MIT | ||
See http://www.opensource.org/licenses/mit-license.php | ||
License: GPLv2. See COPYING for details. | ||
|
||
Dependencies: | ||
libcurl http://curl.haxx.se/libcurl/ | ||
jansson http://www.digip.org/jansson/ | ||
OpenSSL libcrypto http://www.openssl.org/ | ||
|
||
Basic build instructions: | ||
./autogen.sh | ||
./configure | ||
make | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
|
||
# You need autoconf 2.5x, preferably 2.57 or later | ||
# You need automake 1.7 or later. 1.6 might work. | ||
|
||
set -e | ||
|
||
aclocal | ||
autoheader | ||
automake --gnu --add-missing --copy | ||
autoconf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
AC_INIT([cpuminer], [0.1]) | ||
|
||
AC_PREREQ(2.52) | ||
AC_CONFIG_SRCDIR([cpu-miner.c]) | ||
AM_INIT_AUTOMAKE([gnu]) | ||
AC_CONFIG_HEADERS([cpuminer-config.h]) | ||
|
||
dnl Make sure anyone changing configure.ac/Makefile.am has a clue | ||
AM_MAINTAINER_MODE | ||
|
||
dnl Checks for programs | ||
AC_PROG_CC | ||
AC_PROG_GCC_TRADITIONAL | ||
AM_PROG_CC_C_O | ||
|
||
dnl Checks for header files. | ||
AC_HEADER_STDC | ||
|
||
AC_CHECK_LIB(crypto, MD5_Init, CRYPTO_LIBS=-lcrypto) | ||
AC_CHECK_LIB(jansson, json_loads, JANSSON_LIBS=-ljansson) | ||
|
||
PKG_PROG_PKG_CONFIG() | ||
|
||
LIBCURL_CHECK_CONFIG(, 7.10.1, , | ||
[AC_MSG_ERROR([Missing required libcurl >= 7.10.1])]) | ||
|
||
AC_SUBST(CRYPTO_LIBS) | ||
AC_SUBST(JANSSON_LIBS) | ||
|
||
AC_CONFIG_FILES([ | ||
Makefile | ||
]) | ||
AC_OUTPUT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters