[tor-commits] [tlsdate/master] Add some TARGET_DRAGONFLYBSD goo to automake
ioerror at torproject.org
ioerror at torproject.org
Fri Apr 19 04:11:44 UTC 2013
commit b8cdc77514b0cf540bf32fd8a4c0ca28cd4321b4
Author: Jacob Appelbaum <jacob at appelbaum.net>
Date: Thu Apr 18 20:28:14 2013 -0700
Add some TARGET_DRAGONFLYBSD goo to automake
---
src/compat/include.am | 4 ++++
src/include.am | 22 ++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/src/compat/include.am b/src/compat/include.am
index 4f8cd30..0713c14 100644
--- a/src/compat/include.am
+++ b/src/compat/include.am
@@ -28,6 +28,10 @@ if TARGET_OPENBSD
src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
endif
+if TARGET_DRAGONFLYBSD
+src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
+endif
+
if TARGET_BSD
if !TARGET_NETBSD
if !TARGET_FREEBSD
diff --git a/src/include.am b/src/include.am
index 7627850..d00f669 100644
--- a/src/include.am
+++ b/src/include.am
@@ -70,6 +70,16 @@ check_PROGRAMS+= src/conf_unittest
noinst_PROGRAMS+= src/conf_unittest
endif
+if TARGET_DRAGONFLYBSD
+bin_PROGRAMS+= src/tlsdate
+bin_PROGRAMS+= src/tlsdate-helper
+
+src_conf_unittest_SOURCES = src/conf.c
+src_conf_unittest_SOURCES+= src/conf-unittest.c
+check_PROGRAMS+= src/conf_unittest
+noinst_PROGRAMS+= src/conf_unittest
+endif
+
if TARGET_BSD
if !TARGET_FREEBSD
if !TARGET_NETBSD
@@ -203,6 +213,18 @@ noinst_PROGRAMS+= src/proxy-bio_unittest
endif
endif
+if TARGET_DRAGONFLYBSD
+if !POLARSSL
+src_proxy_bio_unittest_LDADD = @SSL_LIBS@
+src_proxy_bio_unittest_SOURCES = src/proxy-bio.c
+src_proxy_bio_unittest_SOURCES+= src/proxy-bio-unittest.c
+src_proxy_bio_unittest_SOURCES+= src/test-bio.c
+src_proxy_bio_unittest_SOURCES+= src/util.c
+check_PROGRAMS+= src/proxy-bio_unittest
+noinst_PROGRAMS+= src/proxy-bio_unittest
+endif
+endif
+
if TARGET_BSD
if !POLARSSL
if !TARGET_FREEBSD
More information about the tor-commits
mailing list