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

4.104.114.84.95
Last change on this file since 0c669c9 was ca9c287, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/11/02 at 05:23:26

2002-08-11 Ralf Corsepius <corsepiu@…>

  • cache/Makefile.am: Use .$(OBJEXT) instead of .o.
    • reg_win/Makefile.am: Use .$(OBJEXT) instead of .o.
    • syscall/Makefile.am: Use .$(OBJEXT) instead of .o.
  • Property mode set to 100644
File size: 996 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)/%.$(OBJEXT))
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.