Blame


1 9985aa0d 2023-08-23 thomas bin_PROGRAMS = gotsh
2 9985aa0d 2023-08-23 thomas
3 9985aa0d 2023-08-23 thomas include $(top_builddir)/Makefile.common
4 9985aa0d 2023-08-23 thomas
5 9985aa0d 2023-08-23 thomas AM_CPPFLAGS += -I$(top_builddir)/gotd
6 9985aa0d 2023-08-23 thomas
7 9985aa0d 2023-08-23 thomas gotsh_SOURCES = gotsh.c \
8 9985aa0d 2023-08-23 thomas $(top_srcdir)/gotd/imsg.c \
9 9985aa0d 2023-08-23 thomas $(top_srcdir)/lib/error.c \
10 9985aa0d 2023-08-23 thomas $(top_srcdir)/lib/gitproto.c \
11 9985aa0d 2023-08-23 thomas $(top_srcdir)/lib/path.c \
12 9985aa0d 2023-08-23 thomas $(top_srcdir)/lib/pkt.c \
13 9985aa0d 2023-08-23 thomas $(top_srcdir)/lib/pollfd.c \
14 9985aa0d 2023-08-23 thomas $(top_srcdir)/lib/reference_parse.c \
15 9985aa0d 2023-08-23 thomas $(top_srcdir)/lib/serve.c \
16 9985aa0d 2023-08-23 thomas $(top_srcdir)/lib/sha1.c
17 9985aa0d 2023-08-23 thomas
18 9985aa0d 2023-08-23 thomas gotsh_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
19 9985aa0d 2023-08-23 thomas EXTRA_DIST = gotsh.1
20 9985aa0d 2023-08-23 thomas
21 9985aa0d 2023-08-23 thomas man1_MANS = gotsh.1
22 9985aa0d 2023-08-23 thomas
23 9985aa0d 2023-08-23 thomas LDADD = -L$(top_builddir)/compat -L$(top_builddir)/gotd -lopenbsd-compat -lm
24 9985aa0d 2023-08-23 thomas if HOST_FREEBSD
25 9985aa0d 2023-08-23 thomas LDADD += -lmd
26 9985aa0d 2023-08-23 thomas endif
27 9985aa0d 2023-08-23 thomas
28 9985aa0d 2023-08-23 thomas # Disable for now (per upstream)...
29 9985aa0d 2023-08-23 thomas #
30 9985aa0d 2023-08-23 thomas #install-exec-hook:
31 9985aa0d 2023-08-23 thomas # ln -sf $(prefix)/bin/gotsh $(prefix)/bin/git-receive-pack
32 9985aa0d 2023-08-23 thomas # ln -sf $(prefix)/bin/gotsh $(prefix)/bin/git-upload-pack