X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2FMakefile.am;h=a8f2c10019afe07e076854a1f24ff2b366c27b24;hb=40fd2ccf9faa3e8b6d67d40c8ee52a2b3d1f07bd;hp=93528375d24803ad1e2fa4e04aa4d3ef3865007c;hpb=c70636a7342f34e3be68fcf411cf3e3718b8e73f;p=lttng-tools.git diff --git a/src/common/compat/Makefile.am b/src/common/compat/Makefile.am index 93528375d..a8f2c1001 100644 --- a/src/common/compat/Makefile.am +++ b/src/common/compat/Makefile.am @@ -1,12 +1,9 @@ -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 \ +libcompat_la_SOURCES = poll.c poll.h fcntl.h endian.h mman.h dirent.h \ socket.h compat-fcntl.c tid.h \ - getenv.h string.h prctl.h paths.h netdb.h $(COMPAT) \ - time.h directory-handle.h directory-handle.c + getenv.h string.h paths.h pthread.h netdb.h \ + time.h directory-handle.h directory-handle.c path.h \ + errno.h