X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2FMakefile.am;h=b5f8473bc97a452b0aa113d9e19d3cb49da81b58;hb=f78f3df1b255162d62a68f31aba34b86528a029f;hp=1c6fcbf0704a4e63161cd48580a4c41274da2d2d;hpb=1be435396a9c3673fbda15bba2a1cf066a893408;p=lttng-ust.git diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 1c6fcbf0..b5f8473b 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -10,16 +10,26 @@ noinst_HEADERS = \ align.h \ bitfield.h \ bitmap.h \ - dynamic-type.h \ - elf.h \ + clock.h \ + creds.h \ + err-ptr.h \ + events.h \ + hash.h \ + jhash.h \ logging.h \ macros.h \ + ns.h \ patient.h \ - safe-snprintf.h + procname.h \ + safe-snprintf.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 +49,10 @@ noinst_HEADERS += \ noinst_LTLIBRARIES = \ libcounter.la \ - msgpack/libmsgpack.la \ + libcompat.la \ + libmsgpack.la \ libringbuffer.la \ - snprintf/libsnprintf.la \ + libsnprintf.la \ libcommon.la \ libustcomm.la @@ -56,9 +67,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 @@ -68,12 +77,17 @@ 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 = \ @@ -85,7 +99,6 @@ libringbuffer_la_SOURCES = \ ringbuffer/frontend.h \ ringbuffer/frontend_internal.h \ ringbuffer/frontend_types.h \ - ringbuffer/getcpu.h \ ringbuffer/nohz.h \ ringbuffer/rb-init.h \ ringbuffer/ring_buffer_backend.c \ @@ -95,8 +108,6 @@ libringbuffer_la_SOURCES = \ ringbuffer/shm.h \ ringbuffer/shm_internal.h \ ringbuffer/shm_types.h \ - ringbuffer/smp.c \ - ringbuffer/smp.h \ ringbuffer/vatomic.h libringbuffer_la_LIBADD = \ @@ -109,7 +120,7 @@ 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 \ @@ -125,13 +136,27 @@ snprintf_libsnprintf_la_SOURCES = \ # Common library libcommon_la_SOURCES = \ + dynamic-type.c \ + dynamic-type.h \ + 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 \