2010-11-25 00:31:12 +00:00
|
|
|
|
2011-06-24 18:43:37 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2013-12-09 03:06:07 +00:00
|
|
|
JANSSON_CPPFLAGS= -I$(top_builddir)/compat/jansson-2.5/src -I$(top_srcdir)/compat/jansson-2.5/src
|
2010-11-26 21:13:32 +00:00
|
|
|
|
2014-01-15 11:49:01 +00:00
|
|
|
EXTRA_DIST = example.conf m4/gnulib-cache.m4 \
|
2011-12-28 23:22:16 +00:00
|
|
|
ADL_SDK/readme.txt api-example.php miner.php \
|
2014-01-15 13:37:55 +00: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 08:04:02 +00:00
|
|
|
|
2011-07-06 07:17:25 +00:00
|
|
|
SUBDIRS = lib compat ccan
|
2010-11-26 21:13:32 +00:00
|
|
|
|
2014-01-15 13:37:55 +00:00
|
|
|
bin_PROGRAMS = sgminer
|
2010-11-25 00:31:12 +00:00
|
|
|
|
2014-01-15 13:37:55 +00: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 09:25:04 +00:00
|
|
|
@OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ @WS2_LIBS@ \
|
2013-11-17 01:38:30 +00:00
|
|
|
@MM_LIBS@ @RT_LIBS@ @MATH_LIBS@ lib/libgnu.a ccan/libccan.a
|
2012-11-18 06:19:53 +00:00
|
|
|
|
2014-01-15 13:36:19 +00:00
|
|
|
sgminer_CPPFLAGS += -I$(top_builddir)/lib -I$(top_srcdir)/lib @OPENCL_FLAGS@
|
2013-12-09 04:06:43 +00:00
|
|
|
|
|
|
|
if !HAVE_WINDOWS
|
2014-01-15 13:36:19 +00:00
|
|
|
sgminer_CPPFLAGS += @LIBCURL_CFLAGS@
|
2013-04-05 00:58:21 +00:00
|
|
|
endif
|
2010-11-25 00:31:12 +00:00
|
|
|
|
2014-01-15 13:36:19 +00:00
|
|
|
sgminer_CPPFLAGS += $(ADL_CPPFLAGS)
|
|
|
|
|
|
|
|
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
|
|
|
|
sgminer_SOURCES += scrypt.c scrypt.h
|
2014-01-20 14:04:43 +00:00
|
|
|
sgminer_SOURCES += kernel/*.cl
|
2013-12-03 22:37:49 +00:00
|
|
|
|
2014-01-20 14:04:43 +00:00
|
|
|
bin_SCRIPTS = $(top_srcdir)/kernel/*.cl
|
2012-06-11 03:02:10 +00:00
|
|
|
|