Changeset f439d61e in rtems


Ignore:
Timestamp:
Jan 30, 2004, 3:26:36 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
5466140
Parents:
3f5232a
Message:

2004-01-30 Ralf Corsepius <corsepiu@…>

  • wrapup/Makefile.am: Remove.
  • configure.ac: Remove wrapup.
  • shared/Makefile.am: Use automake compilation rules. Build *.rels.
Location:
c/src/lib/libcpu/powerpc
Files:
2 deleted
4 edited

Legend:

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

    r3f5232a rf439d61e  
     12004-01-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * wrapup/Makefile.am: Remove.
     4        * configure.ac: Remove wrapup.
     5        * shared/Makefile.am: Use automake compilation rules.
     6        Build *.rels.
     7
    182004-01-21      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    29
  • c/src/lib/libcpu/powerpc/Makefile.am

    r3f5232a rf439d61e  
    99    rtems/powerpc/debugmod.h
    1010
    11 SUBDIRS = shared mpc505 mpc6xx mpc8260 mpc8xx ppc403 wrapup
     11SUBDIRS = shared mpc505 mpc6xx mpc8260 mpc8xx ppc403
    1212
    1313all-local: $(TMPINSTALL_FILES)
  • c/src/lib/libcpu/powerpc/configure.ac

    r3f5232a rf439d61e  
    5656mpc8260/Makefile
    5757shared/Makefile
    58 wrapup/Makefile])
     58])
    5959AC_OUTPUT
  • c/src/lib/libcpu/powerpc/shared/Makefile.am

    r3f5232a rf439d61e  
    33##
    44
     5EXTRA_PROGRAMS =
     6CLEANFILES =
     7noinst_DATA =
     8
    59include $(top_srcdir)/../../../automake/compile.am
    6 include $(top_srcdir)/../../../automake/lib.am
    710
    811# include
    912if shared
    10 libcpuspec_C_FILES = include/cpuIdent.c
    11 libcpuspec_OBJS = \
    12     $(libcpuspec_C_FILES:include/%.c=include/$(ARCH)/%.$(OBJEXT))
    13 
    1413include_libcpudir = $(includedir)/libcpu
    1514
    16 include_libcpu_HEADERS = include/spr.h include/io.h include/mmu.h \
    17     include/page.h include/byteorder.h include/pgtable.h include/cpuIdent.h
     15include_libcpu_HEADERS = include/io.h include/mmu.h include/page.h \
     16    include/byteorder.h include/pgtable.h
    1817
    19 include/$(ARCH)/$(dirstamp):
    20         @$(mkdir_p) include/$(ARCH)
    21         @: > include/$(ARCH)/$(dirstamp)
    22 include/$(ARCH)/%.$(OBJEXT): include/%.c include/$(ARCH)/$(dirstamp)
    23         ${COMPILE} -o $@ -c $<
    24 include/$(ARCH)/libcpuspec.a: $(libcpuspec_OBJS)
    25         $(make-library)
    26 CLEANDIRS = include/o-optimize include/o-debug
     18EXTRA_PROGRAMS += cpuIdent.rel
     19CLEANFILES += cpuIdent.rel
     20cpuIdent_rel_SOURCES = include/cpuIdent.c include/cpuIdent.h
     21cpuIdent_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     22cpuIdent_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    2723
    28 EXTRA_DIST = $(libcpuspec_C_FILES)
     24EXTRA_PROGRAMS += cpuIdent_g.rel
     25CLEANFILES += cpuIdent_g.rel
     26cpuIdent_g_rel_SOURCES = $(cpuIdent_rel_SOURCES)
     27cpuIdent_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     28cpuIdent_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    2929
    30 # src
     30noinst_DATA += cpuIdent$(LIB_VARIANT).rel
     31include_libcpu_HEADERS += include/cpuIdent.h
    3132
    32 src_C_FILES = src/cache.c src/stack.c
     33## cache
     34EXTRA_PROGRAMS += cache.rel
     35CLEANFILES += cache.rel
     36cache_rel_SOURCES = src/cache.c src/cache_.h \
     37    ../../shared/src/cache_aligned_malloc.c ../../shared/src/cache_manager.c \
     38    ../../shared/include/cache.h
     39cache_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -I$(srcdir)/src
     40cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    3341
    34 common_C_FILES = $(top_srcdir)/../shared/src/cache_aligned_malloc.c
    35 common_C_FILES += $(top_srcdir)/../shared/src/cache_manager.c
     42EXTRA_PROGRAMS += cache_g.rel
     43CLEANFILES += cache_g.rel
     44cache_g_rel_SOURCES = $(cache_rel_SOURCES)
     45cache_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -I$(srcdir)/src
     46cache_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    3647
    37 src_O_FILES = $(src_C_FILES:src/%.c=src/$(ARCH)/%.$(OBJEXT))
    38 common_O_FILES = \
    39     $(common_C_FILES:$(top_srcdir)/../shared/src/%.c=src/$(ARCH)/%.$(OBJEXT))
     48noinst_DATA += cache$(LIB_VARIANT).rel
     49include_libcpu_HEADERS += ../../shared/include/cache.h
    4050
    41 src/$(ARCH)/$(dirstamp):
    42         @$(mkdir_p) src/$(ARCH)
    43         @: > src/$(ARCH)/$(dirstamp)
    44 src/$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../shared/src/%.c src/$(ARCH)/$(dirstamp)
    45         ${COMPILE} -I$(srcdir)/src -o $@ -c $<
    46 src/$(ARCH)/%.$(OBJEXT): src/%.c src/$(ARCH)/$(dirstamp)
    47         ${COMPILE} -I$(srcdir)/src -o $@ -c $<
    48 CLEANDIRS += src/o-optimize src/o-debug
     51## stack
     52EXTRA_PROGRAMS += stack.rel
     53CLEANFILES += stack.rel
     54stack_rel_SOURCES = src/stack.c include/spr.h src/stackTrace.h
     55stack_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     56stack_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    4957
    50 noinst_HEADERS = src/cache_.h
     58EXTRA_PROGRAMS += stack_g.rel
     59CLEANFILES += stack_g.rel
     60stack_g_rel_SOURCES = $(stack_rel_SOURCES)
     61stack_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     62stack_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     63
     64noinst_DATA += stack$(LIB_VARIANT).rel
     65include_libcpu_HEADERS += include/spr.h
    5166include_libcpu_HEADERS += src/stackTrace.h
    52 include_libcpu_HEADERS += $(top_srcdir)/../shared/include/cache.h
     67endif
    5368
    54 all-local: $(PREINSTALL_FILES) include/$(ARCH)/libcpuspec.a $(src_O_FILES) $(common_O_FILES)
    55 endif
     69all-local: $(PREINSTALL_FILES)
    5670
    5771PREINSTALL_DIRS =
     
    6377        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
    6478PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
    65 
    66 $(PROJECT_INCLUDE)/libcpu/spr.h: include/spr.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
    67         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/spr.h
    68 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/spr.h
    6979
    7080$(PROJECT_INCLUDE)/libcpu/io.h: include/io.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
     
    92102PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cpuIdent.h
    93103
     104$(PROJECT_INCLUDE)/libcpu/cache.h: ../../shared/include/cache.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
     105        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/cache.h
     106PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cache.h
     107
     108$(PROJECT_INCLUDE)/libcpu/spr.h: include/spr.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
     109        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/spr.h
     110PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/spr.h
     111
    94112$(PROJECT_INCLUDE)/libcpu/stackTrace.h: src/stackTrace.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
    95113        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/stackTrace.h
    96114PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/stackTrace.h
    97 
    98 $(PROJECT_INCLUDE)/libcpu/cache.h: $(top_srcdir)/../shared/include/cache.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
    99         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/cache.h
    100 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cache.h
    101115endif
    102116
    103 CLEANFILES = $(PREINSTALL_FILES)
     117CLEANFILES += $(PREINSTALL_FILES)
    104118DISTCLEANFILES = $(PREINSTALL_DIRS)
    105119
Note: See TracChangeset for help on using the changeset viewer.