Blame


1 fde1a996 2023-08-23 thomas bin_PROGRAMS = gitwrapper
2 fde1a996 2023-08-23 thomas
3 fde1a996 2023-08-23 thomas include $(top_builddir)/Makefile.common
4 fde1a996 2023-08-23 thomas
5 fde1a996 2023-08-23 thomas AM_CPPFLAGS += -I$(top_builddir)/gotd
6 6dbf7c53 2023-08-23 thomas AM_CPPFLAGS += -DGITWRAPPER_GIT_LIBEXEC_DIR='"@GITWRAPPER_LIBEXEC_PATHC@"'
7 fde1a996 2023-08-23 thomas
8 fde1a996 2023-08-23 thomas CLEANFILES = parse.h
9 fde1a996 2023-08-23 thomas
10 fde1a996 2023-08-23 thomas gitwrapper_SOURCES = gitwrapper.c \
11 fde1a996 2023-08-23 thomas $(top_srcdir)/gotd/auth.c \
12 fde1a996 2023-08-23 thomas $(top_srcdir)/gotd/imsg.c \
13 fde1a996 2023-08-23 thomas $(top_srcdir)/gotd/listen.c \
14 fde1a996 2023-08-23 thomas $(top_srcdir)/gotd/log.c \
15 fde1a996 2023-08-23 thomas $(top_srcdir)/gotd/parse.y \
16 fde1a996 2023-08-23 thomas $(top_srcdir)/gotd/privsep_stub.c \
17 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/bloom.c \
18 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/buf.c \
19 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/date.c \
20 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/deflate.c \
21 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/delta.c \
22 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/delta_cache.c \
23 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/dial.c \
24 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/error.c \
25 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/gitconfig.c \
26 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/gitproto.c \
27 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/gotconfig.c \
28 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/hash.c \
29 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/inflate.c \
30 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/lockfile.c \
31 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/murmurhash2.c \
32 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/object.c \
33 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/object_cache.c \
34 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/object_create.c \
35 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/object_idset.c \
36 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/object_open_io.c \
37 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/object_parse.c \
38 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/object_qid.c \
39 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/opentemp.c \
40 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/pack.c \
41 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/path.c \
42 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/pkt.c \
43 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/pollfd.c \
44 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/read_gitconfig.c \
45 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/read_gotconfig.c \
46 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/reference.c \
47 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/reference_parse.c \
48 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/repository.c \
49 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/serve.c \
50 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/sigs.c
51 fde1a996 2023-08-23 thomas
52 fde1a996 2023-08-23 thomas gitwrapper_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
53 fde1a996 2023-08-23 thomas EXTRA_DIST = gitwrapper.1
54 fde1a996 2023-08-23 thomas
55 fde1a996 2023-08-23 thomas man1_MANS = gitwrapper.1
56 fde1a996 2023-08-23 thomas
57 fde1a996 2023-08-23 thomas LDADD = -L$(top_builddir)/compat -lopenbsd-compat -lm
58 fde1a996 2023-08-23 thomas LDADD += $(libbsd_LIBS) \
59 fde1a996 2023-08-23 thomas $(libevent_LIBS) \
60 fde1a996 2023-08-23 thomas $(zlib_LIBS) \
61 fde1a996 2023-08-23 thomas $(libuuid_LIBS) \
62 fde1a996 2023-08-23 thomas $(libutil_LIBS)
63 fde1a996 2023-08-23 thomas if HOST_FREEBSD
64 fde1a996 2023-08-23 thomas LDADD += -lmd
65 fde1a996 2023-08-23 thomas endif
66 fde1a996 2023-08-23 thomas
67 fde1a996 2023-08-23 thomas AM_CPPFLAGS += $(libbsd_CFLAGS) $(libevent_CFLAGS) $(zlib_CFLAGS) \
68 fde1a996 2023-08-23 thomas $(libuuid_CFLAGS)