TOMS418 is a FORTRAN77 library which implements ACM TOMS algorithm 418, for the approximate integration of functions of the form F(X)*COS(W*X) or F(X)*SIN(W*X).
While 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, most of the early algorithms are not available. This is one of them. I typed it in.
INTLIB, a FORTRAN90 library which includes routines to do Filon quadrature.
Bo Einarsson
You can go up one level to the FORTRAN77 source codes.