nameserver.cc nameserver.hh \
namespaces.hh \
nsecrecords.cc \
+ opensslsigners.cc opensslsigners.hh \
packetcache.cc packetcache.hh \
packethandler.cc packethandler.hh \
pdnsexception.hh \
pdns_server_LDFLAGS = \
$(AM_LDFLAGS) \
- $(DYNLINKFLAGS)
+ $(DYNLINKFLAGS) \
+ $(OPENSSL_LDFLAGS)
pdns_server_LDADD = \
@moduleobjects@ \
@modulelibs@ \
$(LIBDL) \
$(YAHTTP_LIBS) \
- $(JSON11_LIBS)
+ $(JSON11_LIBS) \
+ $(OPENSSL_LIBS)
if BOTAN110
pdns_server_SOURCES += botan110signers.cc botansigners.cc
pdns_server_LDADD += $(LIBSODIUM_LIBS)
endif
-if OPENSSL
-pdns_server_SOURCES += opensslsigners.cc opensslsigners.hh
-pdns_server_LDFLAGS += $(OPENSSL_LDFLAGS)
-pdns_server_LDADD += $(OPENSSL_LIBS)
-endif
-
if SQLITE3
pdns_server_SOURCES += ssqlite3.cc ssqlite3.hh
pdns_server_LDADD += $(SQLITE3_LIBS)
logger.cc \
misc.cc misc.hh \
nsecrecords.cc \
+ opensslsigners.cc opensslsigners.hh \
packetcache.cc \
pdnsutil.cc \
qtype.cc \
pdnsutil_LDFLAGS = \
$(AM_LDFLAGS) \
$(DYNLINKFLAGS) \
- $(BOOST_PROGRAM_OPTIONS_LDFLAGS)
+ $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
+ $(OPENSSL_LDFLAGS)
pdnsutil_LDADD = \
@moduleobjects@ \
$(LIBDL) \
$(BOOST_PROGRAM_OPTIONS_LIBS) \
$(YAHTTP_LIBS) \
- $(JSON11_LIBS)
+ $(JSON11_LIBS) \
+ $(OPENSSL_LIBS)
if BOTAN110
pdnsutil_SOURCES += botan110signers.cc botansigners.cc
pdnsutil_LDADD += $(LIBSODIUM_LIBS)
endif
-if OPENSSL
-pdnsutil_SOURCES += opensslsigners.cc opensslsigners.hh
-pdnsutil_LDFLAGS += $(OPENSSL_LDFLAGS)
-pdnsutil_LDADD += $(OPENSSL_LIBS)
-endif
-
if SQLITE3
pdnsutil_SOURCES += ssqlite3.cc ssqlite3.hh
pdnsutil_LDADD += $(SQLITE3_LIBS)
logger.cc \
misc.cc misc.hh \
nsecrecords.cc \
+ opensslsigners.cc opensslsigners.hh \
qtype.cc \
randomhelper.cc \
rcpgenerator.cc rcpgenerator.hh \
validate.cc validate.hh
-toysdig_LDFLAGS = $(AM_LDFLAGS)
-toysdig_LDADD =
+toysdig_LDFLAGS = $(AM_LDFLAGS) \
+ $(OPENSSL_LDFLAGS)
+toysdig_LDADD = $(OPENSSL_LIBS)
if GSS_TSIG
toysdig_LDADD += $(GSS_LIBS)
toysdig_LDADD += $(P11KIT1_LIBS)
endif
-if OPENSSL
-toysdig_SOURCES += opensslsigners.cc opensslsigners.hh
-toysdig_LDADD += $(OPENSSL_LIBS)
-toysdig_LDFLAGS += $(OPENSSL_LDFLAGS)
-endif
-
-
tsig_tests_SOURCES = \
arguments.cc \
base32.cc \
pdns_recursor.cc \
pubsuffix.cc \
qtype.cc \
+ opensslsigners.cc opensslsigners.hh \
randomhelper.cc \
rcpgenerator.cc rcpgenerator.hh \
rec-carbon.cc \
pdns_recursor_LDADD = \
$(YAHTTP_LIBS) \
- $(JSON11_LIBS)
+ $(JSON11_LIBS) \
+ $(OPENSSL_LIBS)
-pdns_recursor_LDFLAGS = $(AM_LDFLAGS)
+pdns_recursor_LDFLAGS = $(AM_LDFLAGS) \
+ $(OPENSSL_LDFLAGS)
if PKCS11
pdns_recursor_SOURCES += pkcs11signers.cc pkcs11signers.hh
pdns_recursor_LDADD += $(BOTAN110_LIBS)
endif
-if OPENSSL
-pdns_recursor_SOURCES += opensslsigners.cc opensslsigners.hh
-pdns_recursor_LDADD += $(OPENSSL_LIBS)
-pdns_recursor_LDFLAGS += $(OPENSSL_LDFLAGS)
-endif
-
if MALLOC_TRACE
pdns_recursor_SOURCES += malloctrace.cc malloctrace.hh
pdns_recursor_LDFLAGS += -rdynamic
mtasker.hh \
namespaces.hh \
nsecrecords.cc \
+ opensslsigners.cc opensslsigners.hh \
pdns_recursor.cc \
pdnsexception.hh \
pubsuffix.hh pubsuffix.cc \
pdns_recursor_LDADD = \
$(YAHTTP_LIBS) \
- $(JSON11_LIBS)
+ $(JSON11_LIBS) \
+ $(OPENSSL_LIBS)
-pdns_recursor_LDFLAGS = $(AM_LDFLAGS)
-
-if OPENSSL
-pdns_recursor_SOURCES += \
- opensslsigners.cc \
- opensslsigners.hh
-pdns_recursor_LDADD += $(OPENSSL_LIBS)
-pdns_recursor_LDFLAGS += $(OPENSSL_LDFLAGS)
-endif
+pdns_recursor_LDFLAGS = $(AM_LDFLAGS) \
+ $(OPENSSL_LDFLAGS)
if BOTAN110
pdns_recursor_SOURCES += \