I sent out following patch several days ago without response. :(
Could you take some time to review it? Welcome comments, and I'd be
happy to enhance it. :)
Libxc is the part coupling with platform context most tightly,
with some files which should be made arch dependent. Following patch is
trying to move those files into arch dependent directory. I only
addressed 7 files by far, because compilation succeeds on IPF simply
after solving them. Since there's no distinct boundary between them and
other common files, I'm lazy to add another Makefile under arch-dep
directory. Also no change to compile option
since they work fine on x86 and IPF currently.
To reduce the size of patch, a trick is used to move files when
first compilation. After that, you can simply remove 8 lines leading by
"TEMP" comment. IPF related changes will be sent to Dan later.