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

4.104.114.84.95
Last change on this file since 094051bd was 094051bd, checked in by Joel Sherrill <joel.sherrill@…>, on 03/28/02 at 00:48:32

2002-03-27 Ralf Corsepius <corsepiu@…>

  • configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]).
  • cache/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Makefile.am: Remove AUTOMAKE_OPTIONS.
  • include/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • reg_win/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • syscall/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Property mode set to 100644
File size: 988 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
9C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
10
11include_libcpudir = $(includedir)/libcpu
12
13include_libcpu_HEADERS = cache.h
14noinst_HEADERS = cache_.h
15
16OBJS = $(C_O_FILES)
17
18include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
19include $(top_srcdir)/../../../../../automake/compile.am
20include $(top_srcdir)/../../../../../automake/lib.am
21
22if has_instruction_cache
23CACHE_DEFINE = -DHAS_INSTRUCTION_CACHE
24endif
25
26AM_CPPFLAGS += -I$(srcdir) $(CACHE_DEFINE)
27
28$(PROJECT_INCLUDE)/libcpu:
29        $(mkinstalldirs) $@
30
31$(PROJECT_INCLUDE)/libcpu/%.h: %.h
32        $(INSTALL_DATA) $< $@
33
34cache.h: $(top_srcdir)/../shared/include/cache.h
35        cp $< $@
36
37PREINSTALL_FILES = $(PROJECT_INCLUDE)/libcpu \
38    $(include_libcpu_HEADERS:%=$(PROJECT_INCLUDE)/libcpu/%)
39
40all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS)
41
42CLEANFILES = cache.h
43
44EXTRA_DIST = cache.c cache_.h
45
46include $(top_srcdir)/../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.