Skip to content

Commit

Permalink
Allow for generic builds when we do not explicitly support the OS
Browse files Browse the repository at this point in the history
  • Loading branch information
ioerror committed Apr 24, 2013
1 parent 4c596eb commit b5bcf76
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions src/include.am
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,70 @@ if HAVE_ANDROID
noinst_HEADERS+= src/common/android.h
endif

# This is our explicit target list
# We do not attempt to build with PolarSSL
if !POLARSSL
if !TARGET_HAIKU
if !TARGET_LINUX
if !TARGET_OSX
if !TARGET_OPENBSD
if !TARGET_NETBSD
if !TARGET_FREEBSD
if !TARGET_DRAGONFLYBSD
if !TARGET_HAIKU
if !TARGET_CYGWIN
if !TARGET_BSD
bin_PROGRAMS+= src/tlsdate
bin_PROGRAMS+= src/tlsdate-helper

src_conf_unittest_SOURCES = src/conf.c
src_conf_unittest_SOURCES+= src/conf-unittest.c
src_conf_unittest_SOURCES+= src/common/android.c
check_PROGRAMS+= src/conf_unittest
noinst_PROGRAMS+= src/conf_unittest
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif

if !POLARSSL
if !TARGET_HAIKU
if !TARGET_LINUX
if !TARGET_OSX
if !TARGET_OPENBSD
if !TARGET_NETBSD
if !TARGET_FREEBSD
if !TARGET_DRAGONFLYBSD
if !TARGET_HAIKU
if !TARGET_CYGWIN
if !TARGET_BSD
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
src_proxy_bio_unittest_SOURCES+= src/common/android.c
check_PROGRAMS+= src/proxy-bio_unittest
noinst_PROGRAMS+= src/proxy-bio_unittest
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif

if !TARGET_OSX
check_PROGRAMS+= src/test/proxy-override src/test/return-argc \
src/test/rotate src/test/sleep-wrap
Expand Down

0 comments on commit b5bcf76

Please sign in to comment.