Makefile.am revision 452d0005a47c6872590346f5ea8b247974689ac9
noinst_LTLIBRARIES = liblib.la
BUILT_SOURCES = unicodemap.c
test -f UnicodeData.txt || wget http://www.unicode.org/Public/UNIDATA/UnicodeData.txt
perl $(srcdir)/unicodemap.pl < UnicodeData.txt > $@
liblib_la_SOURCES = \
array.c \
aqueue.c \
base32.c \
base64.c \
bits.c \
buffer.c \
compat.c \
crc32.c \
fdpass.c \
guid.c \
hash.c \
hash2.c \
hmac.c \
imem.c \
ipwd.c \
ioloop.c \
lib.c \
md4.c \
md5.c \
net.c \
pkcs5.c \
primes.c \
rand.c \
sha1.c \
sha2.c \
sort.c \
str.c \
strnum.c \
timing.c \
headers = \
aqueue.h \
array.h \
base32.h \
base64.h \
bits.h \
buffer.h \
compat.h \
crc32.h \
fdpass.h \
guid.h \
hash.h \
hash2.h \
hmac.h \
imem.h \
ipwd.h \
ioloop.h \
lib.h \
llist.h \
macros.h \
md4.h \
md5.h \
net.h \
pkcs5.h \
primes.h \
rand.h \
sha1.h \
sha2.h \
sort.h \
str.h \
strnum.h \
timing.h \
test_programs = test-lib
noinst_PROGRAMS = $(test_programs)
test_lib_CPPFLAGS = \
-I$(top_srcdir)/src/lib-test
test_libs = \
test_lib_SOURCES = \
test_headers = \
test_lib_LDADD = $(test_libs)
test_lib_DEPENDENCIES = $(test_libs)
check: check-am check-test
check-test: all-am
for bin in $(test_programs); do \
if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \
done
pkginc_libdir=$(pkgincludedir)
pkginc_lib_HEADERS = $(headers)
noinst_HEADERS = $(test_headers)