-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 \
- socket.h compat-fcntl.c uuid.h tid.h \
- getenv.h string.h $(COMPAT)
+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 paths.h pthread.h netdb.h \
+ time.h directory-handle.h directory-handle.c path.h