|
|
@ -22,8 +22,6 @@ INCLUDES = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES) $(USBUTILS_ |
|
|
|
|
|
|
|
|
|
|
|
bin_PROGRAMS = cgminer |
|
|
|
bin_PROGRAMS = cgminer |
|
|
|
|
|
|
|
|
|
|
|
bin_SCRIPTS = $(top_srcdir)/*.cl |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cgminer_LDFLAGS = $(PTHREAD_FLAGS) |
|
|
|
cgminer_LDFLAGS = $(PTHREAD_FLAGS) |
|
|
|
cgminer_LDADD = $(DLOPEN_FLAGS) @LIBCURL_LIBS@ @JANSSON_LIBS@ @PTHREAD_LIBS@ \
|
|
|
|
cgminer_LDADD = $(DLOPEN_FLAGS) @LIBCURL_LIBS@ @JANSSON_LIBS@ @PTHREAD_LIBS@ \
|
|
|
|
@OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ @WS2_LIBS@ \
|
|
|
|
@OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ @WS2_LIBS@ \
|
|
|
@ -47,11 +45,10 @@ cgminer_SOURCES += elist.h miner.h compat.h bench_block.h \ |
|
|
|
|
|
|
|
|
|
|
|
cgminer_SOURCES += logging.c |
|
|
|
cgminer_SOURCES += logging.c |
|
|
|
|
|
|
|
|
|
|
|
# GPU sources, TODO: make them selectable
|
|
|
|
if HAVE_OPENCL |
|
|
|
# the GPU portion extracted from original main.c
|
|
|
|
bin_SCRIPTS = $(top_srcdir)/*.cl |
|
|
|
cgminer_SOURCES += driver-opencl.h driver-opencl.c |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# the original GPU related sources, unchanged
|
|
|
|
cgminer_SOURCES += driver-opencl.h driver-opencl.c |
|
|
|
cgminer_SOURCES += ocl.c ocl.h findnonce.c findnonce.h |
|
|
|
cgminer_SOURCES += ocl.c ocl.h findnonce.c findnonce.h |
|
|
|
cgminer_SOURCES += adl.c adl.h adl_functions.h |
|
|
|
cgminer_SOURCES += adl.c adl.h adl_functions.h |
|
|
|
cgminer_SOURCES += *.cl |
|
|
|
cgminer_SOURCES += *.cl |
|
|
@ -60,6 +57,9 @@ if HAS_SCRYPT |
|
|
|
cgminer_SOURCES += scrypt.c scrypt.h |
|
|
|
cgminer_SOURCES += scrypt.c scrypt.h |
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if NEED_FPGAUTILS |
|
|
|
if NEED_FPGAUTILS |
|
|
|
cgminer_SOURCES += fpgautils.c fpgautils.h |
|
|
|
cgminer_SOURCES += fpgautils.c fpgautils.h |
|
|
|
endif |
|
|
|
endif |
|
|
|