I am trying to build a software package I am unfamiliar with, and it uses automake, which I am also unfamiliar with. The various Makefiles have the macro $(AM_MAKEFLAGS) all over the place. I need to know what’s in this macro. I have grepped and grepped and cannot find where it is defined. Does this mean AM_MAKEFLAGS is blank? Or does automake typicall put it somewhere I would never think to look? Bottom line: If I can’t find it defined anywhere, how do I know what’s in it? Thanks.
Share
When invoking
make, you can use the command-line parameter-por--print-data-baseto have it print the values of all rules and variables it encounters. Redirecting the output to a file and searching forAM_MAKEFLAGSin that file will show you whether the variable is defined and if so, what its value is. See section 9.7 Summary of Options for some extra information.