2010-11-24 19:31:12 -05:00
|
|
|
|
2011-06-25 04:43:37 +10:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2013-12-09 14:06:07 +11:00
|
|
|
JANSSON_CPPFLAGS= -I$(top_builddir)/compat/jansson-2.5/src -I$(top_srcdir)/compat/jansson-2.5/src
|
2010-11-26 16:13:32 -05:00
|
|
|
|
2014-01-15 13:49:01 +02:00
|
|
|
EXTRA_DIST = example.conf m4/gnulib-cache.m4 \
|
2011-12-29 10:22:16 +11:00
|
|
|
ADL_SDK/readme.txt api-example.php miner.php \
|
2014-01-15 15:37:55 +02:00
|
|
|
API.class API.java api-example.c hexdump.c \
|
|
|
|
doc/API doc/FAQ doc/GPU doc/SCRYPT doc/windows-build.txt
|
2011-02-13 03:04:02 -05:00
|
|
|
|
2014-02-19 23:06:29 +01:00
|
|
|
SUBDIRS = lib compat ccan sph
|
2010-11-26 16:13:32 -05:00
|
|
|
|
2014-01-15 15:37:55 +02:00
|
|
|
bin_PROGRAMS = sgminer
|
2010-11-24 19:31:12 -05:00
|
|
|
|
2014-01-15 15:37:55 +02:00
|
|
|
sgminer_CPPFLAGS = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_CPPFLAGS)
|
|
|
|
sgminer_LDFLAGS = $(PTHREAD_FLAGS)
|
|
|
|
sgminer_LDADD = $(DLOPEN_FLAGS) @LIBCURL_LIBS@ @JANSSON_LIBS@ @PTHREAD_LIBS@ \
|
2012-01-01 20:25:04 +11:00
|
|
|
@OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ @WS2_LIBS@ \
|
2014-02-19 23:06:29 +01:00
|
|
|
@MM_LIBS@ @RT_LIBS@ @MATH_LIBS@ lib/libgnu.a ccan/libccan.a sph/libsph.a
|
2012-11-18 17:19:53 +11:00
|
|
|
|
2014-01-15 15:36:19 +02:00
|
|
|
sgminer_CPPFLAGS += -I$(top_builddir)/lib -I$(top_srcdir)/lib @OPENCL_FLAGS@
|
2013-12-09 15:06:43 +11:00
|
|
|
|
|
|
|
if !HAVE_WINDOWS
|
2014-01-15 15:36:19 +02:00
|
|
|
sgminer_CPPFLAGS += @LIBCURL_CFLAGS@
|
2013-04-05 11:58:21 +11:00
|
|
|
endif
|
2010-11-24 19:31:12 -05:00
|
|
|
|
2014-01-15 15:36:19 +02:00
|
|
|
sgminer_CPPFLAGS += $(ADL_CPPFLAGS)
|
|
|
|
|
2014-02-04 13:49:59 +02:00
|
|
|
if USE_GIT_VERSION
|
|
|
|
GIT_VERSION := $(shell sh -c 'git describe --abbrev=4 --dirty')
|
|
|
|
sgminer_CPPFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
|
|
|
|
endif
|
|
|
|
|
2014-01-15 15:36:19 +02:00
|
|
|
sgminer_SOURCES := sgminer.c
|
|
|
|
sgminer_SOURCES += api.c
|
|
|
|
sgminer_SOURCES += elist.h miner.h compat.h bench_block.h
|
|
|
|
sgminer_SOURCES += util.c util.h uthash.h
|
|
|
|
sgminer_SOURCES += sha2.c sha2.h
|
|
|
|
sgminer_SOURCES += logging.c logging.h
|
|
|
|
sgminer_SOURCES += driver-opencl.c driver-opencl.h
|
|
|
|
sgminer_SOURCES += ocl.c ocl.h
|
|
|
|
sgminer_SOURCES += findnonce.c findnonce.h
|
|
|
|
sgminer_SOURCES += adl.c adl.h adl_functions.h
|
2014-02-28 22:14:59 +02:00
|
|
|
sgminer_SOURCES += pool.c pool.h
|
2014-03-06 20:55:56 +02:00
|
|
|
sgminer_SOURCES += algorithm.c algorithm.h
|
2014-01-15 15:36:19 +02:00
|
|
|
sgminer_SOURCES += scrypt.c scrypt.h
|
2014-02-19 23:06:29 +01:00
|
|
|
sgminer_SOURCES += darkcoin.c darkcoin.h
|
2014-02-22 19:21:05 +01:00
|
|
|
sgminer_SOURCES += qubitcoin.c qubitcoin.h
|
2014-02-21 15:45:29 +01:00
|
|
|
sgminer_SOURCES += quarkcoin.c quarkcoin.h
|
2014-03-01 09:33:32 +01:00
|
|
|
sgminer_SOURCES += myriadcoin-groestl.c myriadcoin-groestl.h
|
2014-03-17 19:25:43 +01:00
|
|
|
sgminer_SOURCES += fuguecoin.c fuguecoin.h
|
2014-02-22 12:46:46 +01:00
|
|
|
sgminer_SOURCES += inkcoin.c inkcoin.h
|
2014-03-05 18:00:30 +01:00
|
|
|
sgminer_SOURCES += animecoin.c animecoin.h
|
2014-03-22 23:50:21 +01:00
|
|
|
sgminer_SOURCES += groestlcoin.c groestlcoin.h
|
2014-03-31 17:02:06 +02:00
|
|
|
sgminer_SOURCES += sifcoin.c sifcoin.h
|
2014-04-05 17:27:59 +02:00
|
|
|
sgminer_SOURCES += twecoin.c twecoin.h
|
2014-04-15 00:20:05 +02:00
|
|
|
sgminer_SOURCES += marucoin.c marucoin.h
|
2014-05-27 01:01:09 +02:00
|
|
|
sgminer_SOURCES += maxcoin.c maxcoin.h
|
2014-01-20 16:04:43 +02:00
|
|
|
sgminer_SOURCES += kernel/*.cl
|
2013-12-04 00:37:49 +02:00
|
|
|
|
2014-01-20 16:04:43 +02:00
|
|
|
bin_SCRIPTS = $(top_srcdir)/kernel/*.cl
|
2012-06-11 03:02:10 +00:00
|
|
|
|