blob: b0d79d5ca831001dc5ce0b7f2f73bf8737dfc3e6 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
AM_CFLAGS = -I$(srcdir)/include \
$(DEBUG_CFLAGS) \
-Werror \
$(CAPI_BASE_COMMON_CFLAGS)
dlog_includedir = $(includedir)/dlog
dlog_include_HEADERS = \
include/dlog.h
lib_LTLIBRARIES = libdlog.la
libdlog_la_SOURCES = \
src/libdlog/log.c \
include/dlog.h \
src/libdlog/logconfig.c \
include/logconfig.h \
src/libdlog/loglimiter.c \
include/loglimiter.h
libdlog_la_LIBADD = -lpthread \
$(systemd_journal_LIBS) \
$(CAPI_BASE_COMMON_LIBS)
bin_PROGRAMS = dlogutil dlog_logger
dlogutil_CFLAGS = \
$(AM_CFLAGS) \
-fPIE
dlogutil_LDFLAGS = \
$(AM_LDFLAGS) \
-pie
dlogutil_SOURCES = \
src/shared/logprint.c \
src/logutil/logutil.c \
include/logger.h \
include/logprint.h
dlog_logger_CFLAGS = \
$(AM_CFLAGS) \
-fPIE
dlog_logger_LDFLAGS = \
$(AM_LDFLAGS) \
-pie
dlog_logger_SOURCES = \
src/shared/logprint.c \
src/logger/logger.c \
include/logger.h \
include/logprint.h
# conf file
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = dlog.pc
|