bprolog support

This commit is contained in:
Vítor Santos Costa 2011-10-27 12:38:11 +02:00
parent fa9d8008a4
commit 20a1362bf8

View File

@ -91,6 +91,7 @@ MYDDAS_PROGRAMS= $(srcdir)/MYDDAS/myddas.ypp \
DIALECT_PROGRAMS= \ DIALECT_PROGRAMS= \
$(srcdir)/dialect/commons.yap \ $(srcdir)/dialect/commons.yap \
$(srcdir)/dialect/bprolog.yap \
$(srcdir)/dialect/hprolog.yap \ $(srcdir)/dialect/hprolog.yap \
$(srcdir)/dialect/swi.yap $(srcdir)/dialect/swi.yap
@ -98,6 +99,12 @@ DIALECT_SWI= \
$(srcdir)/dialect/swi/INDEX.pl \ $(srcdir)/dialect/swi/INDEX.pl \
$(srcdir)/dialect/swi/listing.pl $(srcdir)/dialect/swi/listing.pl
DIALECT_BP= \
$(srcdir)/dialect/bprolog/actionrules.pl \
$(srcdir)/dialect/bprolog/compile_foreach.pl \
$(srcdir)/dialect/bprolog/foreach.pl \
$(srcdir)/dialect/bprolog/hashtable.yap
install: $(PROGRAMS) install_myddas install: $(PROGRAMS) install_myddas
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap mkdir -p $(DESTDIR)$(SHAREDIR)/Yap
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap/dialect mkdir -p $(DESTDIR)$(SHAREDIR)/Yap/dialect
@ -105,6 +112,7 @@ install: $(PROGRAMS) install_myddas
for p in $(PROGRAMS); do $(INSTALL_DATA) $$p $(DESTDIR)$(SHAREDIR)/Yap; done for p in $(PROGRAMS); do $(INSTALL_DATA) $$p $(DESTDIR)$(SHAREDIR)/Yap; done
for p in $(DIALECT_PROGRAMS); do $(INSTALL_DATA) $$p $(DESTDIR)$(SHAREDIR)/Yap/dialect; done for p in $(DIALECT_PROGRAMS); do $(INSTALL_DATA) $$p $(DESTDIR)$(SHAREDIR)/Yap/dialect; done
for p in $(DIALECT_SWI); do $(INSTALL_DATA) $$p $(DESTDIR)$(SHAREDIR)/Yap/dialect/swi; done for p in $(DIALECT_SWI); do $(INSTALL_DATA) $$p $(DESTDIR)$(SHAREDIR)/Yap/dialect/swi; done
for p in $(DIALECT_BP); do $(INSTALL_DATA) $$p $(DESTDIR)$(SHAREDIR)/Yap/dialect/bprolog; done
install_myddas: $(MYDDAS_PROGRAMS) install_myddas: $(MYDDAS_PROGRAMS)
count=`echo "$(YAP_EXTRAS)" | grep MYDDAS | wc -l`; \ count=`echo "$(YAP_EXTRAS)" | grep MYDDAS | wc -l`; \