X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2FMakefile.am;h=0499b356824694fb3aab0e13abff5d98affca013;hb=b66cbf1731486ab4dc7e0b2e1c3fa05cc5360c19;hp=c5418baebec2c738ccc3448c285246b642e7e227;hpb=343af227102f6b274bfd7f6c7220eb3b776ba5e3;p=lttng-tools.git diff --git a/src/common/compat/Makefile.am b/src/common/compat/Makefile.am index c5418baeb..0499b3568 100644 --- a/src/common/compat/Makefile.am +++ b/src/common/compat/Makefile.am @@ -1,12 +1,24 @@ -noinst_LTLIBRARIES = libcompat.la +# SPDX-License-Identifier: GPL-2.0-only -if COMPAT_EPOLL -COMPAT=compat-epoll.c -else -COMPAT=compat-poll.c -endif +noinst_LTLIBRARIES = libcompat.la -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 netdb.h $(COMPAT) \ - time.h +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