summaryrefslogtreecommitdiff
path: root/cord/cord.am
blob: 5df2ac787f63c057b6eab63df35995c07c3e2421 (plain)
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
## This file is processed with automake.

# Info (current:revision:age) for the Libtool versioning system.
# These numbers should be updated at most once just before the release,
# and, optionally, at most once during the development (after the release).
LIBCORD_VER_INFO = 6:0:5

lib_LTLIBRARIES += libcord.la

libcord_la_LIBADD = libgc.la
libcord_la_LDFLAGS = -version-info $(LIBCORD_VER_INFO) -no-undefined
libcord_la_CPPFLAGS = $(AM_CPPFLAGS)

libcord_la_SOURCES = \
        cord/cordbscs.c \
        cord/cordprnt.c \
        cord/cordxtra.c

TESTS += cordtest$(EXEEXT)
check_PROGRAMS += cordtest
cordtest_SOURCES = cord/tests/cordtest.c
cordtest_LDADD = $(top_builddir)/libcord.la

## In case of static libraries build, libgc.a is already referenced in
## dependency_libs attribute of libcord.la file.
if ENABLE_SHARED
cordtest_LDADD += $(top_builddir)/libgc.la
endif

EXTRA_DIST += \
        cord/tests/de.c \
        cord/tests/de_cmds.h \
        cord/tests/de_win.c \
        cord/tests/de_win.h \
        cord/tests/de_win.rc

pkginclude_HEADERS += \
        include/gc/cord.h \
        include/gc/cord_pos.h \
        include/gc/ec.h