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

Last change on this file since 38c7e481 was 38c7e481, checked in by Joel Sherrill <joel.sherrill@…>, on 02/09/04 at 14:03:44

2004-02-09 Joel Sherrill <joel@…>

PR make_build/574

  • Makefile.am: Re-added since missing for some reason.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../../aclocal
6
7VPATH = @srcdir@:@srcdir@/../shared/src
8
9C_FILES = cache.c cache_aligned_malloc.c cache_manager.c displayCpu.c page.c
10OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
11
12include_libcpudir = $(includedir)/libcpu
13
14noinst_HEADERS = cache_.h
15include_libcpu_HEADERS = cpu.h cpuModel.h cache.h
16
17S_FILES = cpuModel.S idtr.S
18OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
19
20include $(top_srcdir)/../../../../../automake/compile.am
21include $(top_srcdir)/../../../../../automake/lib.am
22
23AM_CPPFLAGS += -I$(srcdir)
24
25$(PROJECT_INCLUDE)/libcpu:
26        $(mkinstalldirs) $@
27
28$(PROJECT_INCLUDE)/libcpu/%.h: %.h
29        $(INSTALL_DATA) $< $@
30
31cache.h: $(top_srcdir)/../shared/include/cache.h
32        cp $< $@
33
34PREINSTALL_FILES = $(PROJECT_INCLUDE)/libcpu \
35    $(include_libcpu_HEADERS:%=$(PROJECT_INCLUDE)/libcpu/%)
36
37all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS)
38
39CLEANFILES = cache.h
40
41EXTRA_DIST = cache.c cache_.h cpu.h cpuModel.S cpuModel.h displayCpu.c idt.c \
42    idtr.S page.c registers.h
43
44include $(top_srcdir)/../../../../../automake/local.am
45
Note: See TracBrowser for help on using the repository browser.