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

4.104.114.84.95
Last change on this file since 4fec22e7 was 4fec22e7, checked in by Joel Sherrill <joel.sherrill@…>, on 09/27/01 at 13:28:35

2001-09-23 Ralf Corsepius <corsepiu@…>

  • libtests.am: Use TMPINSTALL_FILES = to make automake-1.5 happy.
  • rtems++/Makefile.am: LD_FLAGS = -lrtems++.
  • Property mode set to 100644
File size: 882 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 $(top_srcdir)/../../../../automake/compile.am
29include $(top_srcdir)/../../../../automake/leaf.am
30include $(top_srcdir)/libtests.am
31
32#
33# (OPTIONAL) Add local stuff here using +=
34#
35
36if HAS_CXX
37LD_LIBS = -lrtems++
38
39${PGM}: $(OBJS) $(LINK_FILES)
40        $(make-cxx-exe)
41
42all-local: $(ARCH) $(TMPINSTALL_FILES)
43else
44all-local:
45endif
46
47EXTRA_DIST = $(CC_FILES) $(DOCS)
48
49include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.