diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-07 07:36:35 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-07 07:36:35 +0000 |
commit | 0acb58f7643dd11836d4ce075570ea40c533d64c (patch) | |
tree | d22ab426ab1211ae6077a94485a5093c6423e011 /testsuites/libtests/rtems++/Makefile.am | |
parent | Add $(PGM): ${ARCH}/$(dirstamp). (diff) | |
download | rtems-0acb58f7643dd11836d4ce075570ea40c533d64c.tar.bz2 |
Partial conversion to automake.
Diffstat (limited to '')
-rw-r--r-- | testsuites/libtests/rtems++/Makefile.am | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/testsuites/libtests/rtems++/Makefile.am b/testsuites/libtests/rtems++/Makefile.am index be47605e52..fc7617504e 100644 --- a/testsuites/libtests/rtems++/Makefile.am +++ b/testsuites/libtests/rtems++/Makefile.am @@ -6,23 +6,22 @@ TEST = rtems++ MANAGERS = event io msg sem signal timer rate_monotonic -CC_FILES = Init.cc Task1.cc Task2.cc Task3.cc -OBJS = $(CC_FILES:%.cc=${ARCH}/%.$(OBJEXT)) - -H_FILES = System.h -noinst_HEADERS = $(H_FILES) +if HAS_CXX +noinst_LIBRARIES = lib.a +lib_a_SOURCES = Init.cc Task1.cc Task2.cc Task3.cc System.h +endif DOCTYPES = scn doc DOCS = $(DOCTYPES:%=$(TEST).%) -SRCS = $(DOCS) $(C_FILES) $(H_FILES) +SRCS = $(DOCS) PRINT_SRCS = $(DOCS) PGM = ${ARCH}/$(TEST).exe include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am +include $(top_srcdir)/../automake/amcompile.am include $(top_srcdir)/../automake/leaf.am include $(top_srcdir)/libtests.am @@ -42,7 +41,7 @@ else all-local: endif -EXTRA_DIST = $(CC_FILES) $(DOCS) +EXTRA_DIST = $(DOCS) CLEANFILES = $(TMPINSTALL_FILES) |