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

4.104.114.84.95
Last change on this file since 4159370 was 4159370, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 11, 2000 at 9:16:53 PM

Reworked score/cpu/sparc so it can be safely compiled multilib. All
routines and structures that require CPU model specific information
are now in libcpu. This primarily required moving erc32 specific
information from score/cpu files to libcpu/sparc and the erc32 BSP.

  • Property mode set to 100644
File size: 1.0 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
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) \
42    $(TMPINSTALL_FILES)
43
44.PRECIOUS: $(REL)
45
46EXTRA_DIST = asm.h cpu.c cpu_asm.S rtems.S
47
48include $(top_srcdir)/../../../../../../automake/subdirs.am
49include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.