1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
|
#$Id: Makefile.am,v 1.32 2008/05/08 15:38:46 mrsam Exp $
#
# Copyright 1998 - 2008 Double Precision, Inc. See COPYING for
# distribution information.
DISTCLEANFILES=couriertls.config test.dat
noinst_PROGRAMS=@COURIERTCPD@ @STARTTLS@ tlscachetest
EXTRA_PROGRAMS=couriertls couriertcpd
EXTRA_LTLIBRARIES=libcouriertls.la libcouriertlsopenssl.la libcouriertlsgnutls.la
BUILT_SOURCES= couriertcpd.html couriertcpd.1 \
couriertls.html couriertls.1
EXTRA_DIST=$(BUILT_SOURCES) couriertls.html README.couriertls \
testsuite testsuite.txt
noinst_LTLIBRARIES=libspipe.la @BUILDLIBCOURIERTLS@ @LIBCOURIERTLSOPENSSL@ @LIBCOURIERTLSGNUTLS@ libtlsclient.la
libcouriertls_la_SOURCES=tlscache.c tlscache.h
libcouriertls_la_LIBADD=@TLSLIBRARY@
libcouriertls_la_DEPENDENCIES=@TLSLIBRARY@
couriertcpd_SOURCES=argparse.c argparse.h \
tcpd.c tcpdaccess.c tcpremoteinfo.c tcpremoteinfo.h
CONFIG_STATUS_DEPENDENCIES = ../soxwrap/soxlibs.dep
couriertcpd_DEPENDENCIES= libspipe.la \
../rfc1035/librfc1035.a \
@dblibrary@ \
../liblock/liblock.la\
../numlib/libnumlib.la\
../waitlib/libwaitlib.a\
../soxwrap/libsoxwrap.a\
../md5/libmd5.la ../random128/librandom128.la
couriertcpd_t=@NETLIBS@ @soxdep@
couriertcpd_LDADD= libspipe.la \
../rfc1035/librfc1035.a \
@dblibrary@ \
../liblock/liblock.la\
../numlib/libnumlib.la\
../waitlib/libwaitlib.a\
../soxwrap/libsoxwrap.a\
../md5/libmd5.la ../random128/librandom128.la \
$(couriertcpd_t:%=-Wl,%)
couriertcpd_LDFLAGS=-static
tlscachetest_SOURCES=tlscachetest.c
tlscachetest_DEPENDENCIES=../numlib/libnumlib.la ../liblock/liblock.la
tlscachetest_LDADD=../numlib/libnumlib.la ../liblock/liblock.la
tlscachetest_LDFLAGS=-static
libspipe_la_SOURCES=spipe.c spipe.h
couriertls_SOURCES=starttls.c argparse.c argparse.h
couriertls_t= @soxdep@
couriertls_DEPENDENCIES=libcouriertls.la libspipe.la ../rfc1035/librfc1035.a \
../md5/libmd5.la ../random128/librandom128.la \
../numlib/libnumlib.la ../liblock/liblock.la \
../soxwrap/libsoxwrap.a
couriertls_LDADD=libcouriertls.la libspipe.la ../rfc1035/librfc1035.a \
../md5/libmd5.la ../random128/librandom128.la \
../numlib/libnumlib.la ../liblock/liblock.la \
../soxwrap/libsoxwrap.a $(couriertls_t:%=-Wl,%)
couriertls_LDFLAGS=-static
libcouriertlsopenssl_la_SOURCES=libcouriertls.c libcouriertls.h tlsinfo.c
libcouriertlsopenssl_la_LIBADD=@openssldep@
libcouriertlsgnutls_la_SOURCES=libcouriergnutls.c tlsinfo.c
libcouriertlsgnutls_la_LIBADD=@gnutlsdep@
libtlsclient_la_SOURCES=tlsclient.c tlsclient.h \
tlspasswordcache.c tlspasswordcache.h
if HAVE_SGML
couriertcpd.html: couriertcpd.sgml ../docbook/sgml2html
../docbook/sgml2html couriertcpd.sgml couriertcpd.html
couriertcpd.1: couriertcpd.sgml ../docbook/sgml2html
../docbook/sgml2man couriertcpd.sgml couriertcpd.1
couriertls.html: couriertls.sgml ../docbook/sgml2html
../docbook/sgml2html couriertls.sgml couriertls.html
couriertls.1: couriertls.sgml ../docbook/sgml2html
../docbook/sgml2man couriertls.sgml couriertls.1
endif
check-am:
sh $(srcdir)/testsuite 2>&1 | cmp -s - $(srcdir)/testsuite.txt
|