cpuminer/Makefile.am

38 lines
767 B
Text
Raw Normal View History

if WANT_JANSSON
JANSSON_INCLUDES= -I$(top_srcdir)/compat/jansson
else
JANSSON_INCLUDES=
endif
2012-06-07 22:39:04 +02:00
EXTRA_DIST = example-cfg.json nomacro.pl
SUBDIRS = compat
bin_PROGRAMS = minerd
2013-11-03 18:18:07 +01:00
dist_man_MANS = minerd.1
2012-03-12 13:32:11 +01:00
minerd_SOURCES = elist.h miner.h compat.h \
cpu-miner.c util.c \
sha2.c scrypt.c
if USE_ASM
if ARCH_x86
minerd_SOURCES += sha2-x86.S scrypt-x86.S
endif
if ARCH_x86_64
minerd_SOURCES += sha2-x64.S scrypt-x64.S
endif
if ARCH_ARM
minerd_SOURCES += sha2-arm.S scrypt-arm.S
endif
2015-02-24 17:06:20 +01:00
if ARCH_PPC
minerd_SOURCES += sha2-ppc.S scrypt-ppc.S
endif
endif
2010-11-26 22:28:12 +01:00
minerd_LDFLAGS = $(PTHREAD_FLAGS)
minerd_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@
2017-04-20 12:40:13 +02:00
minerd_CFLAGS = -fno-strict-aliasing
minerd_CPPFLAGS = @LIBCURL_CPPFLAGS@ $(JANSSON_INCLUDES) $(PTHREAD_FLAGS)