source: rtems/c/src/lib/libcpu/i386/Makefile.am @ cf1f72e

4.104.114.84.95
Last change on this file since cf1f72e was cf1f72e, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 13, 2000 at 9:53:38 PM

Moved i386 and m68k cache management code to libcpu. Everything
now is an implementation of the prototypes in rtems/rtems/cache.h.
The libcpu/i386/wrapup directory is no longer needed.
The PowerPC needs this done to it.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
7
8VPATH = @srcdir@:@srcdir@/../shared/src
9
10C_FILES = cache.c cache_aligned_malloc.c cache_manager.c displayCpu.c idt.c page.c
11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
12
13H_FILES = cache_.h
14INSTALLED_H_FILES = cpu.h registers.h cpuModel.h
15
16S_FILES = cpuModel.S idtr.S
17S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
18
19OBJS = $(C_O_FILES) $(S_O_FILES)
20
21include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
22include $(top_srcdir)/../../../../../automake/lib.am
23
24AM_CPPFLAGS += -I$(srcdir)
25
26$(PROJECT_INCLUDE)/libcpu:
27        $(mkinstalldirs) $@
28
29$(PROJECT_INCLUDE)/libcpu/%.h: %.h
30        $(INSTALL_DATA) $< $@
31
32$(PROJECT_INCLUDE)/libcpu/cache.h: $(top_srcdir)/../shared/include/cache.h
33        $(INSTALL_DATA) $< $@
34
35PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
36    $(PROJECT_INCLUDE)/libcpu/cache.h \
37    $(INSTALLED_H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%)
38
39all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS)
40
41EXTRA_DIST = cache.c cache_.h cpu.h cpuModel.S cpuModel.h \
42    displayCpu.c idt.c idtr.S page.c registers.h
43
44include $(top_srcdir)/../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.