[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tlsdate/debian-master] Add some TARGET_DRAGONFLYBSD goo to automake



commit b8cdc77514b0cf540bf32fd8a4c0ca28cd4321b4
Author: Jacob Appelbaum <jacob@xxxxxxxxxxxxx>
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(+)

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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits