Bob Frenkel posted essentially the same question over 5 years ago:
https://forums.silverfrost.com/Forum/Topic/2376
This is an old Fortran-66 library, still usable. The source code is available from
https://github.com/jacobwilliams/nswc/raw/master/src/nswc.f
Manual (dated 1990):
http://www.dtic.mil/dtic/tr/fulltext/u2/a476840.pdf
The file has already the correct lines selected for the machine constants in subroutines IPMPAR, SPMPAR and IPMPAR. Just compile and link the source file into a DLL:
ftn95 nswc.f /si /opt /p6
slink /dll nswc.obj /exportall
From this point on, to link any of your programs that call one of the NSWC routines, simply specify the name of the DLL in the linking command:
ftn95 myNSWCX.f90
slink myNSWCX.obj NSWC.DLL
Note that listing the name of the DLL in the SLINK command line serves the same purpose as the Unix Fortran compiler option -lnswc.
You can take the corresponding steps in 64-bit mode, if you prefer.