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

4.104.114.84.95
Last change on this file since b6e283de was a64c648, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/11/02 at 05:29:59

2002-08-11 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Use .$(OBJEXT) instead of .o.
  • Property mode set to 100644
File size: 1.1 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
10C_O_FILES = $(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
18S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
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
34cache.h: $(top_srcdir)/../shared/include/cache.h
35        cp $< $@
36
37PREINSTALL_FILES = $(PROJECT_INCLUDE)/libcpu \
38    $(include_libcpu_HEADERS:%=$(PROJECT_INCLUDE)/libcpu/%)
39
40all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS)
41
42CLEANFILES = cache.h
43
44EXTRA_DIST = cache.c cache_.h cpu.h cpuModel.S cpuModel.h displayCpu.c idt.c \
45    idtr.S page.c registers.h
46
47include $(top_srcdir)/../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.