commit 597a3a4065e65c1221f87cb46b641feda770e538 from: Thomas Adam date: Thu Apr 25 23:20:25 2024 UTC portable: sync gitwrapper deps This reduces the dependency set, and syncs with got. From naddy@. commit - 398f57de136be1ec5bcf2fa25b8e7d1750e1e2e2 commit + 597a3a4065e65c1221f87cb46b641feda770e538 blob - 4267fc7b77a9a4b2dcd891cae1a69243237c38d6 blob + e30e19e3b7d66f6bed3f6e252e44fb4c606d2e40 --- gitwrapper/Makefile.am +++ gitwrapper/Makefile.am @@ -8,61 +8,26 @@ AM_CPPFLAGS += -DGITWRAPPER_GIT_LIBEXEC_DIR='"@GITWRAP CLEANFILES = parse.h gitwrapper_SOURCES = gitwrapper.c \ - $(top_srcdir)/gotd/auth.c \ - $(top_srcdir)/gotd/imsg.c \ - $(top_srcdir)/gotd/listen.c \ $(top_srcdir)/gotd/log.c \ $(top_srcdir)/gotd/parse.y \ - $(top_srcdir)/gotd/privsep_stub.c \ - $(top_srcdir)/lib/bloom.c \ - $(top_srcdir)/lib/buf.c \ - $(top_srcdir)/lib/date.c \ - $(top_srcdir)/lib/deflate.c \ - $(top_srcdir)/lib/delta.c \ - $(top_srcdir)/lib/delta_cache.c \ $(top_srcdir)/lib/dial.c \ $(top_srcdir)/lib/error.c \ - $(top_srcdir)/lib/gitconfig.c \ - $(top_srcdir)/lib/gitproto.c \ - $(top_srcdir)/lib/gotconfig.c \ $(top_srcdir)/lib/hash.c \ - $(top_srcdir)/lib/inflate.c \ - $(top_srcdir)/lib/lockfile.c \ - $(top_srcdir)/lib/murmurhash2.c \ - $(top_srcdir)/lib/object.c \ - $(top_srcdir)/lib/object_cache.c \ - $(top_srcdir)/lib/object_create.c \ - $(top_srcdir)/lib/object_idset.c \ - $(top_srcdir)/lib/object_open_io.c \ - $(top_srcdir)/lib/object_parse.c \ $(top_srcdir)/lib/object_qid.c \ - $(top_srcdir)/lib/opentemp.c \ - $(top_srcdir)/lib/pack.c \ $(top_srcdir)/lib/path.c \ - $(top_srcdir)/lib/pkt.c \ - $(top_srcdir)/lib/pollfd.c \ - $(top_srcdir)/lib/read_gitconfig.c \ - $(top_srcdir)/lib/read_gotconfig.c \ - $(top_srcdir)/lib/reference.c \ - $(top_srcdir)/lib/reference_parse.c \ - $(top_srcdir)/lib/repository.c \ - $(top_srcdir)/lib/serve.c \ - $(top_srcdir)/lib/sigs.c + $(top_srcdir)/lib/reference_parse.c gitwrapper_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a EXTRA_DIST = gitwrapper.1 man1_MANS = gitwrapper.1 -LDADD = -L$(top_builddir)/compat -lopenbsd-compat -lm +LDADD = -L$(top_builddir)/compat -lopenbsd-compat LDADD += $(libbsd_LIBS) \ $(libevent_LIBS) \ - $(zlib_LIBS) \ - $(libuuid_LIBS) \ - $(libutil_LIBS) + $(libuuid_LIBS) if HOST_FREEBSD LDADD += -lmd endif -AM_CPPFLAGS += $(libbsd_CFLAGS) $(libevent_CFLAGS) $(zlib_CFLAGS) \ - $(libuuid_CFLAGS) +AM_CPPFLAGS += $(libbsd_CFLAGS) $(libuuid_CFLAGS) $(libevent_CFLAGS)