This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/CLPBN/clpbn/bp/Makefile.in

178 lines
3.5 KiB
Makefile
Raw Normal View History

#
# default base directory for YAP installation
# (EROOT for architecture-dependent files)
#
GCC = @GCC@
prefix = @prefix@
exec_prefix = @exec_prefix@
ROOTDIR = $(prefix)
EROOTDIR = @exec_prefix@
abs_top_builddir = @abs_top_builddir@
#
# where the binary should be
#
BINDIR = $(EROOTDIR)/bin
#
# where YAP should look for libraries
#
LIBDIR=@libdir@
YAPLIBDIR=@libdir@/Yap
#
#
CC=@CC@
CXX=@CXX@
# normal
2012-03-22 11:33:24 +00:00
#CXXFLAGS= -std=c++0x @SHLIB_CXXFLAGS@ $(YAP_EXTRAS) $(DEFS) -D_YAP_NOT_INSTALLED_=1 -I$(srcdir) -I../../../.. -I$(srcdir)/../../../../include @CPPFLAGS@ -DNDEBUG
# debug
2012-03-22 11:33:24 +00:00
CXXFLAGS= -std=c++0x @SHLIB_CXXFLAGS@ $(YAP_EXTRAS) $(DEFS) -D_YAP_NOT_INSTALLED_=1 -I$(srcdir) -I../../../.. -I$(srcdir)/../../../../include @CPPFLAGS@ -g -O0 -Wextra
#
#
# You shouldn't need to change what follows.
#
INSTALL=@INSTALL@
INSTALL_DATA=@INSTALL_DATA@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
SHELL=/bin/sh
RANLIB=@RANLIB@
srcdir=@srcdir@
SO=@SO@
#4.1VPATH=@srcdir@:@srcdir@/OPTYap
CWD=$(PWD)
HEADERS = \
$(srcdir)/BayesNet.h \
2012-04-05 18:38:56 +01:00
$(srcdir)/BayesBall.h \
2011-12-10 23:12:10 +00:00
$(srcdir)/ElimGraph.h \
$(srcdir)/FactorGraph.h \
$(srcdir)/Factor.h \
2012-03-22 11:33:24 +00:00
$(srcdir)/CFactorGraph.h \
$(srcdir)/ConstraintTree.h \
$(srcdir)/Solver.h \
2011-12-10 23:12:10 +00:00
$(srcdir)/VarElimSolver.h \
2012-04-05 23:00:48 +01:00
$(srcdir)/BpSolver.h \
2011-12-10 23:12:10 +00:00
$(srcdir)/CbpSolver.h \
2012-03-22 11:33:24 +00:00
$(srcdir)/FoveSolver.h \
2012-04-05 23:00:48 +01:00
$(srcdir)/Var.h \
2012-03-22 11:33:24 +00:00
$(srcdir)/Indexer.h \
$(srcdir)/Parfactor.h \
$(srcdir)/ProbFormula.h \
$(srcdir)/Histogram.h \
$(srcdir)/ParfactorList.h \
$(srcdir)/LiftedUtils.h \
$(srcdir)/TinySet.h \
$(srcdir)/Util.h \
2012-04-05 20:08:54 +01:00
$(srcdir)/Horus.h
2012-03-22 11:33:24 +00:00
CPP_SOURCES = \
$(srcdir)/BayesNet.cpp \
2012-04-05 18:38:56 +01:00
$(srcdir)/BayesBall.cpp \
2011-12-10 23:12:10 +00:00
$(srcdir)/ElimGraph.cpp \
$(srcdir)/FactorGraph.cpp \
$(srcdir)/Factor.cpp \
2011-12-10 23:12:10 +00:00
$(srcdir)/CFactorGraph.cpp \
2012-03-22 11:33:24 +00:00
$(srcdir)/ConstraintTree.cpp \
2012-04-05 23:00:48 +01:00
$(srcdir)/Var.cpp \
2011-12-10 23:12:10 +00:00
$(srcdir)/Solver.cpp \
$(srcdir)/VarElimSolver.cpp \
2012-04-05 23:00:48 +01:00
$(srcdir)/BpSolver.cpp \
2011-12-10 23:12:10 +00:00
$(srcdir)/CbpSolver.cpp \
2012-03-22 11:33:24 +00:00
$(srcdir)/FoveSolver.cpp \
$(srcdir)/Parfactor.cpp \
$(srcdir)/ProbFormula.cpp \
$(srcdir)/Histogram.cpp \
$(srcdir)/ParfactorList.cpp \
$(srcdir)/LiftedUtils.cpp \
$(srcdir)/Util.cpp \
$(srcdir)/HorusYap.cpp \
2012-04-05 20:08:54 +01:00
$(srcdir)/HorusCli.cpp
OBJS = \
BayesNet.o \
2012-04-05 18:38:56 +01:00
BayesBall.o \
2011-12-10 23:12:10 +00:00
ElimGraph.o \
FactorGraph.o \
Factor.o \
2011-12-10 23:12:10 +00:00
CFactorGraph.o \
2012-03-22 11:33:24 +00:00
ConstraintTree.o \
2012-04-05 23:00:48 +01:00
Var.o \
2011-12-10 23:12:10 +00:00
Solver.o \
VarElimSolver.o \
2012-04-05 23:00:48 +01:00
BpSolver.o \
2011-12-10 23:12:10 +00:00
CbpSolver.o \
2012-03-22 11:33:24 +00:00
FoveSolver.o \
Parfactor.o \
ProbFormula.o \
Histogram.o \
ParfactorList.o \
LiftedUtils.o \
Util.o \
HorusYap.o
HCLI_OBJS = \
BayesNet.o \
2012-04-05 18:38:56 +01:00
BayesBall.o \
2011-12-10 23:12:10 +00:00
ElimGraph.o \
FactorGraph.o \
Factor.o \
2011-12-10 23:12:10 +00:00
CFactorGraph.o \
2012-03-22 11:33:24 +00:00
ConstraintTree.o \
2012-04-05 23:00:48 +01:00
Var.o \
2011-12-10 23:12:10 +00:00
Solver.o \
VarElimSolver.o \
2012-04-05 23:00:48 +01:00
BpSolver.o \
2011-12-10 23:12:10 +00:00
CbpSolver.o \
2012-03-22 11:33:24 +00:00
FoveSolver.o \
Parfactor.o \
ProbFormula.o \
Histogram.o \
ParfactorList.o \
LiftedUtils.o \
Util.o \
2011-12-10 23:12:10 +00:00
HorusCli.o
SOBJS=horus.@SO@
all: $(SOBJS) hcli
# default rule
%.o : $(srcdir)/%.cpp
$(CXX) -c $(CXXFLAGS) $< -o $@
@DO_SECOND_LD@horus.@SO@: $(OBJS)
@DO_SECOND_LD@ @SHLIB_CXX_LD@ -o horus.@SO@ $(OBJS) @EXTRA_LIBS_FOR_SWIDLLS@
hcli: $(HCLI_OBJS)
$(CXX) -o hcli $(HCLI_OBJS)
install: all
$(INSTALL_PROGRAM) $(SOBJS) $(DESTDIR) $(YAPLIBDIR)
clean:
2012-04-05 20:08:54 +01:00
rm -f *.o *~ $(OBJS) $(SOBJS) *.BAK hcli
2012-03-22 11:33:24 +00:00
erase_dots:
rm -f *.dot *.png
depend: $(HEADERS) $(CPP_SOURCES)
-@if test "$(GCC)" = yes; then\
$(CC) -std=c++0x -MM -MG $(CFLAGS) -I$(srcdir) -I$(srcdir)/../../../../include -I$(srcdir)/../../../../H $(CPP_SOURCES) >> Makefile;\
else\
makedepend -f - -- $(CFLAGS) -I$(srcdir)/../../../../H -I$(srcdir)/../../../../include -- $(CPP_SOURCES) |\
sed 's|.*/\([^:]*\):|\1:|' >> Makefile ;\
fi
# DO NOT DELETE THIS LINE -- make depend depends on it.