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

4.104.114.84.95
Last change on this file since fe27cfb4 was fe27cfb4, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 30, 2000 at 2:36:08 PM

2000-11-30 Joel Sherrill <joel@…>

  • cache/Makefile.am: Removed automake warning by introducing a simple variable.
  • 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
22CACHE_DEFINE = -DHAS_INSTRUCTION_CACHE
23endif
24
25AM_CPPFLAGS += -I$(srcdir) $(CACHE_DEFINE)
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.