Changeset 4394

Show
Ignore:
Timestamp:
05/09/07 14:46:16 (2 years ago)
Author:
khali
Message:

Update to match the current makefile targets.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/doc/developers/makefiles

    r4069 r4394  
    55There is one big Makefile in the root of this package. It includes many 
    66other files; one for each directory in which source code is found. These 
    7 included files are called 'Module.mk'. There is a separate set of Makefiles 
    8 in the i2c/ directories; these are Simon Vogl's original Makefiles, and 
    9 not referred by the main package Makefile. 
     7included files are called 'Module.mk'. 
    108 
    119There are several interesting targets defined through this Makefile: 
    1210  * all 
    1311    Create everything in all directories. 
    14   * all-i2c, all-src, ... 
    15     Create everything in the designated directory
     12  * user 
     13    Build only user-space tools
    1614  * install 
    1715    Install everything from all directories. 
    18   * install-i2c, install-src, ... 
    19     Install everything in the designated directory. 
     16  * user_install 
     17    Install only user-space tools. 
     18  * user_uninstall 
     19    Uninstall user-space tools. 
    2020  * clean 
    2121    Remove anything which can be regenerated from all directories. A call 
     
    2323    this is useful when they are out of date (and prevent the calling of 
    2424    any other target). 
    25   * clean-i2c, clean-src, ... 
    26     Remove anything which can be regenerated from the designated directory. 
    2725  * version 
    2826    Regenerate version.h, using the current date for the date-stamp, and 
     
    3028  * package 
    3129    Create a .tar.gz file containing everything except the SVN directories. 
    32   * src/lm78.o, i2c/i2c-core.o, ... 
    33     You can of course also specify one or more targets to make. 
    3430 
    3531The best way to understand the Module.mk subfiles is to examine one of them, 
    36 for example src/Module.mk. They are not too difficult to understand. 
     32for example lib/Module.mk. They are not too difficult to understand. 
    3733 
    3834There are several variables which can be set in the main Makefile. You can