# URL = http://cs.anu.edu.au/~bdm/nauty
URL = http://macaulay2.com/Downloads/OtherSourceCode
VERSION = 27b11
# PATCHFILE = @abs_srcdir@/patch-$(VERSION)
PRECONFIGURE = autoreconf -i
TARFILE = nauty$(VERSION).tar.gz
TARDIR = nauty$(VERSION)

# --enable-generic disallows -march=native, otherwise it is tested for
CONFIGOPTIONS = --enable-generic

PROGRAMS = NRswitchg addedgeg amtog biplabg catg complg copyg countg deledgeg \
	   directg dreadnaut dretog genbg geng genrang gentourng labelg listg \
	   multig newedgeg pickg planarg shortg showg
CHECKERS = dreadtest dreadtestS dreadtestS1 dreadtest4K dreadtest1 dreadtestW1 dreadtestL1 dreadtestL
CHECKCMD = rm -f $(CHECKERS) && $(MAKE) BIGTEST=0 checks
STRIPFILES = NRswitchg addedgeg amtog biplabg catg complg copyg countg deledgeg directg	\
	dreadnaut dretog genbg geng genrang gentourng labelg linegraphg listg multig	\
	newedgeg pickg planarg ranlabg shortg showg subdivideg watercluster2
LICENSEFILES = nauty.h
INSTALLCMD = true

# gcc 8.3 needs more memory
MLIMIT = 500000
VLIMIT = 500000

include ../Makefile.library
Makefile: @srcdir@/Makefile.in ; cd ../.. && ./config.status libraries/nauty/Makefile
# Local Variables:
# mode: makefile-gmake
# compile-command: "make -C $M2BUILDDIR/libraries/nauty "
# End:
