1 # Copyright © 2023 Nick Bowler
3 # License WTFPL2: Do What The Fuck You Want To Public License, version 2.
4 # This is free software: you are free to do what the fuck you want to.
5 # There is NO WARRANTY, to the extent permitted by law.
7 ACLOCAL_AMFLAGS = -I m4
9 AM_CPPFLAGS = -DIPUTILS_VERSION='PACKAGE_STRING,'
11 XSLTPROC_MAN = $(XSLTPROC) -o $@ --nonet \
12 --stringparam man.output.quietly 1 \
13 --stringparam funcsynopsis.style ansi \
14 --stringparam man.th.extra1.suppress 1 \
15 --stringparam iputils.version 'rarpd' \
16 $(XSLTPROCFLAGS) $(srcdir)/doc/custom-man.xsl
19 echo "ERROR: *** $$tool is missing on your system."; \
20 echo " *** Because of this, I cannot compile $$toolsrc, but"; \
21 echo " *** (perhaps because you modified it) the sources appear out"; \
22 echo " *** of date. If $$tool is installed but was not detected by"; \
23 echo " *** configure, consired setting $$toolvar and re-running configure."; \
24 echo " *** See config.log for more details."; } >&2; false
26 dist_man_MANS = doc/rarpd.8
29 $(AM_V_GEN)tool=xsltproc toolvar=XSLTPROC toolsrc=$<; \
32 $(AM_V_GEN) $(XSLTPROC_MAN) $<
33 $(dist_man_MANS): $(srcdir)/doc/custom-man.xsl
34 MAINTAINERCLEANFILES = $(dist_man_MANS)
35 EXTRA_DIST = $(dist_man_MANS:.8=.xml) $(srcdir)/doc/custom-man.xsl
38 rarpd_SOURCES = src/rarpd.c src/iputils_common.c src/iputils_common.h