source: rtems/c/src/lib/libcpu/sparc/cache/Makefile.am @ ca406082

4.104.114.84.95
Last change on this file since ca406082 was ca406082, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 15, 2000 at 9:40:05 PM

2000-11-14 Jiri Gaisler <jgais@…>

  • Makefile.am, configure.in: Added support for instruction cache enabling based on CPU model.
  • cache/.cvsignore, cache/Makefile.am, cache/cache.c, cache/cache_.h: New files.
  • Property mode set to 100644
File size: 953 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7VPATH = @srcdir@:@srcdir@/../../shared/src
8
9C_FILES = cache.c cache_aligned_malloc.c cache_manager.c
10C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
11
12H_FILES = cache_.h
13INSTALLED_H_FILES =
14
15OBJS = $(C_O_FILES)
16
17include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
18include $(top_srcdir)/../../../../../automake/compile.am
19include $(top_srcdir)/../../../../../automake/lib.am
20
21if has_instruction_cache
22AM_CPPFLAGS += -I$(srcdir) -DHAS_INSTRUCTION_CACHE
23else
24AM_CPPFLAGS += -I$(srcdir)
25endif
26
27$(PROJECT_INCLUDE)/libcpu:
28        $(mkinstalldirs) $@
29
30$(PROJECT_INCLUDE)/libcpu/%.h: %.h
31        $(INSTALL_DATA) $< $@
32
33$(PROJECT_INCLUDE)/libcpu/cache.h: $(top_srcdir)/../shared/include/cache.h
34        $(INSTALL_DATA) $< $@
35
36PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
37    $(PROJECT_INCLUDE)/libcpu/cache.h
38
39all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS)
40
41EXTRA_DIST = cache.c cache_.h
42
43include $(top_srcdir)/../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.