Blame


1 19adade7 2023-08-23 thomas bin_PROGRAMS = gotctl
2 19adade7 2023-08-23 thomas
3 19adade7 2023-08-23 thomas include $(top_builddir)/Makefile.common
4 19adade7 2023-08-23 thomas
5 19adade7 2023-08-23 thomas AM_CPPFLAGS += -I$(top_builddir)/gotd
6 19adade7 2023-08-23 thomas
7 19adade7 2023-08-23 thomas gotctl_SOURCES = gotctl.c \
8 19adade7 2023-08-23 thomas $(top_srcdir)/gotd/imsg.c \
9 19adade7 2023-08-23 thomas $(top_srcdir)/lib/error.c \
10 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/hash.c \
11 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/object_qid.c \
12 19adade7 2023-08-23 thomas $(top_srcdir)/lib/path.c \
13 fde1a996 2023-08-23 thomas $(top_srcdir)/lib/pollfd.c
14 19adade7 2023-08-23 thomas
15 19adade7 2023-08-23 thomas gotctl_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a
16 19adade7 2023-08-23 thomas EXTRA_DIST = gotctl.8
17 19adade7 2023-08-23 thomas
18 19adade7 2023-08-23 thomas man8_MANS = gotctl.8
19 19adade7 2023-08-23 thomas
20 19adade7 2023-08-23 thomas LDADD = -L$(top_builddir)/compat -L$(top_builddir)/gotd -lopenbsd-compat -lm
21 fde1a996 2023-08-23 thomas LDADD += $(libutil_LIBS) \
22 fde1a996 2023-08-23 thomas $(zlib_LIBS) \
23 fde1a996 2023-08-23 thomas $(libbsd_LIBS) \
24 fde1a996 2023-08-23 thomas $(libevent_LIBS)
25 fde1a996 2023-08-23 thomas
26 19adade7 2023-08-23 thomas if HOST_FREEBSD
27 19adade7 2023-08-23 thomas LDADD += -lmd
28 19adade7 2023-08-23 thomas endif
29 fde1a996 2023-08-23 thomas
30 fde1a996 2023-08-23 thomas AM_CPPFLAGS += $(libutil_CFLAGS) \
31 fde1a996 2023-08-23 thomas $(libbsd_CFLAGS) \
32 fde1a996 2023-08-23 thomas $(zlib_CFLAGS) \
33 fde1a996 2023-08-23 thomas $(libevent_CFLAGS)