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

4.104.114.84.95
Last change on this file since cff1aa3 was cff1aa3, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 17, 2000 at 8:33:24 PM

2000-10-17 Joel Sherrill <joel@…>

  • idt.c, Makefile.am: Moved idt.c to libbsp/i386/shared so i386 RTEMS can be multilib'ed.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/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
13H_FILES = cache_.h
14INSTALLED_H_FILES = cpu.h registers.h cpuModel.h
15
16S_FILES = cpuModel.S idtr.S
17S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
18
19OBJS = $(C_O_FILES) $(S_O_FILES)
20
21include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
22include $(top_srcdir)/../../../../../automake/compile.am
23include $(top_srcdir)/../../../../../automake/lib.am
24
25AM_CPPFLAGS += -I$(srcdir)
26
27$(PROJECT_INCLUDE)/libcpu:
28        $(mkinstalldirs) $@
29
30$(PROJECT_INCLUDE)/libcpu/%.h: %.h
31        $(INSTALL_DATA) $< $@
32
33$(PROJECT_INCLUDE)/libcpu/cache.h: $(top_srcdir)/../shared/include/cache.h
34        $(INSTALL_DATA) $< $@
35
36PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
37    $(PROJECT_INCLUDE)/libcpu/cache.h \
38    $(INSTALLED_H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%)
39
40all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS)
41
42EXTRA_DIST = cache.c cache_.h cpu.h cpuModel.S cpuModel.h displayCpu.c idt.c \
43    idtr.S page.c registers.h
44
45include $(top_srcdir)/../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.