28e73e95 |
# |
e7f5f537 |
# Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved. |
52cddcbc |
# Copyright (C) 2007-2013 Sourcefire, Inc.
# Copyright (C) 2002-2007 Tomasz Kojm <tkojm@clamav.net> |
28e73e95 |
#
# 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. |
28e73e95 |
|
6053d09a |
ACLOCAL_AMFLAGS=-I m4 |
4ea891db |
if BUILD_LIBCLAMAV_ONLY
SUBDIRS = libclamav |
094104a7 |
|
4ea891db |
bin_SCRIPTS=clamav-config
else |
9e20cdf6 |
SUBDIRS = libltdl libclamav shared libfreshclam clamscan clamd clamdscan freshclam sigtool clamconf database docs etc clamav-milter test clamdtop clambc unit_tests |
02687f44 |
EXTRA_DIST = examples shared libclamav.pc.in COPYING.bzip2 COPYING.lzma COPYING.unrar COPYING.LGPL COPYING.llvm COPYING.file COPYING.zlib COPYING.getopt COPYING.regex COPYING.YARA COPYING.pcre platform.h.in libclamunrar libclamunrar_iface libclammspack clamdscan/clamdscan.map win32 ChangeLog.md INSTALL.cmake.md INSTALL.autotools.md NEWS.md README.md cmake CMakeLists.txt CMakeOptions.cmake $(top_srcdir)/**/CMakeLists.txt libclammspack/config.h.in.cmake clamav-config.h.cmake.in target.h.cmake.in autogen.sh |
9f51cb51 |
bin_SCRIPTS=clamav-config
|
7de42c4b |
if BUILD_CLAMONACC
SUBDIRS += clamonacc
endif
|
f3107383 |
if ENABLE_CLAMSUBMIT
SUBDIRS += clamsubmit
endif
|
43062b13 |
if ENABLE_FUZZ
SUBDIRS += fuzz
endif |
4ea891db |
endif |
43062b13 |
|
9f51cb51 |
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libclamav.pc |
b6927a7c |
|
d45d16b2 |
nodist_include_HEADERS = clamav-types.h clamav-version.h |
b3e82e5e |
|
b6927a7c |
# don't complain that configuration files and databases are not removed, this is intended
distuninstallcheck_listfiles = find . -type f ! -name clamd.conf ! -name freshclam.conf ! -name daily.cvd ! -name main.cvd -print
DISTCLEANFILES = target.h |
b8f60910 |
DISTCHECK_CONFIGURE_FLAGS=--enable-milter --disable-clamav --enable-all-jit-targets --enable-llvm=yes --with-system-llvm=no --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) CC="$(CC)" CXX="$(CXX)" YACC="$(YACC)" LEX="$(LEX)" AR="$(AR)" AS="$(AS)" |
dfc0c031 |
lcov:
($(MAKE); cd unit_tests; $(MAKE) lcov) |
a66b62f8 |
quick-check:
($(MAKE); cd unit_tests; $(MAKE) quick-check) |
35f04d06 |
fuzz-all:
($(MAKE); cd fuzz; $(MAKE) all)
fuzz-check:
($(MAKE); cd fuzz; $(MAKE) check) |
c8f694f3 |
|
51e69a14 |
dist-hook:
rm -rf $(distdir)/win32/clamav-for-windows $(distdir)/win32/build |