Changeset 89

Show
Ignore:
Timestamp:
12/18/98 17:39:47 (10 years ago)
Author:
frodo
Message:

Makefile documentation updates, and two additional Makefile fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/INSTALL

    r48 r89  
    1616  to compile the version included in this package. In that case, check 
    1717  the file i2c/MODIFICATIONS in this package to see what versions are 
    18   OK
     18  safe
    1919* WARN, DEBUG 
    2020  These options should only be needed if you are an active developer of 
    2121  this package. 
    22 * MODDIR 
     22* PREFIX (/usr/local) 
     23  The prefix which is added to most directory locations below. 
     24* MODDIR (/lib/modules/extra/misc) 
    2325  The directory where 'make install' installs your modules. 
    24 * INCLUDEDIR 
    25   The directory where 'make install' installs your include files. 
     26* LIBDIR ($(PREFIX)/lib) 
     27  The directory where 'make install' installs the shared and static libraries. 
     28* BINDIR ($(PREFIX)/bin) 
     29  The directory where 'make install' installs all executables. 
     30* INCLUDEDIR ($(PREFIX)/include) 
     31  The basic directory where 'make install' installs your include files. 
     32  Actually, SYSINCLUDEDIR ($(INCLUDEDIR)/linux) is used for kernel header 
     33  files, and LIBINCLUDEDIR ($(INCLUDEDIR)/sensors) is used for library 
     34  header files. 
    2635 
    2736Warning! In newer 2.1 kernels, there is support for I2C. This support is 
    28 NOT compatible with this module! Actually, Simon Vogl's modules (which 
    29 ARE compatible) is scheduled to replace the current support. If you 
     37NOT compatible with this module! Actually, Simon Vogl's modules package  
     38(which IS compatible) is scheduled to replace the current support. If you 
    3039actually use these modules, you have a problem; they can not coexist 
    3140with Simon's modules. Theoretically, you should be able to replace 
  • lm-sensors/trunk/doc/makefiles

    r52 r89  
    5656  * .rd 
    5757    Dependency files for executables. Automatically generated. 
     58  * .ao 
     59    Dependency files for static libraries. Automatically generated. 
     60  * .lo 
     61    Dependency files for shared libraries. Automatically generated. 
     62  * .o 
     63    Generated modules 
    5864  * .ro 
    5965    Object files for executables. They will be linked together to create 
     
    6167    modules (which end on .o). Also, using a different extensions makes 
    6268    the Makefile fragments much simpler. 
     69  * .ao 
     70    Object files for static libraries 
     71  * .lo 
     72    Object files for shared libraries 
    6373 
    6474There are lots of comments within the main Makefile. Please read them if 
  • lm-sensors/trunk/i2c/Module.mk

    r58 r89  
    3636 
    3737install-i2c: 
    38         $(MKDIR) $(MODDIR) $(INCLUDEDIR) 
     38        $(MKDIR) $(MODDIR) $(SYSINCLUDEDIR) 
    3939        install -o root -g root -m 644 $(I2CTARGETS) $(MODDIR) 
    40         install -o root -g root -m 644 $(I2CHEADERFILES) $(INCLUDEDIR) 
     40        install -o root -g root -m 644 $(I2CHEADERFILES) $(SYSINCLUDEDIR) 
    4141install :: install-i2c 
    4242 
  • lm-sensors/trunk/kernel/Module.mk

    r83 r89  
    3939 
    4040install-src: 
    41         $(MKDIR) $(MODDIR) $(INCLUDEDIR) 
     41        $(MKDIR) $(MODDIR) $(SYSINCLUDEDIR) 
    4242        install -o root -g root -m 644 $(SRCTARGETS) $(MODDIR) 
    43         install -o root -g root -m 644 $(SRCHEADERFILES) $(INCLUDEDIR) 
     43        install -o root -g root -m 644 $(SRCHEADERFILES) $(SYSINCLUDEDIR) 
    4444install :: install-src 
    4545 
  • lm-sensors/trunk/src/Module.mk

    r83 r89  
    3939 
    4040install-src: 
    41         $(MKDIR) $(MODDIR) $(INCLUDEDIR) 
     41        $(MKDIR) $(MODDIR) $(SYSINCLUDEDIR) 
    4242        install -o root -g root -m 644 $(SRCTARGETS) $(MODDIR) 
    43         install -o root -g root -m 644 $(SRCHEADERFILES) $(INCLUDEDIR) 
     43        install -o root -g root -m 644 $(SRCHEADERFILES) $(SYSINCLUDEDIR) 
    4444install :: install-src 
    4545