I have a module-definition (.def) file that is used to export the name of the modules and subroutines, FILE_A.def:
I also have parallel routines that get compiled only if the parrallel option was enabled, so we currently handle this by having another file that has the same content as FILE_A.def but with the extra parallel subroutines added (and this file is used instead of FILE_A.def). I would like get rid of these duplicate lines between files, so I was wondering if it is possible to include #ifdef *like* conditional statements in the .def file. If not, then can two .def be used instead, say FILE_A.def and FILE_B.def that contains the parallel routines and is included only if the parallel routines are compiled. Or is there a better way in general to do this. Any pointers to documentation or examples would be helpful.