Changeset 4e36a2f in rtems for c/src/lib/libcpu/i386


Ignore:
Timestamp:
Jan 31, 2000, 3:27:02 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
bb18b95
Parents:
8fbdf07
Message:

Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from
Ralf Corsepius <corsepiu@…> that contain:

  • Modifications, (minor) corrections, cleanups to most existing Makefile.ams
  • Adds automake support to all remaining BSPs which have not yet been converted to automake.
  • Makefile.am for all remaining wrapup/Makefile.ams
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/i386/Makefile.am

    r8fbdf07 r4e36a2f  
    99LIB = $(ARCH)/$(LIBNAME).a
    1010
    11 # C source names, if any, go here -- minus the .c
    1211C_FILES = cpu.c displayCpu.c page.c
    13 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1413
    1514H_FILES = cpu.h registers.h cpuModel.h
    16 noinst_HEADERS = $(H_FILES)
    1715
    18 # Assembly source names, if any, go here -- minus the .s
    1916S_FILES = cpu_asm.S cpuModel.S
    20 S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
     17S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
    2118
    2219OBJS = $(C_O_FILES) $(S_O_FILES)
     
    2522include $(top_srcdir)/../../../../../automake/lib.am
    2623
    27 $(LIB): ${OBJS}
     24$(LIB): $(OBJS)
    2825        $(make-library)
    29 
    30 PREINSTALL_FILES = $(PROJECT_INCLUDE)/libcpu \
    31     $(H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%)
    3226
    3327$(PROJECT_INCLUDE)/libcpu:
     
    3731        $(INSTALL_DATA) $< $@
    3832
    39 TMPINSTALL_FILES += \
    40 $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
    41 
    4233$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
    4334        $(INSTALL_DATA) $< $@
    4435
     36PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
     37    $(H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%)
    4538
    46 all-local: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
     39TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
    4740
    48 EXTRA_DIST = $(C_FILES) $(S_FILES)
     41all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
     42
     43.PRECIOUS: $(LIB)
     44
     45EXTRA_DIST = cpu.c cpu.h cpuModel.S cpuModel.h cpu_asm.S displayCpu.c page.c \
     46    registers.h
    4947
    5048include $(top_srcdir)/../../../../../automake/local.am
Note: See TracChangeset for help on using the changeset viewer.