Blob
- Date:
- Message:
- portable: support NetBSD This adds support for NetBSD, using the following external dependencies: libuuid ncursesw There is no CI (yet) as enabling that on Cirrus-CI requires some work, so for now, these builds will be run manually before releases. The test suite will also need tweaking to be fully supported but the key tests are supported for now.
- Actions:
- History | Blame | Raw File
1 noinst_LIBRARIES = libopenbsd-compat.a3 include $(top_builddir)/Makefile.common5 libopenbsd_compat_a_SOURCES = \6 asprintf.c \7 base64.c \8 closefrom.c \9 fmt_scaled.c \10 freezero.c \11 getdtablecount.c \12 getopt.c \13 getprogname.c \14 imsg-buffer.c \15 imsg.c \16 merge.c \17 reallocarray.c \18 recallocarray.c \19 strndup.c \20 strnlen.c \21 strsep.c \22 strtonum.c \23 imsg.h \24 queue.h \25 tree.h27 # For MacOS, don't build the compat versions of strl{cat,cpy}, but do for all28 # other systems.29 if !HOST_DARWIN30 libopenbsd_compat_a_SOURCES += strlcat.c strlcpy.c31 endif33 if HOST_DARWIN34 libopenbsd_compat_a_SOURCES += uuid.c bsd-poll.c bsd-poll.h35 endif37 if HOST_NETBSD38 libopenbsd_compat_a_SOURCES += bsd-poll.c bsd-poll.h39 endif41 if HOST_LINUX42 libopenbsd_compat_a_SOURCES += uuid.c43 endif45 if HAVE_LINUX_LANDLOCK46 libopenbsd_compat_a_SOURCES += landlock.c47 endif49 EXTRA_DIST = \50 $(top_srcdir)/include/got_compat.h \51 imsg.h \52 queue.h \53 tree.h \54 bsd-poll.h