Changeset 6702346f in rtems


Ignore:
Timestamp:
Dec 16, 2003, 10:44:57 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
4a8754d
Parents:
6d2aa69
Message:

2003-12-16 Ralf Corsepius <corsepiu@…>

  • cache/Makefile.am: Eliminate VPATH.
Location:
c/src/lib/libcpu/sparc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/sparc/ChangeLog

    r6d2aa69 r6702346f  
     12003-12-16      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * cache/Makefile.am: Eliminate VPATH.
     4
    152003-12-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    26
  • c/src/lib/libcpu/sparc/cache/Makefile.am

    r6d2aa69 r6702346f  
    33##
    44
    5 VPATH = @srcdir@:@srcdir@/../../shared/src
     5include $(top_srcdir)/../../../automake/compile.am
     6include $(top_srcdir)/../../../automake/lib.am
    67
    7 C_FILES = cache.c cache_aligned_malloc.c cache_manager.c
    8 OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
     8src_C_FILES = cache.c
     9common_C_FILES = ../../shared/src/cache_aligned_malloc.c
     10common_C_FILES += ../../shared/src/cache_manager.c
     11
     12OBJS = $(src_C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
     13OBJS += $(common_C_FILES:../../shared/src/%.c=$(ARCH)/%.$(OBJEXT))
    914
    1015include_libcpudir = $(includedir)/libcpu
    1116
    12 include_libcpu_HEADERS = cache.h
     17include_libcpu_HEADERS = ../../shared/include/cache.h
    1318noinst_HEADERS = cache_.h
    14 
    15 include $(top_srcdir)/../../../automake/compile.am
    16 include $(top_srcdir)/../../../automake/lib.am
    1719
    1820if has_instruction_cache
     
    2224AM_CPPFLAGS += -I$(srcdir) $(CACHE_DEFINE)
    2325
    24 cache.h: $(top_srcdir)/../shared/include/cache.h
    25         cp $< $@
     26$(ARCH)/%.$(OBJEXT): ../../shared/src/%.c $(ARCH)/$(dirstamp)
     27        ${COMPILE} -o $@ -c $<
    2628
    2729all-local: $(PREINSTALL_FILES) $(OBJS)
    28 
    29 CLEANFILES = cache.h
    3030
    3131EXTRA_DIST = cache.c cache_.h
     
    3737        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
    3838
    39 $(PROJECT_INCLUDE)/libcpu/cache.h: cache.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
     39$(PROJECT_INCLUDE)/libcpu/cache.h: ../../shared/include/cache.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
    4040        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/cache.h
    4141PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cache.h
Note: See TracChangeset for help on using the changeset viewer.