2a0d6480c9
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2259 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
#
|
|
# 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@
|
|
YAP_EXTRAS=@YAP_EXTRAS@
|
|
|
|
PROGRAMS= $(srcdir)/debug.pl \
|
|
$(srcdir)/maplist.pl \
|
|
$(srcdir)/operators.pl \
|
|
$(srcdir)/option.pl \
|
|
$(srcdir)/prolog_source.pl \
|
|
$(srcdir)/prolog_xref.pl
|
|
|
|
SWI_PROGRAMS= $(srcdir)/apply_macros.pl
|
|
|
|
|
|
install: $(PROGRAMS)
|
|
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap
|
|
for p in $(PROGRAMS); do $(INSTALL_DATA) $$p $(DESTDIR)$(SHAREDIR)/Yap; done
|
|
for p in $(SWI_PROGRAMS); do $(INSTALL_DATA) $$p $(DESTDIR)$(SHAREDIR)/Yap/swi; done
|
|
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap/logtalk
|
|
for p in $(LOGTALK_PROGRAMS); do $(INSTALL_DATA) $$p $(DESTDIR)$(SHAREDIR)/Yap/logtalk; done
|
|
|