blob: 19b7a65389ae25b8b9ba28737dcf9fc8d386f3c0 (
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
|
LUL_CURRENT = 3
LUL_REVISION = 0
LUL_AGE = 0
lib_LTLIBRARIES = libumberlog.la
libumberlog_la_LDFLAGS = -Wl,--version-script,${srcdir}/libumberlog.ld \
-version-info ${LUL_CURRENT}:${LUL_REVISION}:${LUL_AGE}
EXTRA_libumberlog_la_DEPENDENCIES = libumberlog.ld
libumberlog_la_SOURCES = umberlog.c umberlog.h buffer.c buffer.h
libumberlog_la_LIBADD = -lpthread
libumberlog_includedir = $(includedir)
libumberlog_include_HEADERS = umberlog.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libumberlog.pc
pkglib_LTLIBRARIES = libumberlog_preload.la
libumberlog_preload_la_SOURCES = umberlog_preload.c buffer.c buffer.h umberlog.h
libumberlog_preload_la_LIBADD = -lpthread
libumberlog_preload_la_LDFLAGS = -avoid-version -shared
EXTRA_DIST = umberlog.rst libumberlog.ld
# We need this dependency, but can't compile umberlog.c into
# libumberlog_preload.
umberlog_preload.c: umberlog.c
if ENABLE_MANS
man3_MANS = umberlog.3
CLEANFILES = umberlog.3
EXTRA_DIST += umberlog.3
umberlog.3: umberlog.rst
$(AM_V_GEN) $(RST2MAN) $< $@
endif
|