Browse Source
Added possibility to evaluate expressions without concrete variables. Fixed some minor things in CUDD Makefiles. Renamed IR adapter.
tempestpy_adaptions
Added possibility to evaluate expressions without concrete variables. Fixed some minor things in CUDD Makefiles. Renamed IR adapter.
tempestpy_adaptions
dehnert
12 years ago
20 changed files with 214 additions and 50 deletions
-
17CMakeLists.txt
-
14resources/3rdparty/cudd-2.5.0/Makefile
-
113resources/3rdparty/cudd-2.5.0/obj/Makefile
-
37src/adapters/ExplicitModelAdapter.h
-
11src/ir/IntegerVariable.cpp
-
12src/ir/IntegerVariable.h
-
6src/ir/expressions/BaseExpression.h
-
2src/ir/expressions/BinaryBooleanFunctionExpression.h
-
4src/ir/expressions/BinaryNumericalFunctionExpression.h
-
2src/ir/expressions/BinaryRelationExpression.h
-
2src/ir/expressions/BooleanConstantExpression.h
-
2src/ir/expressions/BooleanLiteral.h
-
2src/ir/expressions/DoubleConstantExpression.h
-
2src/ir/expressions/DoubleLiteral.h
-
2src/ir/expressions/IntegerConstantExpression.h
-
2src/ir/expressions/IntegerLiteral.h
-
2src/ir/expressions/UnaryBooleanFunctionExpression.h
-
4src/ir/expressions/UnaryNumericalFunctionExpression.h
-
20src/ir/expressions/VariableExpression.h
-
8src/storm.cpp
@ -0,0 +1,113 @@ |
|||||
|
# $Id: Makefile,v 1.3 2001/03/19 07:34:37 fabio Exp fabio $
|
||||
|
#
|
||||
|
# obj: CUDD's C++ interface
|
||||
|
#---------------------------------------------------------------------------
|
||||
|
.SUFFIXES: .o .cc .u |
||||
|
|
||||
|
#CXX = g++
|
||||
|
CXX = clang++ |
||||
|
RANLIB = ranlib |
||||
|
# Define EXE as .exe for MS-DOS and derivatives.
|
||||
|
PURE = |
||||
|
EXE = |
||||
|
#EXE = .exe
|
||||
|
|
||||
|
MFLAG = |
||||
|
#ICFLAGS = -g
|
||||
|
ICFLAGS = |
||||
|
XCFLAGS = |
||||
|
#CXXFLAGS =
|
||||
|
CXXFLAGS = -O3 -std=c++11 -stdlib=libc++ |
||||
|
CFLAGS = $(ICFLAGS) $(MFLAG) $(XCFLAGS) $(CXXFLAGS) |
||||
|
DDDEBUG = |
||||
|
|
||||
|
LINTFLAGS = -u -n -DDD_STATS -DDD_CACHE_PROFILE -DDD_VERBOSE -DDD_DEBUG -DDD_UNIQUE_PROFILE |
||||
|
|
||||
|
# this is to create the lint library
|
||||
|
LINTSWITCH = -o |
||||
|
|
||||
|
WHERE = .. |
||||
|
|
||||
|
INCLUDE = $(WHERE)/include |
||||
|
|
||||
|
LIBS = ./libobj.a $(WHERE)/cudd/libcudd.a $(WHERE)/mtr/libmtr.a \
|
||||
|
$(WHERE)/st/libst.a $(WHERE)/util/libutil.a $(WHERE)/epd/libepd.a |
||||
|
|
||||
|
MNEMLIB = |
||||
|
|
||||
|
BLIBS = -kL. -klobj -kL$(WHERE)/cudd -klcudd -kL$(WHERE)/mtr -klmtr \
|
||||
|
-kL$(WHERE)/st -klst -kL$(WHERE)/util -klutil -kL$(WHERE)/epd -klepd |
||||
|
|
||||
|
LINTLIBS = ./llib-lobj.ln $(WHERE)/cudd/llib-lcudd.ln \
|
||||
|
$(WHERE)/mtr/llib-lmtr.ln $(WHERE)/st/llib-lst.ln \
|
||||
|
$(WHERE)/util/llib-lutil.ln $(WHERE)/epd/llib-lepd.ln |
||||
|
|
||||
|
LDFLAGS = |
||||
|
|
||||
|
# files for the package
|
||||
|
P = obj |
||||
|
PSRC = cuddObj.cc |
||||
|
PHDR = cuddObj.hh $(INCLUDE)/cudd.h |
||||
|
POBJ = $(PSRC:.cc=.o) |
||||
|
PUBJ = $(PSRC:.cc=.u) |
||||
|
TARGET = test$(P)$(EXE) |
||||
|
TARGETu = test$(P)-u |
||||
|
|
||||
|
# files for the test program
|
||||
|
SRC = test$(P).cc |
||||
|
OBJ = $(SRC:.cc=.o) |
||||
|
UBJ = $(SRC:.cc=.u) |
||||
|
|
||||
|
#------------------------------------------------------
|
||||
|
|
||||
|
lib$(P).a: $(POBJ) |
||||
|
ar rv $@ $? |
||||
|
$(RANLIB) $@ |
||||
|
|
||||
|
.cc.o: $(PHDR) |
||||
|
$(CXX) -c $< -I$(INCLUDE) $(CFLAGS) $(DDDEBUG) |
||||
|
|
||||
|
optimize_dec: lib$(P).b |
||||
|
|
||||
|
lib$(P).b: $(PUBJ) |
||||
|
ar rv $@ $? |
||||
|
$(RANLIB) $@ |
||||
|
|
||||
|
.cc.u: $(PHDR) |
||||
|
cxx -j $< -I$(INCLUDE) $(CFLAGS) |
||||
|
|
||||
|
# if the header files change, recompile
|
||||
|
$(POBJ): $(PHDR) |
||||
|
$(PUBJ): $(PHDR) |
||||
|
$(OBJ): $(PHDR) |
||||
|
$(UBJ): $(PHDR) |
||||
|
|
||||
|
$(TARGET): $(SRC) $(OBJ) $(HDR) $(LIBS) $(MNEMLIB) |
||||
|
$(PURE) $(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS) $(MNEMLIB) -lm |
||||
|
|
||||
|
# optimize (DECstations and Alphas only: uses u-code)
|
||||
|
$(TARGETu): $(SRC) $(UBJ) $(HDR) $(LIBS:.a=.b) |
||||
|
cxx -O3 -Olimit 1000 $(XCFLAGS) $(LDFLAGS) -o $@ $(UBJ) $(BLIBS) -lm |
||||
|
|
||||
|
lint: llib-l$(P).ln |
||||
|
|
||||
|
llib-l$(P).ln: $(PSRC) $(PHDR) |
||||
|
lint $(LINTFLAGS) $(LINTSWITCH)$(P) -I$(INCLUDE) $(PSRC) |
||||
|
|
||||
|
lintpgm: lint |
||||
|
lint $(LINTFLAGS) -I$(INCLUDE) $(SRC) $(LINTLIBS) |
||||
|
|
||||
|
tags: $(PSRC) $(PHDR) |
||||
|
ctags $(PSRC) $(PHDR) |
||||
|
|
||||
|
all: lib$(P).a lib$(P).b llib-l$(P).ln tags |
||||
|
|
||||
|
programs: $(TARGET) $(TARGETu) lintpgm |
||||
|
|
||||
|
clean: |
||||
|
rm -f *.o *.u mon.out gmon.out *.pixie *.Addrs *.Counts mnem.* \
|
||||
|
.pure core *.warnings |
||||
|
|
||||
|
distclean: clean |
||||
|
rm -f $(TARGET) $(TARGETu) lib*.a lib$(P).b llib-l$(P).ln \
|
||||
|
*.bak *~ tags .gdb_history *.qv *.qx |
Write
Preview
Loading…
Cancel
Save
Reference in new issue