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