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 | SUBDIRS = rtems |
---|
9 | |
---|
10 | C_FILES = cpu.c |
---|
11 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
---|
12 | |
---|
13 | H_FILES = asm.h erc32.h |
---|
14 | |
---|
15 | S_FILES = cpu_asm.S |
---|
16 | S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o) |
---|
17 | |
---|
18 | REL = $(ARCH)/rtems-cpu.rel |
---|
19 | |
---|
20 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
21 | include $(top_srcdir)/../../../../../../automake/lib.am |
---|
22 | |
---|
23 | rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES) |
---|
24 | |
---|
25 | $(PROJECT_INCLUDE): |
---|
26 | $(mkinstalldirs) $@ |
---|
27 | |
---|
28 | $(PROJECT_INCLUDE)/%.h: %.h |
---|
29 | $(INSTALL_DATA) $< $@ |
---|
30 | |
---|
31 | $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o |
---|
32 | $(INSTALL_DATA) $< $@ |
---|
33 | |
---|
34 | $(REL): $(rtems_cpu_rel_OBJECTS) |
---|
35 | $(make-rel) |
---|
36 | |
---|
37 | PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%) |
---|
38 | |
---|
39 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o |
---|
40 | |
---|
41 | all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) $(TMPINSTALL_FILES) |
---|
42 | |
---|
43 | .PRECIOUS: $(REL) |
---|
44 | |
---|
45 | EXTRA_DIST = asm.h cpu.c cpu_asm.S erc32.h rtems.S |
---|
46 | |
---|
47 | include $(top_srcdir)/../../../../../../automake/subdirs.am |
---|
48 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.