sync dist file list
[got-portable.git] / compat / Makefile.am
blob49f23799a8f498120c8f4e78513e02cfb55f0417
1 noinst_LIBRARIES = libopenbsd-compat.a
3 AM_CPPFLAGS += -DGOT_VERSION='"@VERSION@"' \
4         -DGOT_VERSION_NUMBER='"@VERSION@"' \
5         -DGOT_LIBEXECDIR="$(libexecdir)" \
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 EXTRA_DIST = \
41         $(top_srcdir)/include/got_compat.h \
42         imsg.h \
43         queue.h \
44         tree.h