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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
ACLOCAL_AMFLAGS = -I m4
# libigloo library
lib_LTLIBRARIES = libigloo.la
libigloo_la_SOURCES = \
src/igloo.c \
src/error.c \
src/rwlock.c \
src/time.c \
src/feature.c \
src/list.c \
src/digest.c \
src/prng.c \
src/cs.c \
src/sp.c \
src/ro.c \
src/tap.c \
src/uuid.c \
src/private.h
AM_CPPFLAGS = -I$(top_srcdir)/include
LDADD = libigloo.la
# Tests
TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
$(top_srcdir)/build-aux/tap-driver.sh
# Not sure why we need this line:
LOG_DRIVER = $(TEST_LOG_DRIVER)
# All tests that need to be compile should be added here
IGLOO_BUILT_TESTS = \
tests/tap_suite \
tests/init_igloo_test \
tests/feature \
tests/ro \
tests/digest \
tests/error \
tests/prng \
tests/cs \
tests/time \
tests/uuid
# List all tests, if a test does not need to be compile
# (i.e. a script) add it here but not in IGLOO_BUILT_TESTS
TESTS = $(IGLOO_BUILT_TESTS)
# Do not modify this, instead add tests to IGLOO_BUILT_TESTS
check_PROGRAMS = $(IGLOO_BUILT_TESTS)
# Public header files
pkgincludedir = $(includedir)/igloo
pkginclude_HEADERS = \
include/igloo/igloo.h \
include/igloo/config.h \
include/igloo/types.h \
include/igloo/error.h \
include/igloo/typedef.h \
include/igloo/ro.h \
include/igloo/rwlock.h \
include/igloo/time.h \
include/igloo/feature.h \
include/igloo/list.h \
include/igloo/digest.h \
include/igloo/prng.h \
include/igloo/cs.h \
include/igloo/sp.h \
include/igloo/tap.h \
include/igloo/uuid.h
# pkg-config .pc file
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = igloo.pc
new: clean all
|