source: rtems/c/src/exec/score/cpu/sh/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.0 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
7
8include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
9include $(top_srcdir)/../../../../../../automake/lib.am
10
11SUBDIRS = rtems
12
13H_FILES = asm.h
14
15$(PROJECT_INCLUDE):
16        $(mkinstalldirs) $@
17
18$(PROJECT_INCLUDE)/%.h: %.h
19        $(INSTALL_DATA) $< $@
20
21$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
22        $(INSTALL_DATA) $< $@
23
24C_FILES = cpu.c cpu_asm.c isp$(RTEMS_CPU_MODEL).c
25C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
26
27REL = $(ARCH)/rtems-cpu.rel
28
29rtems_cpu_rel_OBJECTS = $(C_O_FILES)
30
31$(REL): $(rtems_cpu_rel_OBJECTS)
32        $(make-rel)
33
34PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
35
36TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
37
38all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) $(TMPINSTALL_FILES)
39
40.PRECIOUS: $(REL)
41
42EXTRA_DIST = asm.h cpu.c cpu_asm.c ispsh7032.c ispsh7045.c rtems.c
43
44include $(top_srcdir)/../../../../../../automake/subdirs.am
45include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.