From 20d96d5414778ba2687f356676f9f4c0d6a35e87 Mon Sep 17 00:00:00 2001 From: igoora Date: Sun, 26 Feb 2017 22:15:44 +0200 Subject: [PATCH] Add files via upload --- Makefile.am | 47 ++--------------------------------------------- 1 file changed, 2 insertions(+), 45 deletions(-) diff --git a/Makefile.am b/Makefile.am index 54e5fb9..77af3c5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,50 +1,7 @@ if WANT_JANSSON -JANSSON_INCLUDES= -I$(top_srcdir)/compat/jansson +SUBDIRS = jansson else -JANSSON_INCLUDES= +SUBDIRS = 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 = -falign-loops=16 -falign-functions=16 -falign-jumps=16 -falign-labels=16 - -bin_PROGRAMS = minerd - -dist_man_MANS = minerd.1 - -minerd_SOURCES = elist.h \ - miner.h \ - compat.h \ - cpu-miner.c \ - util.c \ - cryptonight_common.c \ - crypto/c_keccak.c \ - crypto/c_groestl.c \ - crypto/c_blake256.c \ - crypto/c_jh.c \ - crypto/c_skein.c - -# These CFLAGS stop the lobotomized implementation from breaking -if USE_LOBOTOMIZED_AES -minerd_SOURCES += cryptonight_lobotomized.c crypto/oaes_lib.c -AM_CFLAGS += -O2 -fno-strict-aliasing -else -AM_CFLAGS += -Ofast -flto -fuse-linker-plugin -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2 -fsched2-use-superblocks -maes -minerd_SOURCES += cryptonight_aesni.c -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