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

4.104.114.84.95
Last change on this file since df49c60 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 12, 2000 at 3:00:15 PM

Merged from 4.5.0-beta3a

  • 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.