Blame


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