source: rtems/c/src/exec/score/cpu/a29k/Makefile.am @ effc2c4

Last change on this file since effc2c4 was effc2c4, checked in by Joel Sherrill <joel.sherrill@…>, on 04/03/00 at 14:44:39

Patch rtems-rc-4.5.0-6-cvs.diff from Ralf Corsepius <corsepiu@…>.
The patch contains:

  • build variants support
  • Reworked make-exe custom/*.cfg for all targets (Should be self-explanatory, may still be incomplete)
  • Several fixes to custom/*.cfgs related to setting debug flags
  • Fixes to some bsp_specs for BSPs which apparently have never been build with debugging before ;)
  • pc386.cfg fix attempts (cf. my mail from earlier today)
  • Updated ampolish (No need to run it, the patch contains the result from having applied it)

Known bugs/deficiencies related to this work:

  • "make [clean|distclean]" support is still incomplete (e.g. "make clean" does not delete all Depends-o-*)
  • Completely untested for linux/posix and hppa.
  • Build failures of i960 BSPs (make VARIANT=DEBUG) - I guess, they are not related to this patch.
  • Successfully tested for all sh, sparc, i386, ppc, m68k BSPs (make VARIANT=DEBUG)
  • make VARIANT=PROFILE not supported by all BSPs (I don't care :)
  • make VARIANT=DEBUG failures below tests/ for some BSPs (e.g. gensh1), because of the tests's binaries being too large to fit into the target memory layout.
  • Property mode set to 100644
File size: 1.2 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
13C_FILES = cpu.c
14C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
15
16H_FILES = amd.ah asm.h cpu_asm.h pswmacro.ah register.ah
17
18S_FILES = cpu_asm.S sig.S
19S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
20
21include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
22include $(top_srcdir)/../../../../../../automake/lib.am
23
24$(PROJECT_INCLUDE):
25        $(mkinstalldirs) $@
26
27$(PROJECT_INCLUDE)/%.h: %.h
28        $(INSTALL_DATA) $< $@
29
30$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
31        $(INSTALL_DATA) $< $@
32
33REL = $(ARCH)/rtems-cpu.rel
34
35rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
36
37$(REL): $(rtems_cpu_rel_OBJECTS)
38        $(make-rel)
39
40PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
41
42TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
43
44all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) \
45    $(TMPINSTALL_FILES)
46
47.PRECIOUS: $(REL)
48
49EXTRA_DIST = amd.ah asm.h cpu.c cpu_asm.S pswmacro.ah register.ah rtems.c \
50    sig.S
51
52include $(top_srcdir)/../../../../../../automake/subdirs.am
53include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.