Skip to content

Commit

Permalink
support Java
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Kroening committed Apr 18, 2016
1 parent 38d115c commit e31bacb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/goto-instrument/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ include ../common

all: goto-instrument$(EXEEXT)

ifneq ($(wildcard ../java_bytecode/Makefile),)
OBJ += ../java_bytecode/java_bytecode$(LIBEXT)
CP_CXXFLAGS += -DHAVE_JAVA_BYTECODE
ifneq ($(LIBZIPLIB),)
LIBS += $(LIBZIPLIB)
endif
endif

ifneq ($(LIB_GLPK),)
LIBS += $(LIB_GLPK)
CP_CXXFLAGS += -DHAVE_GLPK
Expand Down
2 changes: 2 additions & 0 deletions src/goto-instrument/goto_instrument_languages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Author: Daniel Kroening, kroening@kroening.com

#include <ansi-c/ansi_c_language.h>
#include <cpp/cpp_language.h>
#include <java_bytecode/java_bytecode_language.h>

#include "goto_instrument_parse_options.h"

Expand All @@ -29,5 +30,6 @@ void goto_instrument_parse_optionst::register_languages()
{
register_language(new_ansi_c_language);
register_language(new_cpp_language);
register_language(new_java_bytecode_language);
}

0 comments on commit e31bacb

Please sign in to comment.