4.104.114.84.95
Last change
on this file since cce1ac79 was
a85d8ec,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/26/02 at 13:32:13
|
2002-07-26 Ralf Corsepius <corsepiu@…>
- Makefile.am: Build libscorecpu.a instead of rtems-cpu.rel.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../automake/multilib.am |
---|
8 | include $(top_srcdir)/../../../automake/compile.am |
---|
9 | include $(top_srcdir)/../../../automake/lib.am |
---|
10 | |
---|
11 | $(PROJECT_INCLUDE)/%.h: %.h |
---|
12 | $(INSTALL_DATA) $< $@ |
---|
13 | |
---|
14 | $(PROJECT_INCLUDE): |
---|
15 | $(mkinstalldirs) $@ |
---|
16 | |
---|
17 | $(PROJECT_INCLUDE)/rtems: |
---|
18 | $(mkinstalldirs) $@ |
---|
19 | |
---|
20 | $(PROJECT_INCLUDE)/rtems/score: |
---|
21 | $(mkinstalldirs) $@ |
---|
22 | |
---|
23 | include_HEADERS = asm.h |
---|
24 | PREINSTALL_FILES = $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%) |
---|
25 | |
---|
26 | include_rtems_scoredir = $(includedir)/rtems/score |
---|
27 | include_rtems_score_HEADERS = \ |
---|
28 | rtems/score/cpu.h \ |
---|
29 | rtems/score/cpu_asm.h \ |
---|
30 | rtems/score/arm.h \ |
---|
31 | rtems/score/types.h |
---|
32 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \ |
---|
33 | $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h) |
---|
34 | |
---|
35 | C_FILES = cpu.c |
---|
36 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) |
---|
37 | |
---|
38 | S_FILES = cpu_asm.S |
---|
39 | S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) |
---|
40 | |
---|
41 | LIB = $(ARCH)/libscorecpu.a |
---|
42 | |
---|
43 | libscorecpu_a_OBJECTS = $(C_O_FILES) $(S_O_FILES) |
---|
44 | |
---|
45 | $(LIB): $(libscorecpu_a_OBJECTS) |
---|
46 | $(make-library) |
---|
47 | |
---|
48 | all: $(ARCH) $(PREINSTALL_FILES) $(libscorecpu_a_OBJECTS) $(LIB) \ |
---|
49 | $(TMPINSTALL_FILES) |
---|
50 | |
---|
51 | EXTRA_DIST = cpu.c cpu_asm.S |
---|
52 | |
---|
53 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.