summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-05-10 13:39:40 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-05-10 13:39:40 +0000
commit63abe85763fd5fd611a62de260b4ed7898736697 (patch)
tree56be03c820ea59e7b28e194019f5879b153751ae /c
parent2005-05-10 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-63abe85763fd5fd611a62de260b4ed7898736697.tar.bz2
Merge-in shared/Makefile.am.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libcpu/powerpc/Makefile.am37
1 files changed, 36 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/powerpc/Makefile.am b/c/src/lib/libcpu/powerpc/Makefile.am
index 270feda240..da9d87245b 100644
--- a/c/src/lib/libcpu/powerpc/Makefile.am
+++ b/c/src/lib/libcpu/powerpc/Makefile.am
@@ -13,7 +13,7 @@ include_rtems_powerpcdir = $(includedir)/rtems/powerpc
include_rtems_powerpc_HEADERS = rtems/powerpc/cache.h \
rtems/powerpc/debugmod.h rtems/powerpc/powerpc.h
-SUBDIRS = shared mpc5xx mpc505 mpc6xx mpc8260 mpc8xx ppc403
+SUBDIRS = mpc5xx mpc505 mpc6xx mpc8260 mpc8xx ppc403
all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
@@ -39,6 +39,41 @@ new_exceptions_rtems_cpu_rel_CPPFLAGS = $(AM_CPPFLAGS)
new_exceptions_rtems_cpu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
endif
+# shared/include
+if shared
+include_libcpudir = $(includedir)/libcpu
+
+include_libcpu_HEADERS = shared/include/io.h shared/include/mmu.h shared/include/page.h \
+ shared/include/byteorder.h shared/include/pgtable.h
+
+noinst_PROGRAMS += shared/cpuIdent.rel
+shared_cpuIdent_rel_SOURCES = shared/include/cpuIdent.c shared/include/cpuIdent.h
+shared_cpuIdent_rel_CPPFLAGS = $(AM_CPPFLAGS)
+shared_cpuIdent_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
+
+include_libcpu_HEADERS += shared/include/cpuIdent.h
+
+## shared/cache
+noinst_PROGRAMS += shared/cache.rel
+shared_cache_rel_SOURCES = shared/src/cache.c shared/src/cache_.h \
+ ../shared/src/cache_aligned_malloc.c ../shared/src/cache_manager.c \
+ ../shared/include/cache.h
+shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/src
+shared_cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
+
+include_libcpu_HEADERS += ../shared/include/cache.h
+
+## shared/stack
+noinst_PROGRAMS += shared/stack.rel
+shared_stack_rel_SOURCES = shared/src/stack.c shared/include/spr.h shared/src/stackTrace.h
+shared_stack_rel_CPPFLAGS = $(AM_CPPFLAGS)
+shared_stack_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
+
+include_libcpu_HEADERS += shared/include/spr.h
+include_libcpu_HEADERS += shared/src/stackTrace.h
+endif
+
+
include $(srcdir)/preinstall.am
include $(top_srcdir)/../../../automake/subdirs.am