source: rtems/c/src/tests/libtests/rtems++/Makefile.am @ b9adf9b1

Last change on this file since b9adf9b1 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: 817 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7TEST = rtems++
8
9MANAGERS = event io msg sem signal timer rate_monotonic
10
11CC_FILES = Init.cc Task1.cc Task2.cc Task3.cc
12CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.o)
13
14H_FILES = System.h
15noinst_HEADERS = $(H_FILES)
16
17DOCTYPES = scn doc
18DOCS = $(DOCTYPES:%=$(TEST).%)
19
20SRCS = $(DOCS) $(C_FILES) $(H_FILES)
21OBJS = $(CC_O_FILES)
22
23PRINT_SRCS = $(DOCS)
24
25PGM = ${ARCH}/$(TEST).exe
26
27include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
28include $(RTEMS_ROOT)/make/leaf.cfg
29include $(top_srcdir)/libtests.am
30
31#
32# (OPTIONAL) Add local stuff here using +=
33#
34
35LD_LIBS += $(CPLUS_LD_LIBS)
36
37if HAS_CXX
38${PGM}: $(OBJS) $(LINK_FILES)
39        $(make-exe)
40
41all-local: $(ARCH) $(TMPINSTALL_FILES)
42else
43all-local:
44endif
45
46EXTRA_DIST = $(CC_FILES) $(DOCS)
47
48include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.