41 lines
724 B
Makefile
41 lines
724 B
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=@libdir@/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)/clp_events.pl
|
|
|
|
all:
|
|
|
|
install: $(PROGRAMS)
|
|
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap
|
|
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap/clp
|
|
for p in $(PROGRAMS); do $(INSTALL_DATA) $$p $(DESTDIR)$(SHAREDIR)/Yap/clp; done
|
|
|
|
install-examples:
|
|
|
|
clean:
|
|
|
|
distclean: clean
|
|
rm -f Makefile
|