1 noinst_LIBRARIES = libopenbsd-compat.a
3 include $(top_builddir)/Makefile.common
5 libopenbsd_compat_a_SOURCES = \
24 # For MacOS, don't build the compat versions of strl{cat,cpy}, but do for all
27 libopenbsd_compat_a_SOURCES += strlcat.c strlcpy.c
31 libopenbsd_compat_a_SOURCES += uuid.c bsd-poll.c bsd-poll.h
35 libopenbsd_compat_a_SOURCES += bsd-poll.c bsd-poll.h
39 libopenbsd_compat_a_SOURCES += uuid.c
42 if HAVE_LINUX_LANDLOCK
43 libopenbsd_compat_a_SOURCES += landlock.c
47 libopenbsd_compat_a_SOURCES += siphash.c siphash.h
51 libopenbsd_compat_a_SOURCES += setproctitle.c
55 libopenbsd_compat_a_SOURCES += imsg-buffer.c imsg.c
59 # Fake an assigment here. It does nothing, but you cannot have consecutive
60 # nested if statements in Makefiles, so we have to do something here, even if
61 # it's a dummy assignment.
64 libopenbsd_compat_a_SOURCES += sha2.c sha2.h
69 $(top_srcdir)/include/got_compat.h \