2010-11-25 01:31:12 +01:00
|
|
|
|
2010-11-26 22:13:32 +01:00
|
|
|
if WANT_JANSSON
|
|
|
|
JANSSON_INCLUDES= -I$(top_srcdir)/compat/jansson
|
|
|
|
else
|
|
|
|
JANSSON_INCLUDES=
|
|
|
|
endif
|
|
|
|
|
2011-02-13 09:04:02 +01:00
|
|
|
EXTRA_DIST = example-cfg.json
|
|
|
|
|
2010-11-26 22:13:32 +01:00
|
|
|
SUBDIRS = compat
|
|
|
|
|
2010-11-26 22:28:12 +01:00
|
|
|
INCLUDES = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES)
|
2010-11-25 01:31:12 +01:00
|
|
|
|
|
|
|
bin_PROGRAMS = minerd
|
|
|
|
|
2012-03-12 13:32:11 +01:00
|
|
|
minerd_SOURCES = elist.h miner.h compat.h \
|
|
|
|
cpu-miner.c util.c \
|
2012-03-31 16:44:59 +02:00
|
|
|
sha2.c sha2-x86.S sha2-x64.S \
|
2012-03-12 13:32:11 +01:00
|
|
|
scrypt.c scrypt-x86.S scrypt-x64.S
|
2010-11-26 22:28:12 +01:00
|
|
|
minerd_LDFLAGS = $(PTHREAD_FLAGS)
|
2012-03-03 16:51:32 +01:00
|
|
|
minerd_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@
|
2011-06-08 23:09:21 +02:00
|
|
|
minerd_CPPFLAGS = @LIBCURL_CPPFLAGS@
|
2010-11-25 01:31:12 +01:00
|
|
|
|