]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/dnsdistdist/Makefile.am
Merge pull request #9229 from rgacogne/dnsdist-webserver-allow-from
[thirdparty/pdns.git] / pdns / dnsdistdist / Makefile.am
index 4a48a7af22a969063385bfec72f2b6d1b202f3eb..b0ca67ad4245007a82776c7e56936db21831415e 100644 (file)
@@ -159,7 +159,7 @@ dnsdist_SOURCES = \
        dnsdist-snmp.cc dnsdist-snmp.hh \
        dnsdist-systemd.cc dnsdist-systemd.hh \
        dnsdist-tcp.cc \
-       dnsdist-web.cc \
+       dnsdist-web.cc dnsdist-web.hh \
        dnsdist-xpf.cc dnsdist-xpf.hh \
        dnslabeltext.cc \
        dnsname.cc dnsname.hh \
@@ -194,6 +194,7 @@ dnsdist_SOURCES = \
        tcpiohandler.cc tcpiohandler.hh \
        threadname.hh threadname.cc \
        uuid-utils.hh uuid-utils.cc \
+       views.hh \
        xpf.cc xpf.hh \
        ext/luawrapper/include/LuaContext.hpp \
        ext/json11/json11.cpp \
@@ -217,6 +218,7 @@ testrunner_SOURCES = \
        test-dnsparser_cc.cc \
        test-iputils_hh.cc \
        test-mplexer.cc \
+       test-proxy_protocol_cc.cc \
        cachecleaner.hh \
        circular_buffer.hh \
        dnsdist.hh \
@@ -245,6 +247,7 @@ testrunner_SOURCES = \
        namespaces.hh \
        pdnsexception.hh \
        pollmplexer.cc \
+       proxy-protocol.cc proxy-protocol.hh \
        qtype.cc qtype.hh \
        sholder.hh \
        sodcrypto.cc \
@@ -465,7 +468,9 @@ if !HAVE_SYSTEMD_SYSTEM_CALL_FILTER
 endif
 
 dnsdist@.service: dnsdist.service
-       $(AM_V_GEN)sed -e 's!/dnsdist !&--config $(sysconfdir)/dnsdist-%i.conf !' < $< >$@
+       $(AM_V_GEN)sed -e 's!/dnsdist !&--config $(sysconfdir)/dnsdist-%i.conf !' \
+         -e 's!RuntimeDirectory=.*!&-%i!' \
+         < $< >$@
 
 systemdsystemunitdir = $(SYSTEMD_DIR)