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 a6b377fa 2023-08-23 thomas $(top_srcdir)/lib/inflate.c \
12 a6b377fa 2023-08-23 thomas $(top_srcdir)/lib/object_parse.c \
13 9985aa0d 2023-08-23 thomas $(top_srcdir)/lib/path.c \
14 9985aa0d 2023-08-23 thomas $(top_srcdir)/lib/pkt.c \
15 9985aa0d 2023-08-23 thomas $(top_srcdir)/lib/pollfd.c \
16 9985aa0d 2023-08-23 thomas $(top_srcdir)/lib/reference_parse.c \
17 9985aa0d 2023-08-23 thomas $(top_srcdir)/lib/serve.c \
18 9985aa0d 2023-08-23 thomas $(top_srcdir)/lib/sha1.c
19 9985aa0d 2023-08-23 thomas
20 9985aa0d 2023-08-23 thomas gotsh_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
21 9985aa0d 2023-08-23 thomas EXTRA_DIST = gotsh.1
22 9985aa0d 2023-08-23 thomas
23 9985aa0d 2023-08-23 thomas man1_MANS = gotsh.1
24 9985aa0d 2023-08-23 thomas
25 9985aa0d 2023-08-23 thomas LDADD = -L$(top_builddir)/compat -L$(top_builddir)/gotd -lopenbsd-compat -lm
26 9985aa0d 2023-08-23 thomas if HOST_FREEBSD
27 9985aa0d 2023-08-23 thomas LDADD += -lmd
28 9985aa0d 2023-08-23 thomas endif
29 9985aa0d 2023-08-23 thomas
30 9985aa0d 2023-08-23 thomas # Disable for now (per upstream)...
31 9985aa0d 2023-08-23 thomas #
32 9985aa0d 2023-08-23 thomas #install-exec-hook:
33 9985aa0d 2023-08-23 thomas # ln -sf $(prefix)/bin/gotsh $(prefix)/bin/git-receive-pack
34 9985aa0d 2023-08-23 thomas # ln -sf $(prefix)/bin/gotsh $(prefix)/bin/git-upload-pack