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 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/opentemp.c \
48 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/pack.c \
49 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/patch.c \
50 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/path.c \
51 4e80a172 2022-10-23 thomas $(top_srcdir)/lib/pollfd.c \
52 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/privsep.c \
53 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/rcsutil.c \
54 d348087d 2022-10-13 thomas $(top_srcdir)/lib/read_gitconfig_privsep.c \
55 400c1baa 2022-10-13 thomas $(top_srcdir)/lib/read_gotconfig_privsep.c \
56 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/reference.c \
57 4e80a172 2022-10-23 thomas $(top_srcdir)/lib/reference_parse.c \
58 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/repository.c \
59 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/sigs.c \
60 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/utf8.c \
61 ff36aeea 2022-07-16 thomas $(top_srcdir)/lib/worktree.c \
62 fc16ecdf 2022-10-17 thomas $(top_srcdir)/lib/worktree_open.c \
63 cb11302c 2022-12-30 thomas $(top_srcdir)/template/tmpl.c \
64 fc16ecdf 2022-10-17 thomas fcgi.c \
65 fc16ecdf 2022-10-17 thomas got_operations.c \
66 fc16ecdf 2022-10-17 thomas gotweb.c \
67 fc16ecdf 2022-10-17 thomas gotwebd.c \
68 fc16ecdf 2022-10-17 thomas log.c \
69 9efb7226 2023-02-11 thomas pages.c \
70 fc16ecdf 2022-10-17 thomas parse.y \
71 fc16ecdf 2022-10-17 thomas proc.c \
72 fc16ecdf 2022-10-17 thomas sockets.c
73 8f795179 2022-08-06 thomas if HOST_LINUX
74 8f795179 2022-08-06 thomas nodist_gotwebd_SOURCES = $(top_srcdir)/compat/sockaddr-@PLATFORM@.c
75 8f795179 2022-08-06 thomas else
76 8f795179 2022-08-06 thomas nodist_gotwebd_SOURCES = $(top_srcdir)/lib/sockaddr.c
77 8f795179 2022-08-06 thomas endif
78 ff36aeea 2022-07-16 thomas
79 ff36aeea 2022-07-16 thomas gotwebd_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
80 732c70f5 2022-07-21 thomas EXTRA_DIST = $(top_srcdir)/gotwebd/*.h \
81 9efb7226 2023-02-11 thomas $(top_srcdir)/gotwebd/*.tmpl \
82 2ee1d310 2023-01-06 thomas $(top_srcdir)/template/tmpl.h \
83 732c70f5 2022-07-21 thomas gotwebd.8 gotwebd.conf.5
84 ff36aeea 2022-07-16 thomas
85 ff36aeea 2022-07-16 thomas man5_MANS = gotwebd.conf.5
86 ff36aeea 2022-07-16 thomas man8_MANS = gotwebd.8
87 ff36aeea 2022-07-16 thomas
88 cb11302c 2022-12-30 thomas LDADD = -L$(top_builddir)/compat -L$(top_builddir)/template \
89 cb11302c 2022-12-30 thomas -lopenbsd-compat -lm
90 4fccd2fe 2023-03-08 thomas LDADD += $(libbsd_LIBS) \
91 4fccd2fe 2023-03-08 thomas $(libevent_LIBS) \
92 4fccd2fe 2023-03-08 thomas $(zlib_LIBS) \
93 4fccd2fe 2023-03-08 thomas $(libuuid_LIBS) \
94 4fccd2fe 2023-03-08 thomas $(libutil_LIBS)
95 ff36aeea 2022-07-16 thomas if HOST_FREEBSD
96 ff36aeea 2022-07-16 thomas LDADD += -lmd
97 ff36aeea 2022-07-16 thomas endif
98 ff36aeea 2022-07-16 thomas
99 4fccd2fe 2023-03-08 thomas AM_CPPFLAGS += $(libbsd_CFLAGS) $(libevent_CFLAGS) $(zlib_CFLAGS) \
100 4fccd2fe 2023-03-08 thomas $(libuuid_CFLAGS)
101 4fccd2fe 2023-03-08 thomas
102 ff36aeea 2022-07-16 thomas #realinstall:
103 ff36aeea 2022-07-16 thomas # if [ ! -d ${DESTDIR}${PUB_REPOS_DIR}/. ]; then \
104 ff36aeea 2022-07-16 thomas # ${INSTALL} -d -o root -g daemon -m 755 ${DESTDIR}${PUB_REPOS_DIR}; \
105 ff36aeea 2022-07-16 thomas # fi
106 ff36aeea 2022-07-16 thomas # ${INSTALL} -c -o root -g daemon -m 0755 ${PROG} ${BINDIR}/${PROG}
107 ff36aeea 2022-07-16 thomas # if [ ! -d ${DESTDIR}${HTTPD_DIR}/. ]; then \
108 ff36aeea 2022-07-16 thomas # ${INSTALL} -d -o root -g daemon -m 755 ${DESTDIR}${HTTPD_DIR}; \
109 ff36aeea 2022-07-16 thomas # fi
110 ff36aeea 2022-07-16 thomas # if [ ! -d ${DESTDIR}${PROG_DIR}/. ]; then \
111 ff36aeea 2022-07-16 thomas # ${INSTALL} -d -o root -g daemon -m 755 ${DESTDIR}${PROG_DIR}; \
112 ff36aeea 2022-07-16 thomas # fi
113 ff36aeea 2022-07-16 thomas # ${INSTALL} -c -o ${WWWUSR} -g ${WWWGRP} -m 0755 \
114 ff36aeea 2022-07-16 thomas # ${.CURDIR}/files/htdocs/${PROG}/* ${DESTDIR}${PROG_DIR}
115 ff36aeea 2022-07-16 thomas #
116 ff36aeea 2022-07-16 thomas #.include <bsd.prog.mk>