Add missing file.

0.96
Török Edvin 15 years ago
parent daad92ace3
commit 5c749bcef6
  1. 27
      libclamav/c++/ClamBCDiagnostics.h
  2. 3
      libclamav/c++/Makefile.am
  3. 9
      libclamav/c++/Makefile.in

@ -0,0 +1,27 @@
/*
* Compile LLVM bytecode to ClamAV bytecode.
*
* Copyright (C) 2010 Sourcefire, Inc.
*
* Authors: Török Edvin
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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.
*/
namespace llvm {
class Value;
}
// match the prototype used in the bytecode compiler
void printValue(llvm::Value *V, bool a=false, bool b=false);
void printLocation(llvm::Instruction *I, bool a=false, bool b=false);

@ -46,7 +46,8 @@ libclamavcxx_la_LDFLAGS=-no-undefined
libclamavcxx_la_CXXFLAGS = $(LLVM_CXXFLAGS)
libclamavcxx_la_SOURCES = bytecode2llvm.cpp\
ClamBCRTChecks.cpp\
ClamBCModule.h
ClamBCModule.h\
ClamBCDiagnostics.h
if BUILD_X86
libclamavcxx_la_LIBADD+=libllvmx86codegen.la
libclamavcxx_la_DEPENDENCIES+=libllvmx86codegen.la

@ -89,9 +89,9 @@ TESTS = llvmunittest_ADT$(EXEEXT) llvmunittest_Support$(EXEEXT) \
subdir = .
DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/clamavcxx-config.h.in \
$(top_srcdir)/configure config/config.guess config/config.sub \
config/depcomp config/install-sh config/ltmain.sh \
config/missing
$(top_srcdir)/configure COPYING config/config.guess \
config/config.sub config/depcomp config/install-sh \
config/ltmain.sh config/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/check_gnu_make.m4 \
$(top_srcdir)/m4/cxx_flag_check.m4 $(top_srcdir)/m4/libtool.m4 \
@ -980,7 +980,8 @@ libclamavcxx_la_LDFLAGS = -no-undefined
libclamavcxx_la_CXXFLAGS = $(LLVM_CXXFLAGS)
libclamavcxx_la_SOURCES = bytecode2llvm.cpp\
ClamBCRTChecks.cpp\
ClamBCModule.h
ClamBCModule.h\
ClamBCDiagnostics.h
LLVM_CXXFLAGS = -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings
unittest_CXXFLAGS = @NO_VARIADIC_MACROS@ @NO_MISSING_FIELD_INITIALIZERS@

Loading…
Cancel
Save