# # default base directory for YAP installation # ROOTDIR = @prefix@ # # where the binary should be # BINDIR = $(ROOTDIR)/bin # # where YAP should look for binary libraries # LIBDIR=$(ROOTDIR)/lib/Yap # # where YAP should look for architecture-independent Prolog libraries # SHAREDIR=$(ROOTDIR)/share # # # You shouldn't need to change what follows. # INSTALL=@INSTALL@ INSTALL_DATA=@INSTALL_DATA@ INSTALL_PROGRAM=@INSTALL_PROGRAM@ srcdir=@srcdir@ PROGRAMS= $(srcdir)/apply_macros.yap \ $(srcdir)/assoc.yap \ $(srcdir)/atts.yap \ $(srcdir)/avl.yap \ $(srcdir)/charsio.yap \ $(srcdir)/cleanup.yap \ $(srcdir)/gensym.yap \ $(srcdir)/heaps.yap \ $(srcdir)/listing.yap \ $(srcdir)/lists.yap \ $(srcdir)/logtalk.yap \ $(srcdir)/ordsets.yap \ $(srcdir)/prandom.yap \ $(srcdir)/queues.yap \ $(srcdir)/random.yap \ $(srcdir)/rbtrees.yap \ $(srcdir)/regexp.yap \ $(srcdir)/splay.yap \ $(srcdir)/swi.yap \ $(srcdir)/system.yap \ $(srcdir)/terms.yap \ $(srcdir)/tries.yap \ $(srcdir)/timeout.yap \ $(srcdir)/trees.yap \ $(srcdir)/ugraphs.yap \ $(srcdir)/ypp.yap \ $(srcdir)/MYDDAS/myddas.yap \ $(srcdir)/MYDDAS/myddas_assert_predicates.yap \ $(srcdir)/MYDDAS/myddas_mysql.yap \ $(srcdir)/MYDDAS/myddas_top_level.yap \ $(srcdir)/MYDDAS/myddas_errors.yap \ $(srcdir)/MYDDAS/myddas_prolog2sql.yap \ $(srcdir)/MYDDAS/myddas_util_predicates.yap LOGTALK_PROGRAMS= \ $(srcdir)/logtalk/logtalk.pl \ $(srcdir)/logtalk/yap.config install: $(PROGRAMS) mkdir -p $(DESTDIR)$(SHAREDIR)/Yap for p in $(PROGRAMS); do $(INSTALL_DATA) $$p $(DESTDIR)$(SHAREDIR)/Yap; done mkdir -p $(DESTDIR)$(SHAREDIR)/Yap/logtalk for p in $(LOGTALK_PROGRAMS); do $(INSTALL_DATA) $$p $(DESTDIR)$(SHAREDIR)/Yap/logtalk; done