diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-13 06:46:05 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-13 06:46:05 +0000 |
commit | a6b588d649d6fcc933aa356f3c36a1d2f6391976 (patch) | |
tree | 70ac33505ec6effe85d5875648a8c5a9c8479469 /testsuites/libtests/rtems++/Makefile.am | |
parent | 2005-11-13 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-a6b588d649d6fcc933aa356f3c36a1d2f6391976.tar.bz2 |
Convert to using *_PROGRAMS.
Diffstat (limited to '')
-rw-r--r-- | testsuites/libtests/rtems++/Makefile.am | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/testsuites/libtests/rtems++/Makefile.am b/testsuites/libtests/rtems++/Makefile.am index 6bd6a1299a..12bd3a835e 100644 --- a/testsuites/libtests/rtems++/Makefile.am +++ b/testsuites/libtests/rtems++/Makefile.am @@ -5,31 +5,30 @@ MANAGERS = event io msg sem signal timer rate_monotonic if HAS_CXX -noinst_LIBRARIES = lib.a -lib_a_SOURCES = Init.cc Task1.cc Task2.cc Task3.cc System.h +rtems_tests_PROGRAMS = rtems++.exe +rtems___exe_SOURCES = Init.cc Task1.cc Task2.cc Task3.cc System.h endif -testsdir = $(libdir)/tests -scndir = $(testsdir) +scndir = $(rtems_testsdir) dist_scn_DATA = rtems++.scn -docdir = $(testsdir) +docdir = $(rtems_testsdir) dist_doc_DATA = rtems++.doc -PGM = ${ARCH}/rtems++.exe - include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../automake/compile.am include $(top_srcdir)/../automake/leaf.am if HAS_CXX -LD_LIBS = -lrtems++ +rtems___exe_LDLIBS = -lrtems++ AM_CPPFLAGS += -I$(top_srcdir)/../support/include -tests_SCRIPTS = $(PGM) +rtems___exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel) -$(PGM): ${ARCH}/$(dirstamp) +LINK_OBJS = $(rtems___exe_OBJECTS) $(rtems___exe_LDADD) +LINK_LIBS = $(rtems___exe_LDLIBS) -$(PGM): $(OBJS) $(LINK_FILES) +rtems++.exe$(EXEEXT): $(rtems___exe_OBJECTS) $(rtems___exe_DEPENDENCIES) + @rm -f rtems++.exe$(EXEEXT) $(make-cxx-exe) endif |