Changeset 5035

Show
Ignore:
Timestamp:
11/23/07 20:50:05 (7 years ago)
Author:
jwrdegoede
Message:

Fix building on PPC machines

Location:
lm-sensors/branches/lm-sensors-3.0.0
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/Makefile

    r4985 r5035  
    100100 
    101101# The subdirectories we need to build things in  
    102 SRCDIRS := 
    103 SRCDIRS += lib prog/detect prog/dump prog/pwm \ 
     102SRCDIRS := lib prog/detect prog/pwm \ 
    104103           prog/sensors ${PROG_EXTRA:%=prog/%} etc 
     104# Only build isadump and isaset on x86 machines. 
     105ifneq (,$(findstring $(MACHINE), i386 i486 i586 i686 x86_64)) 
     106SRCDIRS += prog/dump 
     107endif 
    105108SRCDIRS += lib/test 
    106109 
  • lm-sensors/branches/lm-sensors-3.0.0/prog/dump/Module.mk

    r4480 r5035  
    2323 
    2424PROGDUMPMAN8DIR := $(MANDIR)/man8 
    25 PROGDUMPMAN8FILES := 
     25PROGDUMPMAN8FILES := $(MODULE_DIR)/isadump.8 $(MODULE_DIR)/isaset.8 
    2626 
    2727# Regrettably, even 'simply expanded variables' will not put their currently 
    2828# defined value verbatim into the command-list of rules... 
    29 PROGDUMPTARGETS := 
    30 PROGDUMPSOURCES := $(MODULE_DIR)/util.c 
    31 PROGDUMPBININSTALL := 
    32  
    33 # Only build isadump and isaset on x86 machines. 
    34 ifneq (,$(findstring $(MACHINE), i386 i486 i586 i686 x86_64)) 
    35 PROGDUMPMAN8FILES += $(MODULE_DIR)/isadump.8 $(MODULE_DIR)/isaset.8 
    36 PROGDUMPTARGETS += $(MODULE_DIR)/isadump $(MODULE_DIR)/isaset 
    37 PROGDUMPSOURCES += $(MODULE_DIR)/isadump.c $(MODULE_DIR)/isaset.c \ 
    38                    $(MODULE_DIR)/superio.c 
    39 PROGDUMPBININSTALL += $(MODULE_DIR)/isadump $(MODULE_DIR)/isaset 
    40 endif 
     29PROGDUMPTARGETS := $(MODULE_DIR)/isadump $(MODULE_DIR)/isaset 
     30PROGDUMPSOURCES := $(MODULE_DIR)/util.c $(MODULE_DIR)/isadump.c \ 
     31                   $(MODULE_DIR)/isaset.c $(MODULE_DIR)/superio.c 
     32PROGDUMPBININSTALL := $(MODULE_DIR)/isadump $(MODULE_DIR)/isaset 
    4133 
    4234# Include all dependency files. We use '.rd' to indicate this will create