#-----------------------------------------------------------------------------
#
#  POPular -- A POP3 server and proxy for large mail systems
#
#  $Id: Makefile.am,v 1.35 2002/05/25 19:18:51 sqrt Exp $
#
#  http://www.remote.org/jochen/mail/popular/
#
#-----------------------------------------------------------------------------
#
#  Copyright 1999-2001 by Jochen Topf <jochen@remote.org>
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
#
#-----------------------------------------------------------------------------

#CFLAGS = -g -Wall -pg -a
CFLAGS = -g -O2 -Wall

#LDFLAGS = -static -lc_p

INCLUDES = @SSL_INCL@

bin_PROGRAMS = pcheck pstatus pdeliver pcontrol ptestpdm

sbin_PROGRAMS = pcheckd pproxy pserv ringd


#-----------------------------------------------------------------------------

pproxy_SOURCES   = pproxy.c pproxy_child.c pproxy_ctrl.c pproxy_res.c pproxy.h smtp_after_pop.c smtp_after_pop.h popular.h pconfig.h ctrl.c ctrl.h pdm.c pdm.h util.c util.h io.c io.h xlog.c xlog.h pop3.c pop3.h info.c info.h sig.c sig.h daemon.c daemon.h uds.c uds.h net.c net.h

pserv_SOURCES    = pserv.c pserv_child.c pserv_ctrl.c pserv.h popular.h pconfig.h util.c util.h io.c io.h xlog.c xlog.h pop3.c pop3.h info.c info.h ctrl.c ctrl.h sig.c sig.h daemon.c daemon.h mailbox.c mailbox.h

pcheckd_SOURCES  = pcheckd.c  popular.h pconfig.h util.c util.h xlog.c xlog.h daemon.c daemon.h sig.c sig.h

ringd_SOURCES    = ringd.c ringd.h popular.h pconfig.h util.c util.h uds.c xlog.c xlog.h sig.c sig.h daemon.c daemon.h

pcheck_SOURCES   = pcheck.c   popular.h pconfig.h util.c util.h xlog.c xlog.h

pstatus_SOURCES  = pstatus.c  popular.h pconfig.h util.c util.h xlog.c xlog.h info.c info.h

pdeliver_SOURCES = pdeliver.c popular.h pconfig.h util.c util.h xlog.c xlog.h mailbox.c mailbox.h

pcontrol_SOURCES = pcontrol.c popular.h pconfig.h util.c util.h xlog.c xlog.h uds.c uds.h

ptestpdm_SOURCES = ptestpdm.c popular.h pconfig.h util.c util.h xlog.c xlog.h pdm.c pdm.h info.c info.h


#-----------------------------------------------------------------------------

LDADD = @LIB_STRL@ @LIB_GETOPT@

pproxy_LDADD = $(LDADD) @SSL_LIBS@ -ldl

pserv_LDADD = $(LDADD) @SSL_LIBS@

pcontrol_LDADD = $(LDADD) @LIB_READLINE@

ptestpdm_LDADD = $(LDADD) -ldl


#-- THE END ------------------------------------------------------------------


syntax highlighted by Code2HTML, v. 0.9.1