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

4.104.114.84.95
Last change on this file since 752f74c5 was 752f74c5, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/15/02 at 12:25:10

2002-12-15 Ralf Corsepius <corsepiu@…>

  • cache/Makefile.am: Don't include @RTEMS_BSP@.cfg. Eliminate *_O_FILES.
  • reg_win/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • syscall/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • Property mode set to 100644
File size: 920 bytes
Line 
1##
2## $Id$
3##
4
5
6VPATH = @srcdir@:@srcdir@/../../shared/src
7
8C_FILES = cache.c cache_aligned_malloc.c cache_manager.c
9OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
10
11include_libcpudir = $(includedir)/libcpu
12
13include_libcpu_HEADERS = cache.h
14noinst_HEADERS = cache_.h
15
16include $(top_srcdir)/../../../../../automake/compile.am
17include $(top_srcdir)/../../../../../automake/lib.am
18
19if has_instruction_cache
20CACHE_DEFINE = -DHAS_INSTRUCTION_CACHE
21endif
22
23AM_CPPFLAGS += -I$(srcdir) $(CACHE_DEFINE)
24
25$(PROJECT_INCLUDE)/libcpu:
26        $(mkinstalldirs) $@
27
28$(PROJECT_INCLUDE)/libcpu/%.h: %.h
29        $(INSTALL_DATA) $< $@
30
31cache.h: $(top_srcdir)/../shared/include/cache.h
32        cp $< $@
33
34PREINSTALL_FILES = $(PROJECT_INCLUDE)/libcpu \
35    $(include_libcpu_HEADERS:%=$(PROJECT_INCLUDE)/libcpu/%)
36
37all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS)
38
39CLEANFILES = cache.h
40
41EXTRA_DIST = cache.c cache_.h
42
43include $(top_srcdir)/../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.