2014-07-16 20:59:17 +04:00
|
|
|
CC = g++
|
2014-09-22 15:34:57 +04:00
|
|
|
CFLAGS = -g -Wall -std=c++0x
|
2014-07-17 21:12:52 +04:00
|
|
|
include filelist.mk
|
2014-08-17 09:35:09 +04:00
|
|
|
INCFLAGS =
|
2014-09-19 08:14:04 +04:00
|
|
|
LDFLAGS = -lcryptopp -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_program_options -lpthread
|
2014-08-17 09:35:09 +04:00
|
|
|
LIBS =
|
2014-07-16 20:59:17 +04:00
|
|
|
|
|
|
|
#check if AES-NI is supported by CPU
|
2014-08-17 09:35:09 +04:00
|
|
|
ifneq ($(shell grep -c aes /proc/cpuinfo),0)
|
2014-09-13 22:36:36 +04:00
|
|
|
CPU_FLAGS = -maes -DAESNI
|
2014-07-16 20:59:17 +04:00
|
|
|
endif
|
|
|
|
|