dc0c04d9d2
constraint itself. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1916 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
69 lines
1.8 KiB
Makefile
69 lines
1.8 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_SRCDIR = $(srcdir)/clpbn
|
|
|
|
CLPBN_EXDIR = $(srcdir)/clpbn/examples
|
|
|
|
CLPBN_PROGRAMS= \
|
|
$(CLPBN_SRCDIR)/aggregates.yap \
|
|
$(CLPBN_SRCDIR)/bnt.yap \
|
|
$(CLPBN_SRCDIR)/discrete_utils.yap \
|
|
$(CLPBN_SRCDIR)/display.yap \
|
|
$(CLPBN_SRCDIR)/dists.yap \
|
|
$(CLPBN_SRCDIR)/evidence.yap \
|
|
$(CLPBN_SRCDIR)/gibbs.yap \
|
|
$(CLPBN_SRCDIR)/graphs.yap \
|
|
$(CLPBN_SRCDIR)/graphviz.yap \
|
|
$(CLPBN_SRCDIR)/hmm.yap \
|
|
$(CLPBN_SRCDIR)/topsort.yap \
|
|
$(CLPBN_SRCDIR)/utils.yap \
|
|
$(CLPBN_SRCDIR)/vel.yap \
|
|
$(CLPBN_SRCDIR)/viterbi.yap \
|
|
$(CLPBN_SRCDIR)/xbif.yap
|
|
|
|
CLPBN_EXAMPLES= \
|
|
$(CLPBN_EXDIR)/cg.yap \
|
|
$(CLPBN_EXDIR)/School/README \
|
|
$(CLPBN_EXDIR)/School/evidence_128.yap \
|
|
$(CLPBN_EXDIR)/School/schema.yap \
|
|
$(CLPBN_EXDIR)/School/school_128.yap \
|
|
$(CLPBN_EXDIR)/School/school_32.yap \
|
|
$(CLPBN_EXDIR)/School/school_64.yap \
|
|
$(CLPBN_EXDIR)/School/tables.yap \
|
|
$(CLPBN_EXDIR)/sprinkler.yap
|
|
|
|
|
|
install: $(CLBN_TOP) $(CLBN_PROGRAMS) $(CLPBN_PROGRAMS)
|
|
mkdir -p $(DESTDIR)$(SHAREDIR)/clpbn
|
|
mkdir -p $(DESTDIR)$(SHAREDIR)/examples
|
|
mkdir -p $(DESTDIR)$(SHAREDIR)/clpbn/examples/School
|
|
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)/examples; done
|
|
|