blob: 49c9b5183f08d18c361637ab0f02bee8535ea6f3 (
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
|
TRACE_LEVEL=@TRACE_VAR@
topdir=$(srcdir)/..
AM_CFLAGS =
if HAVE_GCC
AM_CFLAGS += \
-Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
-Wcast-align -Wwrite-strings
endif
AM_CPPFLAGS = -I$(topdir) -I$(topdir)/trace -I$(topdir)/collection $(TRACE_LEVEL)
ACLOCAL_AMFLAGS = -I m4
# Set up the pkg-config file
pkgconfigdir = $(libdir)/pkgconfig
dist_noinst_DATA = elapi.pc
# Build library
noinst_LTLIBRARIES = libelapi.la
libelapi_la_SOURCES = \
elapi_event.c \
elapi_event.h \
elapi_priv.h \
elapi.h
# Build unit test
noinst_PROGRAMS = elapi_ut
elapi_ut_SOURCES = elapi_ut.c
elapi_ut_LDADD = ../collection/libcollection.la libelapi.la
|