MakeFile Archaeology: Difference between revisions

From HELIOS Digital DAQ
Jump to navigation Jump to search
(Created page with "== Digging up the make file and all that it refers to == We start with the makefile itself.")
 
No edit summary
Line 1: Line 1:
== Digging up the make file and all that it refers to ==
== Digging up the make file and all that it refers to ==


We start with the makefile itself.
We start with the makefile itself, found at /global/devel/gretTop/9-22/dgsDrivers.
The makefile presumes that it is being run from the top of the development tree, setting internal variable TOP to ".".
 
* The makefile then includes the contents of the file /global/devel/gretTop/9-22/dgsDrivers/configure/CONFIG. 
** This file includes the file /global/devel/gretTop/9-22/dgsDrivers/configure/CONFIG_APP but all other lines are commented out.
*** File /global/devel/gretTop/9-22/dgsDrivers/configure/CONFIG_APP itself then pulls in /global/devel/gretTop/9-22/dgsDrivers/configure/RELEASE but the other files are '''''not included''''' because the "-include" directive means "do not include".  Guess that's a backwards way to comment out the line.

Revision as of 21:34, May 21, 2018

Digging up the make file and all that it refers to

We start with the makefile itself, found at /global/devel/gretTop/9-22/dgsDrivers. The makefile presumes that it is being run from the top of the development tree, setting internal variable TOP to ".".

  • The makefile then includes the contents of the file /global/devel/gretTop/9-22/dgsDrivers/configure/CONFIG.
    • This file includes the file /global/devel/gretTop/9-22/dgsDrivers/configure/CONFIG_APP but all other lines are commented out.
      • File /global/devel/gretTop/9-22/dgsDrivers/configure/CONFIG_APP itself then pulls in /global/devel/gretTop/9-22/dgsDrivers/configure/RELEASE but the other files are not included because the "-include" directive means "do not include". Guess that's a backwards way to comment out the line.