X-Git-Url: https://git.liburcu.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2FMakefile.am;h=0499b356824694fb3aab0e13abff5d98affca013;hp=2d832822f538432933d32a61353acc3fb01cb7de;hb=c9753f7250f33184a1859088a691291f37161f25;hpb=74130cb7d45f2c698c1a9f224bf8e7a2f2368f18 diff --git a/src/common/compat/Makefile.am b/src/common/compat/Makefile.am index 2d832822f..0499b3568 100644 --- a/src/common/compat/Makefile.am +++ b/src/common/compat/Makefile.am @@ -1,12 +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 clone.h \ - socket.h compat-fcntl.c $(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