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

4.104.114.84.95
Last change on this file since f581aa6f was f581aa6f, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/16/03 at 12:32:49

2003-08-16 Ralf Corsepius <corsepiu@…>

Makefile.am: Reflect having moved automake.
cache/Makefile.am: Reflect having moved automake.
reg_win/Makefile.am: Reflect having moved automake.
syscall/Makefile.am: Reflect having moved automake.

  • Property mode set to 100644
File size: 902 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.