Makefile.am
1011 Bytes
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
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = subdir-objects
AM_CFLAGS += -I../include/ -std=c99 -DREENTRANT -lpthread
AM_LDFLAGS += -lpthread
TR_HASH = hexdecode.c \
hexencode.c \
sdbm.c \
urldecode.c \
sha1.c \
sse/sha1.c \
uuid/compare.c \
uuid/_format3or5.c \
uuid/parse.c \
uuid/unparse.c \
uuid/uuid.c \
uuid/version1.c \
uuid/version3.c \
uuid/version5.c
lib_LTLIBRARIES = libtrhashing.la
bin_PROGRAMS = trsha1speed trencodespeed
libtrhashing_la_SOURCES = $(TR_HASH)
libtrhashing_la_CFLAGS = $(AM_CFLAGS) -std=c99 $(OPENSSL)
libtrhashing_la_LIBADD =
libtrhashing_la_LDFLAGS = -version-info 0:0:0 $(AM_LDFLAGS)
trsha1speed_SOURCES = sha1speed.c
trsha1speed_CFLAGS = $(AM_CFLAGS) $(OPENSSL)
trsha1speed_LDADD = -ltrhashing -ltrbase -lcrypto -luuid
trsha1speed_LDFLAGS = $(AM_LDFLAGS)
trencodespeed_SOURCES = encodespeed.c
trencodespeed_CFLAGS = $(AM_CFLAGS)
trencodespeed_LDADD = -ltrhashing -ltrbase -lcrypto -luuid
trencodespeed_LDFLAGS = $(AM_LDFLAGS)