X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2FMakefile.am;h=0499b356824694fb3aab0e13abff5d98affca013;hb=740da7d5000ca1ffdcf14bda5096bf7ccfb86bdd;hp=69e2dc590bd54c5a6de3e11a7d6dabca3eaf244d;hpb=5a2451c97bd93d882a37fdd6e67ba4a82231a710;p=lttng-tools.git diff --git a/src/common/compat/Makefile.am b/src/common/compat/Makefile.am index 69e2dc590..0499b3568 100644 --- a/src/common/compat/Makefile.am +++ b/src/common/compat/Makefile.am @@ -1,13 +1,24 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src +# SPDX-License-Identifier: GPL-2.0-only noinst_LTLIBRARIES = libcompat.la -if COMPAT_EPOLL -COMPAT=compat-epoll.c -else -COMPAT=compat-poll.c -endif - -libcompat_la_SOURCES = poll.h fcntl.h endian.h mman.h dirent.h \ - socket.h compat-fcntl.c uuid.h tid.h \ - getenv.h string.h prctl.h paths.h $(COMPAT) +libcompat_la_SOURCES = \ + compat-fcntl.cpp \ + directory-handle.cpp \ + directory-handle.h \ + dirent.h \ + endian.h \ + errno.h \ + fcntl.h \ + getenv.h \ + mman.h \ + netdb.h \ + path.h \ + paths.h \ + poll.cpp \ + poll.h \ + pthread.h \ + socket.h \ + string.h \ + tid.h \ + time.h