4c15c9371e
some further improvements on oveflow handling fix paths in Java makefile changs to support gibbs sampling in CLP(BN) git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1283 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
#
|
|
# default base directory for YAP installation
|
|
#
|
|
ROOTDIR = @prefix@
|
|
#
|
|
# where the binary should be
|
|
#
|
|
BINDIR = $(ROOTDIR)/bin
|
|
#
|
|
# where YAP should look for libraries
|
|
#
|
|
LIBDIR=$(ROOTDIR)/lib/Yap
|
|
#
|
|
# where YAP should look for architecture-independent Prolog libraries
|
|
#
|
|
SHAREDIR=$(ROOTDIR)/share/Yap
|
|
#
|
|
#
|
|
# You shouldn't need to change what follows.
|
|
#
|
|
INSTALL=@INSTALL@
|
|
INSTALL_DATA=@INSTALL_DATA@
|
|
INSTALL_PROGRAM=@INSTALL_PROGRAM@
|
|
srcdir=@srcdir@
|
|
|
|
CLPBN_TOP= $(srcdir)/clpbn.yap
|
|
|
|
CLPBN_PROGRAMS= \
|
|
$(srcdir)/clpbn/aggregates.yap \
|
|
$(srcdir)/clpbn/bnt.yap \
|
|
$(srcdir)/clpbn/discrete_utils.yap \
|
|
$(srcdir)/clpbn/evidence.yap \
|
|
$(srcdir)/clpbn/gibbs.yap \
|
|
$(srcdir)/clpbn/graphs.yap \
|
|
$(srcdir)/clpbn/graphviz.yap \
|
|
$(srcdir)/clpbn/utils.yap \
|
|
$(srcdir)/clpbn/vel.yap \
|
|
$(srcdir)/clpbn/xbif.yap
|
|
|
|
CLPBN_EXAMPLES=
|
|
|
|
|
|
install: $(CLBN_TOP) $(CLBN_PROGRAMS) $(CLPBN_PROGRAMS)
|
|
mkdir -p $(DESTDIR)$(SHAREDIR)/clpbn
|
|
mkdir -p $(DESTDIR)$(SHAREDIR)/clpbn/examples
|
|
for h in $(CLPBN_TOP); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR); done
|
|
for h in $(CLPBN_PROGRAMS); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR)/clpbn; done
|
|
# for h in $(CLPBN_EXAMPLES); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR)/clpbn/examples; done
|
|
|