3 include $(top_builddir)/Makefile.common
5 AM_CPPFLAGS += -I$(top_builddir)/gotd
7 gotsh_SOURCES = gotsh.c \
8 $(top_srcdir)/gotd/imsg.c \
9 $(top_srcdir)/lib/dial.c \
10 $(top_srcdir)/lib/error.c \
11 $(top_srcdir)/lib/gitproto.c \
12 $(top_srcdir)/lib/hash.c \
13 $(top_srcdir)/lib/inflate.c \
14 $(top_srcdir)/lib/object_qid.c \
15 $(top_srcdir)/lib/path.c \
16 $(top_srcdir)/lib/pkt.c \
17 $(top_srcdir)/lib/pollfd.c \
18 $(top_srcdir)/lib/reference_parse.c \
19 $(top_srcdir)/lib/serve.c
21 gotsh_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
26 LDADD = -L$(top_builddir)/compat -L$(top_builddir)/gotd -lopenbsd-compat -lm
27 LDADD += $(libutil_LIBS) \
35 AM_CPPFLAGS += $(libutil_CFLAGS) \
40 # Disable for now (per upstream)...
43 # ln -sf $(prefix)/bin/gotsh $(prefix)/bin/git-receive-pack
44 # ln -sf $(prefix)/bin/gotsh $(prefix)/bin/git-upload-pack