Changeset 99

Show
Ignore:
Timestamp:
12/21/98 17:49:11 (10 years ago)
Author:
frodo
Message:

The very beginnings of the new user-space application

It doesn't do much yet, but at least it compiles and links...

Files:

Legend:

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

    r92 r99  
    9696 
    9797# The subdirectories we need to build things in  
    98 SRCDIRS := src lib 
     98SRCDIRS := src lib prog/sensors 
    9999ifeq ($(I2C),1) 
    100100SRCDIRS += i2c i2c/detect i2c/drivers i2c/eeprom 
  • lm-sensors/trunk/lib/Module.mk

    r97 r99  
    3333LIBSHSONAME := libsensors.so.$(LIBMAINVER) 
    3434 
    35 LIBTARGETS := $(MODULE_DIR)/$(LIBSTLIBNAME) $(MODULE_DIR)/$(LIBSHLIBNAME) 
     35LIBTARGETS := $(MODULE_DIR)/$(LIBSTLIBNAME) $(MODULE_DIR)/$(LIBSHLIBNAME) \ 
     36              $(MODULE_DIR)/$(LIBSHSONAME) $(MODULE_DIR)/$(LIBSHBASENAME) 
    3637 
    3738LIBCSOURCES := $(MODULE_DIR)/data.c $(MODULE_DIR)/general.c \ 
     
    4950$(MODULE_DIR)/$(LIBSHLIBNAME): $(LIBSHOBJECTS) 
    5051        $(CC) -shared -Wl,-soname,$(LIBSHSONAME) -o $@ $^ -lc 
     52 
     53$(MODULE_DIR)/$(LIBSHSONAME): $(MODULE_DIR)/$(LIBSHLIBNAME) 
     54        $(RM) $@ 
     55        $(LN) $(LIBSHLIBNAME) $@ 
     56 
     57$(MODULE_DIR)/$(LIBSHBASENAME): $(MODULE_DIR)/$(LIBSHLIBNAME) 
     58        $(RM) $@  
     59        $(LN) $(LIBSHLIBNAME) $@ 
    5160 
    5261# And the static library 
  • lm-sensors/trunk/lib/data.h

    r98 r99  
    2424 
    2525/* This header file contains all kinds of data structures which are used 
    26    for the representation of the config file data and the /proc/.../chips 
     26   for the representation of the config file data and the /proc/... 
    2727   data. */ 
    2828