Here is the source code for the libraries and programs that we link with or distribute with Macaulay2. The standard place to put these files in the source distribution is in BUILD/tarfiles/, the directory referred to by libraries/Makefile.library.in, but this is done automatically by our makefiles if you enable downloads when configuring.