Blame


1 ff36aeea 2022-07-16 thomas bin_PROGRAMS = gotwebd
2 ff36aeea 2022-07-16 thomas
3 ff36aeea 2022-07-16 thomas include $(top_builddir)/Makefile.common
4 ff36aeea 2022-07-16 thomas
5 ff36aeea 2022-07-16 thomas gotwebd_SOURCES = config.c \
6 ff36aeea 2022-07-16 thomas fcgi.c \
7 ff36aeea 2022-07-16 thomas got_operations.c \
8 ff36aeea 2022-07-16 thomas gotweb.c \
9 ff36aeea 2022-07-16 thomas gotwebd.c \
10 ff36aeea 2022-07-16 thomas log.c \
11 ff36aeea 2022-07-16 thomas proc.c \
12 ff36aeea 2022-07-16 thomas sockets.c \
13 ff36aeea 2022-07-16 thomas parse.y \
14 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/blame.c \
15 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/bloom.c \
16 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/buf.c \
17 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/commit_graph.c \
18 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/date.c \
19 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/deflate.c \
20 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/delta.c \
21 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/delta_cache.c \
22 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff.c \
23 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff3.c \
24 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff_atomize_text.c \
25 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff_main.c \
26 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff_myers.c \
27 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff_output.c \
28 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff_output_edscript.c \
29 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff_output_plain.c \
30 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff_output_unidiff.c \
31 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff_patience.c \
32 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diffreg.c \
33 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/error.c \
34 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/fileindex.c \
35 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/gotconfig.c \
36 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/inflate.c \
37 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/lockfile.c \
38 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/murmurhash2.c \
39 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/object.c \
40 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/object_cache.c \
41 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/object_create.c \
42 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/object_idset.c \
43 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/object_parse.c \
44 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/opentemp.c \
45 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/pack.c \
46 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/patch.c \
47 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/path.c \
48 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/privsep.c \
49 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/rcsutil.c \
50 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/reference.c \
51 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/repository.c \
52 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/sha1.c \
53 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/sigs.c \
54 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/utf8.c \
55 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/worktree.c \
56 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/worktree_open.c
57 8f795179 2022-08-06 thomas if HOST_LINUX
58 8f795179 2022-08-06 thomas nodist_gotwebd_SOURCES = $(top_srcdir)/compat/sockaddr-@PLATFORM@.c
59 8f795179 2022-08-06 thomas else
60 8f795179 2022-08-06 thomas nodist_gotwebd_SOURCES = $(top_srcdir)/lib/sockaddr.c
61 8f795179 2022-08-06 thomas endif
62 ff36aeea 2022-07-16 thomas
63 ff36aeea 2022-07-16 thomas gotwebd_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
64 732c70f5 2022-07-21 thomas EXTRA_DIST = $(top_srcdir)/gotwebd/*.h \
65 732c70f5 2022-07-21 thomas gotwebd.8 gotwebd.conf.5
66 ff36aeea 2022-07-16 thomas
67 ff36aeea 2022-07-16 thomas man5_MANS = gotwebd.conf.5
68 ff36aeea 2022-07-16 thomas man8_MANS = gotwebd.8
69 ff36aeea 2022-07-16 thomas
70 ff36aeea 2022-07-16 thomas LDADD = -L$(top_builddir)/compat -lopenbsd-compat -lm
71 ff36aeea 2022-07-16 thomas if HOST_FREEBSD
72 ff36aeea 2022-07-16 thomas LDADD += -lmd
73 ff36aeea 2022-07-16 thomas endif
74 ff36aeea 2022-07-16 thomas
75 ff36aeea 2022-07-16 thomas #realinstall:
76 ff36aeea 2022-07-16 thomas # if [ ! -d ${DESTDIR}${PUB_REPOS_DIR}/. ]; then \
77 ff36aeea 2022-07-16 thomas # ${INSTALL} -d -o root -g daemon -m 755 ${DESTDIR}${PUB_REPOS_DIR}; \
78 ff36aeea 2022-07-16 thomas # fi
79 ff36aeea 2022-07-16 thomas # ${INSTALL} -c -o root -g daemon -m 0755 ${PROG} ${BINDIR}/${PROG}
80 ff36aeea 2022-07-16 thomas # if [ ! -d ${DESTDIR}${HTTPD_DIR}/. ]; then \
81 ff36aeea 2022-07-16 thomas # ${INSTALL} -d -o root -g daemon -m 755 ${DESTDIR}${HTTPD_DIR}; \
82 ff36aeea 2022-07-16 thomas # fi
83 ff36aeea 2022-07-16 thomas # if [ ! -d ${DESTDIR}${PROG_DIR}/. ]; then \
84 ff36aeea 2022-07-16 thomas # ${INSTALL} -d -o root -g daemon -m 755 ${DESTDIR}${PROG_DIR}; \
85 ff36aeea 2022-07-16 thomas # fi
86 ff36aeea 2022-07-16 thomas # ${INSTALL} -c -o ${WWWUSR} -g ${WWWGRP} -m 0755 \
87 ff36aeea 2022-07-16 thomas # ${.CURDIR}/files/htdocs/${PROG}/* ${DESTDIR}${PROG_DIR}
88 ff36aeea 2022-07-16 thomas #
89 ff36aeea 2022-07-16 thomas #.include <bsd.prog.mk>