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

4.104.114.84.95
Last change on this file since 7577f266 was 7577f266, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 5, 2000 at 4:01:20 PM

2000-09-04 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Include compile.am
  • Property mode set to 100644
File size: 1.2 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 idt.c \
11    page.c
12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
13
14H_FILES = cache_.h
15INSTALLED_H_FILES = cpu.h registers.h cpuModel.h
16
17S_FILES = cpuModel.S idtr.S
18S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
19
20OBJS = $(C_O_FILES) $(S_O_FILES)
21
22include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
23include $(top_srcdir)/../../../../../automake/compile.am
24include $(top_srcdir)/../../../../../automake/lib.am
25
26AM_CPPFLAGS += -I$(srcdir)
27
28$(PROJECT_INCLUDE)/libcpu:
29        $(mkinstalldirs) $@
30
31$(PROJECT_INCLUDE)/libcpu/%.h: %.h
32        $(INSTALL_DATA) $< $@
33
34$(PROJECT_INCLUDE)/libcpu/cache.h: $(top_srcdir)/../shared/include/cache.h
35        $(INSTALL_DATA) $< $@
36
37PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
38    $(PROJECT_INCLUDE)/libcpu/cache.h \
39    $(INSTALLED_H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%)
40
41all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS)
42
43EXTRA_DIST = cache.c cache_.h cpu.h cpuModel.S cpuModel.h displayCpu.c idt.c \
44    idtr.S page.c registers.h
45
46include $(top_srcdir)/../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.