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.3 KB
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | C_FILES = cpu.c |
---|
8 | C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) |
---|
9 | |
---|
10 | ROOT_H_FILES = |
---|
11 | RTEMS_SCORE_H_FILES = cpu.h c_isr.inl |
---|
12 | noinst_HEADERS = $(ROOT_H_FILES) $(RTEMS_SCORE_H_FILES) |
---|
13 | |
---|
14 | S_FILES = cpu_asm.S |
---|
15 | S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) |
---|
16 | |
---|
17 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
18 | include $(top_srcdir)/../../../../../../automake/lib.am |
---|
19 | |
---|
20 | # |
---|
21 | # (OPTIONAL) Add local stuff here using += |
---|
22 | # |
---|
23 | |
---|
24 | PREINSTALL_FILES = \ |
---|
25 | $(PROJECT_INCLUDE) \ |
---|
26 | $(PROJECT_INCLUDE)/rtems/score \ |
---|
27 | $(ROOT_H_FILES:%=$(PROJECT_INCLUDE)/%) \ |
---|
28 | $(RTEMS_SCORE_H_FILES:%=$(PROJECT_INCLUDE)/rtems/score/%) |
---|
29 | |
---|
30 | ##TMPINSTALL_FILES += \ |
---|
31 | ##$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o |
---|
32 | |
---|
33 | ##$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o |
---|
34 | ## $(INSTALL_DATA) $< $@ |
---|
35 | |
---|
36 | $(PROJECT_INCLUDE): |
---|
37 | $(mkinstalldirs) $@ |
---|
38 | |
---|
39 | $(PROJECT_INCLUDE)/rtems/score: |
---|
40 | $(mkinstalldirs) $@ |
---|
41 | |
---|
42 | $(PROJECT_INCLUDE)/rtems/score/%: % |
---|
43 | $(INSTALL_DATA) $< $@ |
---|
44 | |
---|
45 | $(PROJECT_INCLUDE)/%: % |
---|
46 | $(INSTALL_DATA) $< $@ |
---|
47 | |
---|
48 | REL = ../$(ARCH)/rtems-cpu.rel |
---|
49 | |
---|
50 | $(REL): $(C_O_FILES) $(S_O_FILES) |
---|
51 | test -d ../$(ARCH) || mkdir ../$(ARCH) |
---|
52 | $(make-rel) |
---|
53 | |
---|
54 | all-local: $(ARCH) $(PREINSTALL_FILES) $(REL) |
---|
55 | ## all-local: $(ARCH)/rtems.o |
---|
56 | all-local: $(TMPINSTALL_FILES) |
---|
57 | |
---|
58 | clean-local: |
---|
59 | $(RM) -r ../o-optimize ../o-debug ../o-profile |
---|
60 | |
---|
61 | EXTRA_DIST = \ |
---|
62 | $(C_FILES) $(S_FILES) |
---|
63 | |
---|
64 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.