Blame


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