source: rtems/c/src/exec/score/cpu/sparc/Makefile.am @ 4e36a2f

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