Blame


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