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

4.104.114.84.95
Last change on this file since 4e36a2f was 4e36a2f, checked in by Joel Sherrill <joel.sherrill@…>, on 01/31/00 at 15:27:02

Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from
Ralf Corsepius <corsepiu@…> that contain:

  • Modifications, (minor) corrections, cleanups to most existing Makefile.ams
  • Adds automake support to all remaining BSPs which have not yet been converted to automake.
  • Makefile.am for all remaining wrapup/Makefile.ams
  • 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
8LIBNAME = libcpu
9LIB = $(ARCH)/$(LIBNAME).a
10
11C_FILES = cpu.c displayCpu.c page.c
12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
13
14H_FILES = cpu.h registers.h cpuModel.h
15
16S_FILES = cpu_asm.S cpuModel.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/lib.am
23
24$(LIB): $(OBJS)
25        $(make-library)
26
27$(PROJECT_INCLUDE)/libcpu:
28        $(mkinstalldirs) $@
29
30$(PROJECT_INCLUDE)/libcpu/%.h: %.h
31        $(INSTALL_DATA) $< $@
32
33$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
34        $(INSTALL_DATA) $< $@
35
36PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
37    $(H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%)
38
39TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
40
41all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
42
43.PRECIOUS: $(LIB)
44
45EXTRA_DIST = cpu.c cpu.h cpuModel.S cpuModel.h cpu_asm.S displayCpu.c page.c \
46    registers.h
47
48include $(top_srcdir)/../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.