Skip to content

Commit 2f3e63d

Browse files
author
Daniel Kroening
authored
Merge pull request #1327 from tautschnig/HAVE_JAVA_BYTECODE_cleanup
HAVE_BV_REFINEMENT and HAVE_JAVA_BYTECODE are no longer needed
2 parents 0bb2320 + a057fe6 commit 2f3e63d

File tree

5 files changed

+4
-34
lines changed

5 files changed

+4
-34
lines changed

src/clobber/Makefile

+1-10
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ SRC = clobber_main.cpp \
33
# Empty last line
44
OBJ += ../ansi-c/ansi-c$(LIBEXT) \
55
../cpp/cpp$(LIBEXT) \
6+
../java_bytecode/java_bytecode$(LIBEXT) \
67
../linking/linking$(LIBEXT) \
78
../big-int/big-int$(LIBEXT) \
89
../goto-programs/goto-programs$(LIBEXT) \
@@ -30,16 +31,6 @@ CLEANFILES = clobber$(EXEEXT)
3031

3132
all: clobber$(EXEEXT)
3233

33-
ifneq ($(wildcard ../bv_refinement/Makefile),)
34-
OBJ += ../bv_refinement/bv_refinement$(LIBEXT)
35-
CP_CXXFLAGS += -DHAVE_BV_REFINEMENT
36-
endif
37-
38-
ifneq ($(wildcard ../java_bytecode/Makefile),)
39-
OBJ += ../java_bytecode/java_bytecode$(LIBEXT)
40-
CP_CXXFLAGS += -DHAVE_JAVA_BYTECODE
41-
endif
42-
4334
ifneq ($(wildcard ../specc/Makefile),)
4435
OBJ += ../specc/specc$(LIBEXT)
4536
CP_CXXFLAGS += -DHAVE_SPECC

src/goto-diff/Makefile

+1-5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ SRC = change_impact.cpp \
99

1010
OBJ += ../ansi-c/ansi-c$(LIBEXT) \
1111
../cpp/cpp$(LIBEXT) \
12+
../java_bytecode/java_bytecode$(LIBEXT) \
1213
../linking/linking$(LIBEXT) \
1314
../big-int/big-int$(LIBEXT) \
1415
../goto-programs/goto-programs$(LIBEXT) \
@@ -33,11 +34,6 @@ CLEANFILES = goto-diff$(EXEEXT)
3334

3435
all: goto-diff$(EXEEXT)
3536

36-
ifneq ($(wildcard ../java_bytecode/Makefile),)
37-
OBJ += ../java_bytecode/java_bytecode$(LIBEXT)
38-
CP_CXXFLAGS += -DHAVE_JAVA_BYTECODE
39-
endif
40-
4137
ifneq ($(wildcard ../specc/Makefile),)
4238
OBJ += ../specc/specc$(LIBEXT)
4339
CP_CXXFLAGS += -DHAVE_SPECC

src/goto-diff/goto_diff_languages.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ Author: Daniel Kroening, [email protected]
2020
#include <specc/specc_language.h>
2121
#endif
2222

23-
#ifdef HAVE_JAVA_BYTECODE
2423
#include <java_bytecode/java_bytecode_language.h>
25-
#endif
2624

2725
void goto_diff_languagest::register_languages()
2826
{
@@ -33,7 +31,5 @@ void goto_diff_languagest::register_languages()
3331
register_language(new_specc_language);
3432
#endif
3533

36-
#ifdef HAVE_JAVA_BYTECODE
3734
register_language(new_java_bytecode_language);
38-
#endif
3935
}

src/goto-instrument/Makefile

+1-5
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ SRC = accelerate/accelerate.cpp \
6565

6666
OBJ += ../ansi-c/ansi-c$(LIBEXT) \
6767
../cpp/cpp$(LIBEXT) \
68+
../java_bytecode/java_bytecode$(LIBEXT) \
6869
../linking/linking$(LIBEXT) \
6970
../big-int/big-int$(LIBEXT) \
7071
../goto-programs/goto-programs$(LIBEXT) \
@@ -90,11 +91,6 @@ include ../common
9091

9192
all: goto-instrument$(EXEEXT)
9293

93-
ifneq ($(wildcard ../java_bytecode/Makefile),)
94-
OBJ += ../java_bytecode/java_bytecode$(LIBEXT)
95-
CP_CXXFLAGS += -DHAVE_JAVA_BYTECODE
96-
endif
97-
9894
ifneq ($(LIB_GLPK),)
9995
LIBS += $(LIB_GLPK)
10096
CP_CXXFLAGS += -DHAVE_GLPK

src/symex/Makefile

+1-10
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ SRC = path_search.cpp \
66

77
OBJ += ../ansi-c/ansi-c$(LIBEXT) \
88
../cpp/cpp$(LIBEXT) \
9+
../java_bytecode/java_bytecode$(LIBEXT) \
910
../linking/linking$(LIBEXT) \
1011
../big-int/big-int$(LIBEXT) \
1112
../goto-programs/goto-programs$(LIBEXT) \
@@ -34,16 +35,6 @@ CLEANFILES = symex$(EXEEXT)
3435

3536
all: symex$(EXEEXT)
3637

37-
ifneq ($(wildcard ../bv_refinement/Makefile),)
38-
OBJ += ../bv_refinement/bv_refinement$(LIBEXT)
39-
CP_CXXFLAGS += -DHAVE_BV_REFINEMENT
40-
endif
41-
42-
ifneq ($(wildcard ../java_bytecode/Makefile),)
43-
OBJ += ../java_bytecode/java_bytecode$(LIBEXT)
44-
CP_CXXFLAGS += -DHAVE_JAVA_BYTECODE
45-
endif
46-
4738
ifneq ($(wildcard ../specc/Makefile),)
4839
OBJ += ../specc/specc$(LIBEXT)
4940
CP_CXXFLAGS += -DHAVE_SPECC

0 commit comments

Comments
 (0)