Makefile.am 882 Bytes
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = subdir-objects

AM_CFLAGS += -I../include/

TR_CLASS = 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_CLASS)
libtrhashing_la_CFLAGS  = $(AM_CFLAGS) -std=c99 $(OPENSSL)
libtrhashing_la_LIBADD  =
libtrhashing_la_LDFLAGS = -version-info 0:0:0

trsha1speed_SOURCES = sha1speed.c
trsha1speed_CFLAGS  = $(AM_CFLAGS) $(OPENSSL)
trsha1speed_LDADD   = -ltrhashing -ltrbase -lcrypto -luuid

trencodespeed_SOURCES = encodespeed.c
trencodespeed_CFLAGS  = $(AM_CFLAGS)
trencodespeed_LDADD   = -ltrhashing -ltrbase -lcrypto -luuid