TOMS291 is a FORTRAN90 library which approximates the logarithm of the Gamma function.
The text of many ACM TOMS algorithms is available online through ACM: http://www.acm.org/pubs/calgo or NETLIB: http://www.netlib.org/toms/index.html.
TOMS291 is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.
ASA245, a FORTRAN90 library which evaluates the logarithm of the Gamma function.
GSL, a C++ library which evaluates many special functions, including the logarithm of the Gamma function.
POLPAK, a FORTRAN90 library which evaluates a variety of special functions.
SPECFUN, a FORTRAN77 library which evaluates a variety of special functions.
TEST_VALUES, a FORTRAN90 library which tabulates several values of a variety of special functions.
TOMS708, a FORTRAN90 library which evaluates several special functions, including the logarithm of the Gamma function.
You can go up one level to the FORTRAN90 source codes.