Blob


1 noinst_LIBRARIES = libopenbsd-compat.a
3 AM_CPPFLAGS += -DGOT_VERSION='"@VERSION@"' \
4 -DGOT_VERSION_NUMBER='"@VERSION@"' \
5 -DGOT_LIBEXECDIR="${bindir}" \
6 -I$(top_srcdir) \
7 -I$(top_srcdir)/compat \
8 -I$(top_srcdir)/lib \
9 -I$(top_srcdir)/include \
10 -I.
12 libopenbsd_compat_a_SOURCES = \
13 asprintf.c \
14 base64.c \
15 closefrom.c \
16 fmt_scaled.c \
17 freezero.c \
18 getdtablecount.c \
19 getopt.c \
20 getprogname.c \
21 imsg-buffer.c \
22 imsg.c \
23 merge.c \
24 reallocarray.c \
25 recallocarray.c \
26 strlcat.c \
27 strlcpy.c \
28 strndup.c \
29 strnlen.c \
30 strsep.c \
31 strtonum.c \
32 imsg.h \
33 queue.h \
34 tree.h
35 if HOST_FREEBSD
36 else
37 libopenbsd_compat_a_SOURCES += uuid.c
38 endif
40 if HAVE_LINUX_LANDLOCK
41 libopenbsd_compat_a_SOURCES += landlock.c
42 endif
44 EXTRA_DIST = \
45 $(top_srcdir)/include/got_compat.h \
46 imsg.h \
47 queue.h \
48 tree.h