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 9efb7226 2023-02-11 thomas BUILT_SOURCES = pages.c
8 9efb7226 2023-02-11 thomas CLEANFILES = pages.c parse.c
9 cb11302c 2022-12-30 thomas
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
13 9efb7226 2023-02-11 thomas
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 \
65 fc16ecdf 2022-10-17 thomas fcgi.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 \
69 fc16ecdf 2022-10-17 thomas log.c \
70 9efb7226 2023-02-11 thomas pages.c \
71 fc16ecdf 2022-10-17 thomas parse.y \
72 fc16ecdf 2022-10-17 thomas sockets.c
73 ff36aeea 2022-07-16 thomas
74 ff36aeea 2022-07-16 thomas gotwebd_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
75 732c70f5 2022-07-21 thomas EXTRA_DIST = $(top_srcdir)/gotwebd/*.h \
76 9efb7226 2023-02-11 thomas $(top_srcdir)/gotwebd/*.tmpl \
77 2ee1d310 2023-01-06 thomas $(top_srcdir)/template/tmpl.h \
78 732c70f5 2022-07-21 thomas gotwebd.8 gotwebd.conf.5
79 ff36aeea 2022-07-16 thomas
80 ff36aeea 2022-07-16 thomas man5_MANS = gotwebd.conf.5
81 ff36aeea 2022-07-16 thomas man8_MANS = gotwebd.8
82 ff36aeea 2022-07-16 thomas
83 cb11302c 2022-12-30 thomas LDADD = -L$(top_builddir)/compat -L$(top_builddir)/template \
84 cb11302c 2022-12-30 thomas -lopenbsd-compat -lm
85 4fccd2fe 2023-03-08 thomas LDADD += $(libbsd_LIBS) \
86 4fccd2fe 2023-03-08 thomas $(libevent_LIBS) \
87 4fccd2fe 2023-03-08 thomas $(zlib_LIBS) \
88 4fccd2fe 2023-03-08 thomas $(libuuid_LIBS) \
89 5007bd0d 2023-04-14 thomas $(libutil_LIBS) \
90 5007bd0d 2023-04-14 thomas $(libmd_LIBS)
91 ff36aeea 2022-07-16 thomas if HOST_FREEBSD
92 ff36aeea 2022-07-16 thomas LDADD += -lmd
93 ff36aeea 2022-07-16 thomas endif
94 ff36aeea 2022-07-16 thomas
95 4fccd2fe 2023-03-08 thomas AM_CPPFLAGS += $(libbsd_CFLAGS) $(libevent_CFLAGS) $(zlib_CFLAGS) \
96 5007bd0d 2023-04-14 thomas $(libuuid_CFLAGS) $(libmd_CFLAGS)
97 4fccd2fe 2023-03-08 thomas
98 ff36aeea 2022-07-16 thomas #realinstall:
99 ff36aeea 2022-07-16 thomas # if [ ! -d ${DESTDIR}${PUB_REPOS_DIR}/. ]; then \
100 ff36aeea 2022-07-16 thomas # ${INSTALL} -d -o root -g daemon -m 755 ${DESTDIR}${PUB_REPOS_DIR}; \
101 ff36aeea 2022-07-16 thomas # fi
102 ff36aeea 2022-07-16 thomas # ${INSTALL} -c -o root -g daemon -m 0755 ${PROG} ${BINDIR}/${PROG}
103 ff36aeea 2022-07-16 thomas # if [ ! -d ${DESTDIR}${HTTPD_DIR}/. ]; then \
104 ff36aeea 2022-07-16 thomas # ${INSTALL} -d -o root -g daemon -m 755 ${DESTDIR}${HTTPD_DIR}; \
105 ff36aeea 2022-07-16 thomas # fi
106 ff36aeea 2022-07-16 thomas # if [ ! -d ${DESTDIR}${PROG_DIR}/. ]; then \
107 ff36aeea 2022-07-16 thomas # ${INSTALL} -d -o root -g daemon -m 755 ${DESTDIR}${PROG_DIR}; \
108 ff36aeea 2022-07-16 thomas # fi
109 ff36aeea 2022-07-16 thomas # ${INSTALL} -c -o ${WWWUSR} -g ${WWWGRP} -m 0755 \
110 ff36aeea 2022-07-16 thomas # ${.CURDIR}/files/htdocs/${PROG}/* ${DESTDIR}${PROG_DIR}
111 ff36aeea 2022-07-16 thomas #
112 ff36aeea 2022-07-16 thomas #.include <bsd.prog.mk>