X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2FMakefile.am;h=ce427655fc82dc003cc3daed3ce33a7a22f0ed97;hb=810185f3a90e717e2a482b4555f90f4d4f6d7bbf;hp=a198b68534fe4f351fb53b730b1d6bb028582cf3;hpb=cdff92e0e0e875348b6ec549ef9d2282161faf80;p=lttng-ust.git diff --git a/src/common/Makefile.am b/src/common/Makefile.am index a198b685..ce427655 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -10,16 +10,27 @@ noinst_HEADERS = \ align.h \ bitfield.h \ bitmap.h \ + clock.h \ + creds.h \ dynamic-type.h \ - elf.h \ + err-ptr.h \ + events.h \ + hash.h \ + jhash.h \ logging.h \ macros.h \ + ns.h \ patient.h \ + procname.h \ safe-snprintf.h \ - ustcomm.h + tracepoint.h \ + wait.h noinst_HEADERS += \ compat/dlfcn.h \ + compat/errno.h \ + compat/mmap.h \ + compat/pthread.h \ compat/tid.h # These headers should be moved to the public headers when tested and @@ -39,9 +50,12 @@ noinst_HEADERS += \ noinst_LTLIBRARIES = \ libcounter.la \ - msgpack/libmsgpack.la \ - snprintf/libsnprintf.la \ - libcommon.la + libcompat.la \ + libmsgpack.la \ + libringbuffer.la \ + libsnprintf.la \ + libcommon.la \ + libustcomm.la # counter libcounter_la_SOURCES = \ @@ -54,9 +68,7 @@ libcounter_la_SOURCES = \ counter/shm.c \ counter/shm.h \ counter/shm_internal.h \ - counter/shm_types.h \ - counter/smp.c \ - counter/smp.h + counter/shm_types.h libcounter_la_LIBADD = -lrt @@ -66,15 +78,50 @@ endif libcounter_la_CFLAGS = -DUST_COMPONENT="libcounter" $(AM_CFLAGS) +# compat +libcompat_la_SOURCES = \ + compat/futex.c \ + compat/futex.h + # msgpack -msgpack_libmsgpack_la_SOURCES = \ +libmsgpack_la_SOURCES = \ msgpack/msgpack.c \ msgpack/msgpack.h -msgpack_libmsgpack_la_CFLAGS = -DUST_COMPONENT="libmsgpack" $(AM_CFLAGS) +libmsgpack_la_CFLAGS = -DUST_COMPONENT="libmsgpack" $(AM_CFLAGS) + +# ringbuffer +libringbuffer_la_SOURCES = \ + ringbuffer/api.h \ + ringbuffer/backend.h \ + ringbuffer/backend_internal.h \ + ringbuffer/backend_types.h \ + ringbuffer/frontend_api.h \ + ringbuffer/frontend.h \ + ringbuffer/frontend_internal.h \ + ringbuffer/frontend_types.h \ + ringbuffer/nohz.h \ + ringbuffer/rb-init.h \ + ringbuffer/ring_buffer_backend.c \ + ringbuffer/ringbuffer-config.h \ + ringbuffer/ring_buffer_frontend.c \ + ringbuffer/shm.c \ + ringbuffer/shm.h \ + ringbuffer/shm_internal.h \ + ringbuffer/shm_types.h \ + ringbuffer/vatomic.h + +libringbuffer_la_LIBADD = \ + -lrt + +if ENABLE_NUMA +libringbuffer_la_LIBADD += -lnuma +endif + +libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" $(AM_CFLAGS) # snprintf -snprintf_libsnprintf_la_SOURCES = \ +libsnprintf_la_SOURCES = \ snprintf/fflush.c \ snprintf/fileext.h \ snprintf/floatio.h \ @@ -90,12 +137,28 @@ snprintf_libsnprintf_la_SOURCES = \ # Common library libcommon_la_SOURCES = \ + elf.c \ + elf.h \ + events.c \ + getenv.c \ + getenv.h \ logging.c \ logging.h \ + smp.c \ + smp.h \ + strutils.c \ + strutils.h \ + utils.c \ + utils.h \ patient.c libcommon_la_LIBADD = \ - msgpack/libmsgpack.la \ - snprintf/libsnprintf.la + libcompat.la \ + libmsgpack.la \ + libsnprintf.la + +libustcomm_la_SOURCES = \ + ustcomm.c \ + ustcomm.h EXTRA_DIST = snprintf/README