Blame


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