1 b033d7a6 2022-09-10 thomas sbin_PROGRAMS = gotwebd
3 ff36aeea 2022-07-16 thomas include $(top_builddir)/Makefile.common
5 cb11302c 2022-12-30 thomas # /home/n6tadam/projects/got/gotwebd/../template/template -o pages.c pages.tmpl
7 9efb7226 2023-02-11 thomas BUILT_SOURCES = pages.c
8 9efb7226 2023-02-11 thomas CLEANFILES = pages.c parse.c
10 9efb7226 2023-02-11 thomas pages.c: $(top_srcdir)/gotwebd/pages.tmpl
11 9efb7226 2023-02-11 thomas ${MAKE} -C $(top_builddir)/template
12 9efb7226 2023-02-11 thomas $(top_builddir)/template/template -o pages.c $(top_srcdir)/gotwebd/pages.tmpl
14 ff36aeea 2022-07-16 thomas gotwebd_SOURCES = config.c \
15 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/blame.c \
16 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/bloom.c \
17 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/buf.c \
18 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/commit_graph.c \
19 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/date.c \
20 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/deflate.c \
21 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/delta.c \
22 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/delta_cache.c \
23 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff.c \
24 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff3.c \
25 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff_atomize_text.c \
26 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff_main.c \
27 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff_myers.c \
28 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff_output.c \
29 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff_output_edscript.c \
30 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff_output_plain.c \
31 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff_output_unidiff.c \
32 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diff_patience.c \
33 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/diffreg.c \
34 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/error.c \
35 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/fileindex.c \
36 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/gotconfig.c \
37 54bac5ec 2023-02-23 thomas $(top_srcdir)/lib/hash.c \
38 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/inflate.c \
39 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/lockfile.c \
40 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/murmurhash2.c \
41 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/object.c \
42 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/object_cache.c \
43 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/object_create.c \
44 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/object_idset.c \
45 b61ceafc 2022-10-13 thomas $(top_srcdir)/lib/object_open_privsep.c \
46 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/object_parse.c \
47 381ce3ea 2023-04-22 thomas $(top_srcdir)/lib/object_qid.c \
48 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/opentemp.c \
49 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/pack.c \
50 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/patch.c \
51 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/path.c \
52 4e80a172 2022-10-23 thomas $(top_srcdir)/lib/pollfd.c \
53 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/privsep.c \
54 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/rcsutil.c \
55 d348087d 2022-10-13 thomas $(top_srcdir)/lib/read_gitconfig_privsep.c \
56 400c1baa 2022-10-13 thomas $(top_srcdir)/lib/read_gotconfig_privsep.c \
57 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/reference.c \
58 4e80a172 2022-10-23 thomas $(top_srcdir)/lib/reference_parse.c \
59 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/repository.c \
60 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/sigs.c \
61 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/utf8.c \
62 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/worktree.c \
63 fc16ecdf 2022-10-17 thomas $(top_srcdir)/lib/worktree_open.c \
64 cb11302c 2022-12-30 thomas $(top_srcdir)/template/tmpl.c \
66 fc16ecdf 2022-10-17 thomas got_operations.c \
67 fc16ecdf 2022-10-17 thomas gotweb.c \
68 fc16ecdf 2022-10-17 thomas gotwebd.c \
74 8f795179 2022-08-06 thomas if HOST_LINUX
75 8f795179 2022-08-06 thomas nodist_gotwebd_SOURCES = $(top_srcdir)/compat/sockaddr-@PLATFORM@.c
77 8f795179 2022-08-06 thomas nodist_gotwebd_SOURCES = $(top_srcdir)/lib/sockaddr.c
80 ff36aeea 2022-07-16 thomas gotwebd_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
81 732c70f5 2022-07-21 thomas EXTRA_DIST = $(top_srcdir)/gotwebd/*.h \
82 9efb7226 2023-02-11 thomas $(top_srcdir)/gotwebd/*.tmpl \
83 2ee1d310 2023-01-06 thomas $(top_srcdir)/template/tmpl.h \
84 732c70f5 2022-07-21 thomas gotwebd.8 gotwebd.conf.5
86 ff36aeea 2022-07-16 thomas man5_MANS = gotwebd.conf.5
87 ff36aeea 2022-07-16 thomas man8_MANS = gotwebd.8
89 cb11302c 2022-12-30 thomas LDADD = -L$(top_builddir)/compat -L$(top_builddir)/template \
90 cb11302c 2022-12-30 thomas -lopenbsd-compat -lm
91 4fccd2fe 2023-03-08 thomas LDADD += $(libbsd_LIBS) \
92 4fccd2fe 2023-03-08 thomas $(libevent_LIBS) \
93 4fccd2fe 2023-03-08 thomas $(zlib_LIBS) \
94 4fccd2fe 2023-03-08 thomas $(libuuid_LIBS) \
95 5007bd0d 2023-04-14 thomas $(libutil_LIBS) \
96 5007bd0d 2023-04-14 thomas $(libmd_LIBS)
97 ff36aeea 2022-07-16 thomas if HOST_FREEBSD
98 ff36aeea 2022-07-16 thomas LDADD += -lmd
101 4fccd2fe 2023-03-08 thomas AM_CPPFLAGS += $(libbsd_CFLAGS) $(libevent_CFLAGS) $(zlib_CFLAGS) \
102 5007bd0d 2023-04-14 thomas $(libuuid_CFLAGS) $(libmd_CFLAGS)
104 ff36aeea 2022-07-16 thomas #realinstall:
105 ff36aeea 2022-07-16 thomas # if [ ! -d ${DESTDIR}${PUB_REPOS_DIR}/. ]; then \
106 ff36aeea 2022-07-16 thomas # ${INSTALL} -d -o root -g daemon -m 755 ${DESTDIR}${PUB_REPOS_DIR}; \
108 ff36aeea 2022-07-16 thomas # ${INSTALL} -c -o root -g daemon -m 0755 ${PROG} ${BINDIR}/${PROG}
109 ff36aeea 2022-07-16 thomas # if [ ! -d ${DESTDIR}${HTTPD_DIR}/. ]; then \
110 ff36aeea 2022-07-16 thomas # ${INSTALL} -d -o root -g daemon -m 755 ${DESTDIR}${HTTPD_DIR}; \
112 ff36aeea 2022-07-16 thomas # if [ ! -d ${DESTDIR}${PROG_DIR}/. ]; then \
113 ff36aeea 2022-07-16 thomas # ${INSTALL} -d -o root -g daemon -m 755 ${DESTDIR}${PROG_DIR}; \
115 ff36aeea 2022-07-16 thomas # ${INSTALL} -c -o ${WWWUSR} -g ${WWWGRP} -m 0755 \
116 ff36aeea 2022-07-16 thomas # ${.CURDIR}/files/htdocs/${PROG}/* ${DESTDIR}${PROG_DIR}
118 ff36aeea 2022-07-16 thomas #.include <bsd.prog.mk>