clamav-milter/Makefile.am
e3aaff8e
 #
f5c83290
 #  Copyright (C) 2003 - 2005 Tomasz Kojm <tkojm@clamav.net>
e3aaff8e
 #
 #  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
48b7b4a7
 #  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 #  MA 02110-1301, USA.
e3aaff8e
 
d71dd823
 if BUILD_CLAMD
e3aaff8e
 if HAVE_MILTER
 
 sbin_PROGRAMS = clamav-milter
 
59f4ee6a
 clamav_milter_SOURCES = \
278dc6b3
     $(top_srcdir)/shared/optparser.c \
     $(top_srcdir)/shared/optparser.h \
f6b3e0ac
     $(top_srcdir)/shared/output.c \
     $(top_srcdir)/shared/output.h \
58bcf502
     $(top_srcdir)/shared/getopt.c \
     $(top_srcdir)/shared/getopt.h \
f87214c3
     $(top_srcdir)/shared/misc.c \
     $(top_srcdir)/shared/misc.h \
3eb16511
     whitelist.c \
     whitelist.h \
4c237bcf
     connpool.c \
     connpool.h \
     netcode.c \
     netcode.h \
     clamfi.c \
     clamfi.h \
58bcf502
     clamav-milter.c
097455e1
 man_MANS = $(top_builddir)/docs/man/clamav-milter.8
e3aaff8e
 
 endif
 endif
 
20473dec
 DEFS = @DEFS@ -DCL_NOLIBCLAMAV
0dab32a2
 CFLAGS=`echo "@CFLAGS@" | sed -e 's/-Wwrite-strings//' -e 's/-Werror /-Werror -Wno-error=format-nonliteral /'`
20473dec
 LIBS = $(top_builddir)/libclamav/libclamav_internal_utils.la @CLAMAV_MILTER_LIBS@ @THREAD_LIBS@
4c56bffa
 AM_CPPFLAGS = -I$(top_srcdir)/clamd -I$(top_srcdir)/libclamav -I$(top_srcdir)/shared -I$(top_srcdir)
dfc0c031
 CLEANFILES=*.gcda *.gcno