Changeset 1822
- Timestamp:
- 06/28/03 22:04:51 (5 years ago)
- Files:
-
- lm-sensors/trunk/Makefile (modified) (3 diffs)
- lm-sensors/trunk/etc/Module.mk (modified) (1 diff)
- lm-sensors/trunk/kernel/include/Module.mk (modified) (3 diffs)
- lm-sensors/trunk/lib/Module.mk (modified) (2 diffs)
- lm-sensors/trunk/prog/detect/Module.mk (modified) (1 diff)
- lm-sensors/trunk/prog/dump/Module.mk (modified) (1 diff)
- lm-sensors/trunk/prog/sensord/Module.mk (modified) (2 diffs)
- lm-sensors/trunk/prog/sensors/Module.mk (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/Makefile
r1789 r1822 41 41 # Determine whether we need to compile the kernel modules, or only the 42 42 # user-space utilities. By default, the kernel modules are compiled. 43 # Leave this set to 1. If you want to compile and install only 44 # the library and the userspace programs, 45 # use 'make user' and 'make user_install' 43 46 #COMPILE_KERNEL := 0 44 47 COMPILE_KERNEL := 1 … … 247 250 dep : 248 251 249 all::250 251 install :: all 252 252 user :: 253 user_install:: 254 all :: user 255 install :: all user_install 253 256 clean:: 254 257 $(RM) lm_sensors-* … … 276 279 echo '#define LM_VERSION "'`read VER; echo $$VER`\" >> version.h 277 280 281 help: 282 @echo 'Make targets are:' 283 @echo ' all (default): build modules and userspace programs' 284 @echo ' install: install modules and userspace programs' 285 @echo ' user: build userspace programs' 286 @echo ' user_install: install userspace programs' 287 @echo ' clean: cleanup' 288 @echo ' package: create a distribution package' 289 @echo 'Note: make dep is automatic' 278 290 279 291 # Here, we define all implicit rules we want to use. lm-sensors/trunk/etc/Module.mk
r675 r1822 32 32 $(INSTALL) -o root -g root -m 644 $(ETCTARGET) $(DESTDIR)$(ETCINSTALL); \ 33 33 fi 34 install :: install-etc34 user_install :: install-etc 35 35 36 36 # No clean rule lm-sensors/trunk/kernel/include/Module.mk
r1813 r1822 22 22 KERNELINCLUDEDIR := $(MODULE_DIR) 23 23 24 KERNELINCLUDEFILES := 24 KERNELINCLUDEFILES := i2c-dev.h 25 25 ifneq ($(shell if grep -q '^CONFIG_SENSORS=y' $(LINUX)/.config; then echo 1; fi),1) 26 26 KERNELINCLUDEFILES += $(MODULE_DIR)/sensors.h … … 36 36 $(SED) -e 's/:.*//' -e 's#^#$(KERNELINCLUDEDIR)/sensors.h: #' ) > $@ 37 37 38 # Get depend ancies of sensors.h38 # Get dependencies of sensors.h 39 39 INCLUDEFILES += $(MODULE_DIR)/sensors.hd 40 40 … … 45 45 fi 46 46 47 install :: install-all-kernel-include47 user_install :: install-all-kernel-include 48 48 49 49 clean-all-kernel-include: lm-sensors/trunk/lib/Module.mk
r1805 r1822 84 84 85 85 all-lib: $(LIBTARGETS) 86 all:: all-lib86 user :: all-lib 87 87 88 88 # Generate warnings if the install directory isn't in /etc/ld.so.conf … … 127 127 128 128 129 install :: install-lib129 user_install :: install-lib 130 130 131 131 clean-lib: lm-sensors/trunk/prog/detect/Module.mk
r1484 r1822 34 34 35 35 all-prog-detect: $(PROGDETECTTARGETS) 36 all:: all-prog-detect36 user :: all-prog-detect 37 37 38 38 install-prog-detect: all-prog-detect 39 39 mkdir -p $(DESTDIR)$(SBINDIR) 40 40 $(INSTALL) -o root -g root -m 755 $(PROGDETECTSBININSTALL) $(DESTDIR)$(SBINDIR) 41 install :: install-prog-detect41 user_install :: install-prog-detect 42 42 43 43 clean-prog-detect: lm-sensors/trunk/prog/dump/Module.mk
r1484 r1822 36 36 37 37 all-prog-dump: $(PROGDUMPTARGETS) 38 all:: all-prog-dump38 user :: all-prog-dump 39 39 40 40 install-prog-dump: all-prog-dump 41 41 mkdir -p $(DESTDIR)$(SBINDIR) 42 42 $(INSTALL) -o root -g root -m 755 $(PROGDUMPBININSTALL) $(DESTDIR)$(SBINDIR) 43 install :: install-prog-dump43 user_install :: install-prog-dump 44 44 45 45 clean-prog-dump: lm-sensors/trunk/prog/sensord/Module.mk
r1359 r1822 42 42 43 43 all-prog-sensord: $(PROGSENSORDTARGETS) 44 all:: all-prog-sensord44 user :: all-prog-sensord 45 45 46 46 install-prog-sensord: all-prog-sensord … … 48 48 $(INSTALL) -o root -g root -m 755 $(PROGSENSORDTARGETS) $(DESTDIR)$(SBINDIR) 49 49 $(INSTALL) -o $(MANOWN) -g $(MANGRP) -m 644 $(PROGSENSORDMAN1FILES) $(DESTDIR)$(PROGSENSORDMAN1DIR) 50 install :: install-prog-sensord50 user_install :: install-prog-sensord 51 51 52 52 clean-prog-sensord: lm-sensors/trunk/prog/sensors/Module.mk
r675 r1822 38 38 39 39 all-prog-sensors: $(PROGSENSORSTARGETS) 40 all:: all-prog-sensors40 user :: all-prog-sensors 41 41 42 42 install-prog-sensors: all-prog-sensors … … 44 44 $(INSTALL) -o root -g root -m 755 $(PROGSENSORSTARGETS) $(DESTDIR)$(BINDIR) 45 45 $(INSTALL) -o $(MANOWN) -g $(MANGRP) -m 644 $(PROGSENSORSMAN1FILES) $(DESTDIR)$(PROGSENSORSMAN1DIR) 46 install :: install-prog-sensors46 user_install :: install-prog-sensors 47 47 48 48 clean-prog-sensors:
