2008-02-12 17:03:59 +00:00
|
|
|
#
|
|
|
|
# default base directory for YAP installation
|
|
|
|
#
|
|
|
|
ROOTDIR = @prefix@
|
|
|
|
#
|
|
|
|
# where the binary should be
|
|
|
|
#
|
|
|
|
BINDIR = $(ROOTDIR)/bin
|
|
|
|
#
|
|
|
|
# where YAP should look for binary libraries
|
|
|
|
#
|
2010-03-05 08:15:02 +00:00
|
|
|
LIBDIR=@libdir@/Yap
|
2008-02-12 17:03:59 +00:00
|
|
|
#
|
|
|
|
# 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@
|
|
|
|
YAP_EXTRAS=@YAP_EXTRAS@
|
|
|
|
|
2013-03-05 21:50:38 +00:00
|
|
|
PROGRAMS= \
|
|
|
|
$(srcdir)/aggregate.pl \
|
|
|
|
$(srcdir)/base64.pl \
|
2010-06-23 11:49:34 +01:00
|
|
|
$(srcdir)/broadcast.pl \
|
2013-03-05 21:50:38 +00:00
|
|
|
$(srcdir)/ctypes.pl \
|
2010-07-29 00:22:08 +01:00
|
|
|
$(srcdir)/date.pl \
|
2010-06-23 11:49:34 +01:00
|
|
|
$(srcdir)/debug.pl \
|
2014-03-06 02:02:34 +00:00
|
|
|
$(srcdir)/edit.pl \
|
2013-03-05 21:50:38 +00:00
|
|
|
$(srcdir)/error.pl \
|
2011-06-13 01:42:45 +01:00
|
|
|
$(srcdir)/main.pl \
|
2012-06-08 12:52:48 +01:00
|
|
|
$(srcdir)/menu.pl \
|
2010-07-28 20:03:08 +01:00
|
|
|
$(srcdir)/nb_set.pl \
|
2013-03-05 21:50:38 +00:00
|
|
|
$(srcdir)/occurs.yap \
|
2008-02-12 17:03:59 +00:00
|
|
|
$(srcdir)/operators.pl \
|
|
|
|
$(srcdir)/option.pl \
|
2012-02-13 09:38:02 +00:00
|
|
|
$(srcdir)/pairs.pl \
|
|
|
|
$(srcdir)/predicate_options.pl \
|
|
|
|
$(srcdir)/predopts.pl \
|
|
|
|
$(srcdir)/prolog_clause.pl \
|
|
|
|
$(srcdir)/prolog_colour.pl \
|
2008-02-12 17:03:59 +00:00
|
|
|
$(srcdir)/prolog_source.pl \
|
2010-06-17 00:33:20 +01:00
|
|
|
$(srcdir)/prolog_xref.pl \
|
2013-11-18 12:57:09 +00:00
|
|
|
$(srcdir)/pure_input.pl \
|
|
|
|
$(srcdir)/quasi_quotations.pl \
|
2010-06-23 11:49:34 +01:00
|
|
|
$(srcdir)/quintus.pl \
|
2011-02-15 13:54:19 +00:00
|
|
|
$(srcdir)/readutil.pl \
|
2010-07-23 12:06:56 +01:00
|
|
|
$(srcdir)/record.pl \
|
2010-06-23 11:49:34 +01:00
|
|
|
$(srcdir)/settings.pl \
|
|
|
|
$(srcdir)/shlib.pl \
|
2011-03-11 21:31:10 +00:00
|
|
|
$(srcdir)/thread_pool.pl \
|
2010-06-23 11:49:34 +01:00
|
|
|
$(srcdir)/url.pl \
|
2011-06-13 01:57:15 +01:00
|
|
|
$(srcdir)/utf8.pl \
|
2012-06-08 12:52:48 +01:00
|
|
|
$(srcdir)/win_menu.pl \
|
2013-11-18 12:57:09 +00:00
|
|
|
$(srcdir)/www_browser.pl\
|
|
|
|
$(srcdir)/dcg/basics.pl
|
2008-02-12 17:03:59 +00:00
|
|
|
|
2014-02-15 01:24:07 +00:00
|
|
|
all:
|
2008-02-12 17:03:59 +00:00
|
|
|
|
|
|
|
install: $(PROGRAMS)
|
|
|
|
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap
|
2013-11-18 12:57:09 +00:00
|
|
|
mkdir -p $(DESTDIR)$(SHAREDIR)/dcg
|
2008-02-12 17:03:59 +00:00
|
|
|
for p in $(PROGRAMS); do $(INSTALL_DATA) $$p $(DESTDIR)$(SHAREDIR)/Yap; done
|
|
|
|
|
2014-02-13 01:58:48 +00:00
|
|
|
|
|
|
|
install-examples:
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -f Makefile
|