diff options
author | Dmitri Pal <dpal@redhat.com> | 2009-08-07 15:50:34 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-08-12 12:24:27 -0400 |
commit | 1771d32e945b758326951384f0e17121042ad74e (patch) | |
tree | 070df00bcb1e049a1bdf794922b9b970479942a8 /common/elapi/Makefile.am | |
parent | d59ba3139bba2d28c1209f62c01a7017c26dd635 (diff) | |
download | sssd-1771d32e945b758326951384f0e17121042ad74e.tar.gz sssd-1771d32e945b758326951384f0e17121042ad74e.tar.bz2 sssd-1771d32e945b758326951384f0e17121042ad74e.zip |
ELAPI Next round of functionality - logging part of the interface
a) Added the main logging interface which
allows creating dispatcher and logging messages or events.
Can't actully log anything yet since the sinks are stubbed out.
b) Made default template be a part of the default
dispatcher.
c) Updated UNIT test.
d) Some of the calls are stubbed out but they are there
to indicate where next round of work will be.
Diffstat (limited to 'common/elapi/Makefile.am')
-rw-r--r-- | common/elapi/Makefile.am | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/common/elapi/Makefile.am b/common/elapi/Makefile.am index 49c9b518..92274429 100644 --- a/common/elapi/Makefile.am +++ b/common/elapi/Makefile.am @@ -1,15 +1,23 @@ TRACE_LEVEL=@TRACE_VAR@ +DEFAULT_CONF_DIR=@elapiconfdir@ +DEFAULT_CONF_APP_DIR=@elapiconfappdir@ +APP_NAME=@appname@ +APP_NAME_SIZE=@appnamesize@ topdir=$(srcdir)/.. -AM_CFLAGS = +AM_CFLAGS = -DELAPI_DEFAULT_CONFIG_DIR=\"$(DEFAULT_CONF_DIR)\" \ + -DELAPI_DEFAULT_CONFIG_APP_DIR=\"$(DEFAULT_CONF_APP_DIR)\" \ + -DELAPI_DEFAULT_APP_NAME=\"$(APP_NAME)\" \ + -DELAPI_DEFAULT_APP_NAME_SIZE=$(APP_NAME_SIZE) + 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) +AM_CPPFLAGS = -I$(topdir) -I$(topdir)/ini -I$(topdir)/trace -I$(topdir)/collection $(TRACE_LEVEL) ACLOCAL_AMFLAGS = -I m4 @@ -21,11 +29,16 @@ dist_noinst_DATA = elapi.pc noinst_LTLIBRARIES = libelapi.la libelapi_la_SOURCES = \ elapi_event.c \ + elapi_log.c \ + elapi_internal.c \ elapi_event.h \ elapi_priv.h \ + elapi_sink.h \ + elapi_log.h \ + elapi_async.h \ elapi.h # Build unit test noinst_PROGRAMS = elapi_ut elapi_ut_SOURCES = elapi_ut.c -elapi_ut_LDADD = ../collection/libcollection.la libelapi.la +elapi_ut_LDADD = libelapi.la ../ini/libini_config.la ../collection/libcollection.la |