Move futex wrapper to 'common/compat/'
[lttng-ust.git] / src / common / Makefile.am
index fdbbc05c7bd4cf7188cfd6701eee7d6473dc9aff..b847001e41b72a307b00ce7edaa7ef5406246dc6 100644 (file)
@@ -10,15 +10,22 @@ noinst_HEADERS = \
        align.h \
        bitfield.h \
        bitmap.h \
+       clock.h \
        dynamic-type.h \
        elf.h \
+       events.h \
        logging.h \
        macros.h \
        patient.h \
-       safe-snprintf.h
+       procname.h \
+       safe-snprintf.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
@@ -38,9 +45,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
 
@@ -67,12 +75,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 = \
@@ -84,8 +97,6 @@ libringbuffer_la_SOURCES = \
        ringbuffer/frontend.h \
        ringbuffer/frontend_internal.h \
        ringbuffer/frontend_types.h \
-       ringbuffer/getcpu.h \
-       ringbuffer/mmap.h \
        ringbuffer/nohz.h \
        ringbuffer/rb-init.h \
        ringbuffer/ring_buffer_backend.c \
@@ -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,16 @@ snprintf_libsnprintf_la_SOURCES = \
 
 # Common library
 libcommon_la_SOURCES = \
+       getenv.c \
+       getenv.h \
        logging.c \
        logging.h \
        patient.c
 
 libcommon_la_LIBADD = \
-       msgpack/libmsgpack.la \
-       snprintf/libsnprintf.la
+       libcompat.la \
+       libmsgpack.la \
+       libsnprintf.la
 
 libustcomm_la_SOURCES = \
        ustcomm.c \
This page took 0.024474 seconds and 4 git commands to generate.