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 Aug 16, 2003 at 12:32:49 PM

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
RevLine 
[ca406082]1##
2## $Id$
3##
4
5
6VPATH = @srcdir@:@srcdir@/../../shared/src
7
8C_FILES = cache.c cache_aligned_malloc.c cache_manager.c
[752f74c5]9OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
[ca406082]10
[7287412]11include_libcpudir = $(includedir)/libcpu
12
13include_libcpu_HEADERS = cache.h
14noinst_HEADERS = cache_.h
[ca406082]15
[f581aa6f]16include $(top_srcdir)/../../../automake/compile.am
17include $(top_srcdir)/../../../automake/lib.am
[ca406082]18
19if has_instruction_cache
[fe27cfb4]20CACHE_DEFINE = -DHAS_INSTRUCTION_CACHE
[ca406082]21endif
22
[fe27cfb4]23AM_CPPFLAGS += -I$(srcdir) $(CACHE_DEFINE)
24
[ca406082]25$(PROJECT_INCLUDE)/libcpu:
26        $(mkinstalldirs) $@
27
28$(PROJECT_INCLUDE)/libcpu/%.h: %.h
29        $(INSTALL_DATA) $< $@
30
[7287412]31cache.h: $(top_srcdir)/../shared/include/cache.h
32        cp $< $@
[ca406082]33
[6cc5f1b]34PREINSTALL_FILES = $(PROJECT_INCLUDE)/libcpu \
[7287412]35    $(include_libcpu_HEADERS:%=$(PROJECT_INCLUDE)/libcpu/%)
[ca406082]36
37all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS)
38
[6cc5f1b]39CLEANFILES = cache.h
[7287412]40
[ca406082]41EXTRA_DIST = cache.c cache_.h
42
[f581aa6f]43include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.