clamonacc/Makefile.am
d9428376
 #
 #  Copyright (C) 2018 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
 #
 #  Authors: Mickey Sola
 #
 #  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., 51 Franklin Street, Fifth Floor, Boston,
 #  MA 02110-1301, USA.
 
78a7b321
 sbin_PROGRAMS = clamonacc
d9428376
 
 clamonacc_SOURCES = \
1b264c0b
     clamonacc.c \
72c10bd1
     clamonacc.h \
9e20cdf6
     client/client.c \
     client/client.h \
     client/protocol.c \
     client/protocol.h \
     client/communication.c \
     client/communication.h \
     inotif/inotif.c \
     inotif/inotif.h \
     fanotif/fanotif.c \
     fanotif/fanotif.h \
     inotif/hash.c \
     inotif/hash.h \
     misc/utils.c \
     misc/utils.h \
     misc/priv_fts.h \
     scan/thread.c \
     scan/thread.h \
     scan/onas_queue.c \
     scan/onas_queue.h \
     c-thread-pool/thpool.c \
     c-thread-pool/thpool.h
b365aa58
 
d9428376
 
3733a879
 if !SYSTEM_LFS_FTS
 clamonacc_SOURCES += ./misc/fts.c
d9428376
 endif
 
3733a879
 AM_CFLAGS=@WERR_CFLAGS@
d9428376
 
9e20cdf6
 if INSTALL_SYSTEMD_UNITS
 systemdsystemunit_DATA = clamav-clamonacc.service
 endif
 
 LIBS = $(top_builddir)/shared/libshared.la $(top_builddir)/libclamav/libclamav.la @CURL_LIBS@ @CLAMONACC_LIBS@ @THREAD_LIBS@
 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/clamonacc -I$(top_srcdir)/shared -I$(top_srcdir)/clamd -I$(top_srcdir)/libclamav -I$(top_builddir)/libclamav -I$(top_srcdir)/libclamunrar_iface @CURL_CPPFLAGS@ @SSL_CPPFLAGS@ @CLAMONACC_CPPFLAGS@ @JSON_CPPFLAGS@ @PCRE_CPPFLAGS@
d9428376
 
 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT=clamonacc$(EXEEXT)
 CLEANFILES=*.gcda *.gcno
b5766713