GFAN_VERSION = 0.6.2
VERSION = $(GFAN_VERSION)
PATCHFILE = @abs_srcdir@/patch-$(GFAN_VERSION)
# URL = http://home.imf.au.dk/jensen/software/gfan/gfan.html
URL = http://macaulay2.com/Downloads/OtherSourceCode
TARFILE = gfan$(VERSION).tar.gz
TARDIR = gfan$(VERSION)
CONFIGURECMD = true
# adding cddnoprefix=yes here ensures that we include "cdd.h" instead of "cdd/cdd.h", which is necessary when trying to use cddlib as installed by homebrew on the Mac:
CPPFLAGS += -I$(BUILTLIBPATH)/include/cddlib
BUILDOPTIONS = CC="$(CC) $(CPPFLAGS)" CXX="$(CXX) $(CPPFLAGS)" CLINKER="$(CC) $(LDFLAGS)" CCLINKER="$(CXX) $(LDFLAGS)" PREFIX=/nowhere CDD_LINKOPTIONS=-lcddgmp cddnoprefix=yes
INSTALLOPTIONS = PREFIX=$(LIBRARIESDIR)
CHECKTARGET = .
STRIPFILES = gfan@EXEEXT@
LICENSEFILES = LICENSE COPYING
include ../Makefile.library
Makefile: @srcdir@/Makefile.in ; cd ../.. && ./config.status libraries/gfan/Makefile
# Local Variables:
# compile-command: "make -C $M2BUILDDIR/libraries/gfan "
# End:
