forked from unitusdev/unitus-cpuminer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
65 lines (54 loc) · 1.92 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
if WANT_JANSSON
JANSSON_INCLUDES= -I$(top_srcdir)/compat/jansson
else
JANSSON_INCLUDES=
endif
EXTRA_DIST = example-cfg.json nomacro.pl
SUBDIRS = compat
AM_CPPFLAGS = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES)
AUTOMAKE_OPTIONS = subdir-objects
bin_PROGRAMS = unitus_cpuminer
dist_man_MANS = minerd.1
unitus_cpuminer_SOURCES = elist.h miner.h compat.h \
cpu-miner.c util.c \
sha2.c \
sha3/sph_types.h sha3/aes_helper.c \
sha3/sph_blake.h sha3/sph_blake.c \
sha3/sph_bmw.h sha3/sph_bmw.c \
sha3/sph_cubehash.h sha3/sph_cubehash.c \
sha3/sph_echo.h sha3/sph_echo.c \
sha3/sph_groestl.h sha3/sph_groestl.c \
sha3/sph_jh.h sha3/sph_jh.c \
sha3/sph_keccak.h sha3/sph_keccak.c \
sha3/sph_luffa.h sha3/sph_luffa.c \
sha3/sph_shavite.h sha3/sph_shavite.c \
sha3/sph_simd.h sha3/sph_simd.c \
sha3/sph_skein.h sha3/sph_skein.c \
algo/lyra2rev2.c algo/Lyra2.h algo/Lyra2.c algo/Sponge.h algo/Sponge.c \
algo/skein.c \
algo/x11.c \
algo/sha256_Y.h algo/sha256_Y.c algo/sysendian.h algo/yescrypt.h algo/yescrypt.c \
algo/yescrypt-best.c algo/yescrypt-common.c algo/yescrypt-platform.h \
algo/argon2d.c algo/argon2/argon2.c algo/argon2/argon2.h algo/argon2/blake2.h algo/argon2/blake2b.c \
algo/argon2/blake2-impl.h algo/argon2/blamka-round-opt.h algo/argon2/core.c algo/argon2/core.h \
algo/argon2/encoding.c algo/argon2/enconding.h algo/argon2/opt.c algo/argon2/thread.c algo/argon2/thread.h
if USE_ASM
if ARCH_x86
unitus_cpuminer_SOURCES += sha2-x86.S
endif
if ARCH_x86_64
unitus_cpuminer_SOURCES += sha2-x64.S
endif
if ARCH_ARM
unitus_cpuminer_SOURCES += sha2-arm.S
endif
if ARCH_PPC
unitus_cpuminer_SOURCES += sha2-ppc.S
endif
endif
if HAVE_WINDOWS
unitus_cpuminer_SOURCES += compat/winansi.c
endif
unitus_cpuminer_LDFLAGS = $(PTHREAD_FLAGS)
unitus_cpuminer_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@
unitus_cpuminer_CPPFLAGS = @LIBCURL_CPPFLAGS@