2009-03-09 00:42:12 +00:00
|
|
|
#
|
|
|
|
# default base directory for YAP installation
|
|
|
|
# (EROOT for architecture-dependent files)
|
|
|
|
#
|
|
|
|
prefix = @prefix@
|
2010-03-05 10:22:48 +00:00
|
|
|
exec_prefix = @exec_prefix@
|
2009-03-09 00:42:12 +00:00
|
|
|
ROOTDIR = $(prefix)
|
|
|
|
EROOTDIR = @exec_prefix@
|
2009-05-02 20:11:54 +01:00
|
|
|
abs_top_builddir = @abs_top_builddir@
|
2009-03-09 00:42:12 +00:00
|
|
|
#
|
|
|
|
# where the binary should be
|
|
|
|
#
|
|
|
|
BINDIR = $(EROOTDIR)/bin
|
|
|
|
#
|
|
|
|
# where YAP should look for libraries
|
|
|
|
#
|
2010-06-01 00:40:58 +01:00
|
|
|
LIBDIR=@libdir@
|
|
|
|
YAPLIBDIR=@libdir@/Yap
|
2009-03-09 00:42:12 +00:00
|
|
|
#
|
2010-08-26 13:44:10 +01:00
|
|
|
# where YAP should look for architecture-independent Prolog libraries
|
|
|
|
#
|
|
|
|
SHAREDIR=$(ROOTDIR)/share
|
|
|
|
#
|
2009-03-09 00:42:12 +00:00
|
|
|
#
|
|
|
|
CC=@CC@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# You shouldn't need to change what follows.
|
|
|
|
#
|
|
|
|
INSTALL=@INSTALL@
|
|
|
|
INSTALL_DATA=@INSTALL_DATA@
|
|
|
|
INSTALL_PROGRAM=@INSTALL_PROGRAM@
|
|
|
|
SHELL=/bin/sh
|
|
|
|
RANLIB=@RANLIB@
|
|
|
|
srcdir=@srcdir@
|
2010-06-14 10:36:13 +01:00
|
|
|
SO=@SO@
|
2009-03-09 00:42:12 +00:00
|
|
|
#4.1VPATH=@srcdir@:@srcdir@/OPTYap
|
|
|
|
CWD=$(PWD)
|
|
|
|
#
|
|
|
|
|
|
|
|
DYNAMIC =
|
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
INCLUDE = @CUDD_CPPFLAGS@
|
|
|
|
LINKFLAGS = -lm
|
|
|
|
LINKLIBS = @CUDD_LDFLAGS@
|
|
|
|
|
2010-08-26 13:44:10 +01:00
|
|
|
default: problogbdd
|
2009-03-09 00:42:12 +00:00
|
|
|
|
2010-08-26 13:44:10 +01:00
|
|
|
problogbdd: problogbdd.o simplecudd.o general.o problogmath.o
|
|
|
|
@echo Making problogbdd...
|
|
|
|
@echo Copyright Katholieke Universiteit Leuven 2008
|
|
|
|
@echo Authors: T. Mantadelis, A. Kimmig, B. Gutmann, I. Thon, G. Van den Broeck
|
|
|
|
$(CC) problogbdd.o simplecudd.o general.o problogmath.o $(LINKLIBS) $(LINKFLAGS) -o problogbdd
|
2009-03-09 00:42:12 +00:00
|
|
|
|
|
|
|
%.o : $(srcdir)/%.c
|
|
|
|
$(CC) $(CFLAGS) $(INCLUDE) $(DYNAMIC) -c $<
|
|
|
|
|
2010-08-26 13:44:10 +01:00
|
|
|
clean:
|
|
|
|
rm -f *.o problogbdd
|
2009-03-09 00:42:12 +00:00
|
|
|
|
|
|
|
install: default
|
2010-08-26 13:44:10 +01:00
|
|
|
$(INSTALL_PROGRAM) problogbdd $(DESTDIR)$(SHAREDIR)/Yap
|