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 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal |
---|
7 | |
---|
8 | LIBNAME = libcpu |
---|
9 | LIB = $(ARCH)/$(LIBNAME).a |
---|
10 | |
---|
11 | C_FILES = cpu.c displayCpu.c page.c |
---|
12 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
---|
13 | |
---|
14 | H_FILES = cpu.h registers.h cpuModel.h |
---|
15 | |
---|
16 | S_FILES = cpu_asm.S cpuModel.S |
---|
17 | S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o) |
---|
18 | |
---|
19 | OBJS = $(C_O_FILES) $(S_O_FILES) |
---|
20 | |
---|
21 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
22 | include $(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 | |
---|
36 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \ |
---|
37 | $(H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%) |
---|
38 | |
---|
39 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a |
---|
40 | |
---|
41 | all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) $(TMPINSTALL_FILES) |
---|
42 | |
---|
43 | .PRECIOUS: $(LIB) |
---|
44 | |
---|
45 | EXTRA_DIST = cpu.c cpu.h cpuModel.S cpuModel.h cpu_asm.S displayCpu.c page.c \ |
---|
46 | registers.h |
---|
47 | |
---|
48 | include $(top_srcdir)/../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.