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

AM_CFLAGS += -I../include/ -std=c99
AM_LDFLAGS +=

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 = libtrhash.la
bin_PROGRAMS = trsha1speed trencodespeed

libtrhash_la_SOURCES = $(TR_HASH)
libtrhash_la_CFLAGS  = $(AM_CFLAGS) $(OPENSSL)
libtrhash_la_LIBADD  =
libtrhash_la_LDFLAGS = -version-info 1:0:0 $(AM_LDFLAGS)

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

trencodespeed_SOURCES = encodespeed.c
trencodespeed_CFLAGS  = $(AM_CFLAGS)
trencodespeed_LDADD   = -ltrhash -ltrbase -lcrypto -luuid
trencodespeed_LDFLAGS = $(AM_LDFLAGS)