This adds FLINKARGS for use in linking the Feff8l executable files. The motivation is to be able to use a -headerpad_max_install_names option on Darwin to better allow the Mac-only utility install_name_tool to later change RPATH (that is, where they will be able to find Fortran dynamic libs) of these executable files. The not-quite-standard patchelf on Linux is similar, but appears to not need such a flag set.
This PR makes a few small additional changes:
a) default for PREFIX is changed to ${CURDIR}/local_install so that default install is local and does not assume admin privileges.
b) some non-code-changing cleanups of Feff6l, especially end-of-line comments in header files which spew warnings.
c) add feff8l_ prefix to the installed executable binaries (so we install feff8l_pot, instead of pot (it may be legal in Seattle, but not everywhere else ;)).
This adds
FLINKARGS
for use in linking the Feff8l executable files. The motivation is to be able to use a-headerpad_max_install_names
option on Darwin to better allow the Mac-only utilityinstall_name_tool
to later changeRPATH
(that is, where they will be able to find Fortran dynamic libs) of these executable files. The not-quite-standardpatchelf
on Linux is similar, but appears to not need such a flag set.This PR makes a few small additional changes: a) default for
PREFIX
is changed to${CURDIR}/local_install
so that default install is local and does not assume admin privileges. b) some non-code-changing cleanups of Feff6l, especially end-of-line comments in header files which spew warnings. c) addfeff8l_
prefix to the installed executable binaries (so we installfeff8l_pot
, instead ofpot
(it may be legal in Seattle, but not everywhere else ;)).