Blob


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