source: rtems/c/src/lib/libcpu/i386/Makefile.am @ d5fb958

4.104.114.84.95
Last change on this file since d5fb958 was d5fb958, checked in by Joel Sherrill <joel.sherrill@…>, on 03/01/01 at 21:48:46

2001-02-27 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Apply include_*HEADERS instead of H_FILES.
  • .cvsignore: Add cache.h.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6ACLOCAL_AMFLAGS = -I ../../../../../aclocal
7
8VPATH = @srcdir@:@srcdir@/../shared/src
9
10C_FILES = cache.c cache_aligned_malloc.c cache_manager.c displayCpu.c page.c
11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
12
13include_libcpudir = $(includedir)/libcpu
14
15noinst_HEADERS = cache_.h
16include_libcpu_HEADERS = cpu.h registers.h cpuModel.h cache.h
17
18S_FILES = cpuModel.S idtr.S
19S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
20
21OBJS = $(C_O_FILES) $(S_O_FILES)
22
23include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
24include $(top_srcdir)/../../../../../automake/compile.am
25include $(top_srcdir)/../../../../../automake/lib.am
26
27AM_CPPFLAGS += -I$(srcdir)
28
29$(PROJECT_INCLUDE)/libcpu:
30        $(mkinstalldirs) $@
31
32$(PROJECT_INCLUDE)/libcpu/%.h: %.h
33        $(INSTALL_DATA) $< $@
34
35cache.h: $(top_srcdir)/../shared/include/cache.h
36        cp $< $@
37
38PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
39    $(include_libcpu_HEADERS:%=$(PROJECT_INCLUDE)/libcpu/%)
40
41all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS)
42
43CLEANFILES += cache.h
44
45EXTRA_DIST = cache.c cache_.h cpu.h cpuModel.S cpuModel.h displayCpu.c idt.c \
46    idtr.S page.c registers.h
47
48include $(top_srcdir)/../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.