## Process this file with automake to create Makefile.in # $Id: Makefile.am,v 1.28 2007/02/10 18:27:48 ca Exp $ # compile only, don't run TESTC = lookupdns proxy server client \ smtps smtps2 \ smtps3 \ smtpc smtpc2 \ smtpcr \ clt2 srv2 # compile and run TESTP = thr-1 TESTSH = srv.sh smtp.sh \ t-rsad-0.sh \ t-rsad-1.sh \ t-rsad-2.sh # run these tests TESTS = $(TESTSH) $(TESTP) INCLUDES = -I$(top_builddir) -I$(top_srcdir) -I$(top_srcdir)/.. -I$(top_builddir)/../include -I$(top_srcdir)/../include -I$(top_builddir)/.. LDADD = ../libst.a \ ../../libmta/libmta.a \ ../../librepl/librepl.a LDSTTHREADS = ../../libmta/libstthreads.a LDCHK = ../../libcheck/libcheck.a EXTRA_DIST = $(TESTSH) MTA_MATH_LIB = @MTA_MATH_LIB@ # clean LDFLAGS from parent directory LDFLAGS= AM_CFLAGS=$(DEFINES) $(COPTS) check_PROGRAMS = $(TESTC) $(TESTP) lookupdns_SOURCES = lookupdns.c res.c lookupdns_LDADD = $(LDADD) proxy_SOURCES = proxy.c proxy_LDADD = $(LDADD) client_SOURCES = client.c client_LDADD = $(LDADD) server_SOURCES = server.c error.c error.h server_LDADD = $(LDADD) smtps_SOURCES = smtps.c error.c data.c error.h data.h smtps_LDADD = $(LDADD) smtps2_SOURCES = smtps2.c error.c data.c error.h data.h smtps2_LDADD = $(LDSTTHREADS) $(LDADD) smtps3_SOURCES = smtps2.c error.c data.c error.h data.h smtps3_CFLAGS = -DSMTPS2_CDB smtps3_LDADD = $(LDSTTHREADS) $(LDADD) ../../libcdb/libcdb.a smtpc_SOURCES = smtpc.c smtpc_LDADD = $(LDADD) smtpc2_SOURCES = smtpc2.c smtpc2_LDADD = $(LDADD) $(MTA_MATH_LIB) smtpcr_SOURCES = smtpcr.c smtpcr_LDADD = $(LDADD) clt2_SOURCES = clt2.c clt2_LDADD = $(LDADD) srv2_SOURCES = srv2.c error.c error.h srv2_LDADD = $(LDADD) thr_1_SOURCES = thr-1.c thr_1_LDADD = $(LDADD) $(LDCHK)