Blame


1 2f1efc18 2023-08-29 thomas sbin_PROGRAMS = gotd
2 2f1efc18 2023-08-29 thomas
3 2f1efc18 2023-08-29 thomas include $(top_builddir)/Makefile.common
4 2f1efc18 2023-08-29 thomas
5 adafacd3 2023-08-29 thomas AM_CPPFLAGS += -DGOTD_EMPTY_PATH='"@GOTD_EMPTY_PATHC@"'
6 adafacd3 2023-08-29 thomas
7 2f1efc18 2023-08-29 thomas gotd_SOURCES = gotd.c \
8 e24c4959 2023-08-29 thomas auth.c \
9 2f1efc18 2023-08-29 thomas imsg.c \
10 febe25b7 2023-08-29 thomas listen.c \
11 2f1efc18 2023-08-29 thomas log.c \
12 2f1efc18 2023-08-29 thomas parse.y \
13 2f1efc18 2023-08-29 thomas privsep_stub.c \
14 2f1efc18 2023-08-29 thomas repo_imsg.c \
15 2f1efc18 2023-08-29 thomas repo_read.c \
16 2f1efc18 2023-08-29 thomas repo_write.c \
17 febe25b7 2023-08-29 thomas session.c \
18 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/bloom.c \
19 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/buf.c \
20 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/date.c \
21 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/deflate.c \
22 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/delta.c \
23 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/delta_cache.c \
24 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/deltify.c \
25 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/error.c \
26 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/gitconfig.c \
27 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/gotconfig.c \
28 4efc8dcb 2023-08-29 thomas $(top_srcdir)/lib/hash.c \
29 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/inflate.c \
30 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/lockfile.c \
31 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/murmurhash2.c \
32 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/object.c \
33 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/object_cache.c \
34 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/object_create.c \
35 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/object_idset.c \
36 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/object_open_io.c \
37 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/object_parse.c \
38 4efc8dcb 2023-08-29 thomas $(top_srcdir)/lib/object_qid.c \
39 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/opentemp.c \
40 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/pack.c \
41 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/pack_create.c \
42 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/pack_create_io.c \
43 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/pack_index.c \
44 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/path.c \
45 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/pollfd.c \
46 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/ratelimit.c \
47 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/read_gitconfig.c \
48 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/read_gotconfig.c \
49 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/reference.c \
50 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/reference_parse.c \
51 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/repository.c \
52 2f1efc18 2023-08-29 thomas $(top_srcdir)/lib/sigs.c
53 1636f5f1 2023-08-29 thomas
54 1636f5f1 2023-08-29 thomas if !HOST_OPENBSD
55 1636f5f1 2023-08-29 thomas nodist_gotd_SOURCES = chroot-notobsd.c
56 1636f5f1 2023-08-29 thomas else
57 1636f5f1 2023-08-29 thomas nodist_gotd_SOURCES = chroot-openbsd.c
58 1636f5f1 2023-08-29 thomas endif
59 2f1efc18 2023-08-29 thomas
60 2f1efc18 2023-08-29 thomas gotd_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
61 0f431d34 2023-08-29 thomas EXTRA_DIST = gotd.8 gotd.conf.5 *.h
62 2f1efc18 2023-08-29 thomas
63 2f1efc18 2023-08-29 thomas man5_MANS = gotd.conf.5
64 2f1efc18 2023-08-29 thomas man8_MANS = gotd.8
65 2f1efc18 2023-08-29 thomas
66 2f1efc18 2023-08-29 thomas LDADD = -L$(top_builddir)/compat -lopenbsd-compat -lm
67 4efc8dcb 2023-08-29 thomas LDADD += $(libuuid_LIBS) \
68 4efc8dcb 2023-08-29 thomas $(zlib_LIBS) \
69 4efc8dcb 2023-08-29 thomas $(libbsd_LIBS) \
70 1636f5f1 2023-08-29 thomas $(libevent_LIBS) \
71 1636f5f1 2023-08-29 thomas $(libutil_LIBS)
72 2f1efc18 2023-08-29 thomas if HOST_FREEBSD
73 2f1efc18 2023-08-29 thomas LDADD += -lmd
74 2f1efc18 2023-08-29 thomas endif
75 4efc8dcb 2023-08-29 thomas
76 4efc8dcb 2023-08-29 thomas AM_CPPFLAGS += $(libuuid_CFLAGS) \
77 4efc8dcb 2023-08-29 thomas $(zlib_CFLAGS) \
78 4efc8dcb 2023-08-29 thomas $(libbsd_CFLAGS) \
79 4efc8dcb 2023-08-29 thomas $(libevent_CFLAGS)