# replace lrslib by the name of the library or package
# install this file as lrslib/Makefile.in
# add libraries/lrslib/Makefile to ../config/files
# run make -C ../..
# reconfigure in the build directory
HOMEPAGE = http://www-cgrl.cs.mcgill.ca/~avis/C/lrs.html
# URL = http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive
URL = http://macaulay2.com/Downloads/OtherSourceCode
VERSION = 071a
PATCHFILE = @abs_srcdir@/patch-$(VERSION)
TARFILE = lrslib-$(VERSION).tar.gz
#PROGRAMS = lrs redund lra1 redund1 nash setupnash setupnash2 fourier buffer 2nash
PROGRAMS = lrs #redund lrs1 redund1 setnash setnash2 2nash
STRIPFILES = $(PROGRAMS)
LICENSEFILES = COPYING
CONFIGURECMD = true
BUILDTARGET = lrs
BUILDOPTIONS = LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" CC="$(CC)" TARGET_ARCH=$(TARGET_ARCH) RANLIB=true LIBDIR="$(BUILTLIBPATH)/lib" INCLUDEDIR="$(BUILTLIBPATH)/include"
INSTALLCMD = true
CHECKCMD = true
include ../Makefile.library
Makefile: @srcdir@/Makefile.in ; cd ../.. && ./config.status libraries/lrslib/Makefile
# Local Variables:
# mode: makefile-gmake
# compile-command: "make -C $M2BUILDDIR/libraries/lrslib "
# End:
