summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-02-09 14:03:44 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-02-09 14:03:44 +0000
commit38c7e4810056b8d20fa5d7784d4de91656e90c14 (patch)
tree20217015a3c6aac52499b86dc501cfd267e6f768
parent2004-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-38c7e4810056b8d20fa5d7784d4de91656e90c14.tar.bz2
2004-02-09 Joel Sherrill <joel@OARcorp.com>
PR make_build/574 * Makefile.am: Re-added since missing for some reason.
-rw-r--r--c/src/lib/libcpu/i386/ChangeLog5
-rw-r--r--c/src/lib/libcpu/i386/Makefile.am45
2 files changed, 50 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/i386/ChangeLog b/c/src/lib/libcpu/i386/ChangeLog
index 2a8cf6b999..74c3ee149d 100644
--- a/c/src/lib/libcpu/i386/ChangeLog
+++ b/c/src/lib/libcpu/i386/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-09 Joel Sherrill <joel@OARcorp.com>
+
+ PR make_build/574
+ * Makefile.am: Re-added since missing for some reason.
+
2004-02-03 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Removed.
diff --git a/c/src/lib/libcpu/i386/Makefile.am b/c/src/lib/libcpu/i386/Makefile.am
new file mode 100644
index 0000000000..49b3798257
--- /dev/null
+++ b/c/src/lib/libcpu/i386/Makefile.am
@@ -0,0 +1,45 @@
+##
+## $Id$
+##
+
+ACLOCAL_AMFLAGS = -I ../../../../../aclocal
+
+VPATH = @srcdir@:@srcdir@/../shared/src
+
+C_FILES = cache.c cache_aligned_malloc.c cache_manager.c displayCpu.c page.c
+OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
+
+include_libcpudir = $(includedir)/libcpu
+
+noinst_HEADERS = cache_.h
+include_libcpu_HEADERS = cpu.h cpuModel.h cache.h
+
+S_FILES = cpuModel.S idtr.S
+OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
+
+include $(top_srcdir)/../../../../../automake/compile.am
+include $(top_srcdir)/../../../../../automake/lib.am
+
+AM_CPPFLAGS += -I$(srcdir)
+
+$(PROJECT_INCLUDE)/libcpu:
+ $(mkinstalldirs) $@
+
+$(PROJECT_INCLUDE)/libcpu/%.h: %.h
+ $(INSTALL_DATA) $< $@
+
+cache.h: $(top_srcdir)/../shared/include/cache.h
+ cp $< $@
+
+PREINSTALL_FILES = $(PROJECT_INCLUDE)/libcpu \
+ $(include_libcpu_HEADERS:%=$(PROJECT_INCLUDE)/libcpu/%)
+
+all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS)
+
+CLEANFILES = cache.h
+
+EXTRA_DIST = cache.c cache_.h cpu.h cpuModel.S cpuModel.h displayCpu.c idt.c \
+ idtr.S page.c registers.h
+
+include $(top_srcdir)/../../../../../automake/local.am
+