Changeset 547 for lm-sensors/trunk/Makefile
- Timestamp:
- 09/03/99 13:47:33 (14 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/Makefile (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/Makefile
r544 r547 27 27 # SHELL=/usr/bin/bash 28 28 29 # The location of your kernel headers (which should be the linux and asm30 # subdirectories). For most people, the below works perfectly. If you use31 # Debian, you may want to change this to something like /usr/src/linux/include. 32 LINUX_HEADERS= /usr/include29 # The location of linux itself. This is used to find the kernel headers 30 # and other things. 31 LINUX=/usr/src/linux 32 LINUX_HEADERS=$(LINUX)/include 33 33 34 34 # If you have installed the i2c header at some other place (like … … 37 37 # may be used mistakenly. 38 38 I2C_HEADERS=/usr/local/include 39 40 # The location of linux itself. This is only used to determine whether you41 # use a SMP kernel in the magic invocation just below.42 LINUX=/usr/src/linux43 39 44 40 # Uncomment the third line on SMP systems if the magic invocation fails. It … … 58 54 # Uncomment the second line if you are a developer. This will enable many 59 55 # additional warnings at compile-time 60 #WARN := 0 61 WARN := 1 62 63 # Uncomment the second line if you want to get (loads of) debug information. 56 WARN := 0 57 #WARN := 1 58 59 # Uncomment the second line if you want to get (loads of) debug information 60 # at run-time. 64 61 # Not recommended, unless you are actually debugging the code 65 62 DEBUG := 0 … … 70 67 71 68 # This is the directory into which the modules will be installed. 72 MODDIR := /lib/modules/current/extra/misc 69 # The magic invocation will return something like this: 70 # /lib/modules/2.2.15-ac9/extra/misc 71 MODDIR := /lib/modules/`sed -ne '1,4 { s/.*= *\(.*\)/\1/; 1,2 s/.*/&./; p; };' <$(LINUX)/Makefile | tr -d '\n'`/misc 73 72 74 73 # This is the directory where sensors.conf will be installed, if no other … … 123 122 # all, install and clean. Use double colons instead of single ones 124 123 # to do this. 124 125 125 126 126 # The subdirectories we need to build things in
