forked from lucasjones/cpuminer-multi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
81 lines (71 loc) · 1.74 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
if WANT_JANSSON
JANSSON_INCLUDES= -I$(top_srcdir)/compat/jansson
else
JANSSON_INCLUDES=
endif
AUTOMAKE_OPTIONS= subdir-objects
ACLOCAL_AMFLAGS = -I .
EXTRA_DIST = example-cfg.json nomacro.pl
SUBDIRS = compat
AM_CPPFLAGS = $(PTHREAD_FLAGS) $(JANSSON_INCLUDES)
AM_CFLAGS = -Ofast -flto -fuse-linker-plugin -funroll-loops -fvariable-expansion-in-unroller -falign-loops=16 -falign-functions=16 -falign-jumps=16
bin_PROGRAMS = minerd
dist_man_MANS = minerd.1
minerd_SOURCES = elist.h \
miner.h \
compat.h \
cpu-miner.c \
util.c \
sha2.c \
scrypt.c \
keccak.c \
heavy.c \
quark.c \
skein.c \
ink.c \
blake.c \
cryptonight_common.c \
x11.c \
sha3/sph_keccak.c \
sha3/sph_hefty1.c \
sha3/sph_groestl.c \
sha3/sph_skein.c \
sha3/sph_bmw.c \
sha3/sph_jh.c \
sha3/sph_shavite.c \
sha3/sph_blake.c \
sha3/sph_luffa.c \
sha3/sph_cubehash.c \
sha3/sph_simd.c \
sha3/sph_echo.c \
crypto/oaes_lib.c \
crypto/c_keccak.c \
crypto/c_groestl.c \
crypto/c_blake256.c \
crypto/c_jh.c \
crypto/c_skein.c \
crypto/hash.c \
crypto/aesb.c
if ARCH_x86
minerd_SOURCES += sha2-x86.S scrypt-x86.S aesb-x86.S
endif
if ARCH_x86_64
minerd_SOURCES += sha2-x64.S scrypt-x64.S aesb-x64.S
endif
if USE_LOBOTOMIZED_AES
minerd_SOURCES += cryptonight_lobotomized.c
AM_CFLAGS += -fno-strict-aliasing
else
minerd_SOURCES += cryptonight_aesni.c aesni.S
AM_CFLAGS += -maes
endif
if ARCH_ARM
minerd_SOURCES += sha2-arm.S scrypt-arm.S
endif
minerd_LDFLAGS = $(AM_LDFLAGS)
minerd_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@
minerd_CPPFLAGS = $(AM_CPPFLAGS) @LIBCURL_CPPFLAGS@
minerd_CFLAGS = $(AM_CFLAGS)
if HAVE_WINDOWS
minerd_CFLAGS += -Wl,--stack,10485760
endif