Changeset 2ed53cb9 in rtems


Ignore:
Timestamp:
Aug 22, 2017, 4:31:14 AM (19 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11
Children:
e1c3dc09
Parents:
89fd08e
git-author:
Chris Johns <chrisj@…> (08/22/17 04:31:14)
git-committer:
Chris Johns <chrisj@…> (08/22/17 23:48:56)
Message:

testsuite/dl: Add C++ by default for DL tests which use C++.

  • Add AM C++ support to the testsuite configure.ac script.
  • Fix the dependences in the DL tests.

Closes #3024.

Location:
testsuites/libtests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/configure.ac

    r89fd08e r2ed53cb9  
    1313
    1414RTEMS_ENABLE_CXX
     15AC_PROG_CXX
    1516
    1617RTEMS_ENV_RTEMSBSP
  • testsuites/libtests/dl01/Makefile.am

    r89fd08e r2ed53cb9  
    1515LINK_LIBS = $(dl01_LDLIBS)
    1616
     17init.$(OBJEXT): dl-tar.h
     18
    1719dl-o1.o: dl-o1.c
    1820
     
    3032CLEANFILES += dl-tar.h
    3133
    32 dl01.pre$(EXEEXT): $(dl01_OBJECTS) $(dl01_DEPENDENCIES)
    33         @rm -f dl01.pre$(EXEEXT)
    34         $(make-exe)
    35         rm -f dl01.pre.ralf
    36 
    37 dl01.pre: dl01.pre$(EXEEXT)
    38         mv $< $@
    39 CLEANFILES += dl01.pre
     34dl01.pre: $(dl01_OBJECTS) $(dl01_DEPENDENCIES)
     35        @rm -f dl01.pre
     36        $(LINK_APP)
    4037
    4138dl-sym.o: dl01.pre
  • testsuites/libtests/dl02/Makefile.am

    r89fd08e r2ed53cb9  
    1414LINK_OBJS = $(dl02_OBJECTS)
    1515LINK_LIBS = $(dl02_LDLIBS)
     16
     17init.$(OBJEXT): dl-tar.h
    1618
    1719dl-o1.o: dl-o1.c
     
    3234CLEANFILES += dl-tar.h
    3335
    34 dl02.pre$(EXEEXT): $(dl02_OBJECTS) $(dl02_DEPENDENCIES)
    35         @rm -f dl02.pre$(EXEEXT)
    36         $(make-exe)
    37         rm -f dl02.pre.ralf
    38 
    39 dl02.pre: dl02.pre$(EXEEXT)
    40         mv $< $@
    41 CLEANFILES += dl02.pre
     36dl02.pre: $(dl02_OBJECTS) $(dl02_DEPENDENCIES)
     37        @rm -f dl02.pre
     38        $(LINK_APP)
    4239
    4340dl-sym.o: dl02.pre
  • testsuites/libtests/dl04/Makefile.am

    r89fd08e r2ed53cb9  
    1616LINK_LIBS = $(dl04_LDLIBS)
    1717
     18init.$(OBJEXT): dl-tar.h
     19
    1820dl-o4.o: dl-o4.cpp
    1921
     
    3133CLEANFILES += dl-tar.h
    3234
    33 dl04.pre$(EXEEXT): $(dl04_OBJECTS) $(dl04_DEPENDENCIES)
    34         @rm -f dl04.pre$(EXEEXT)
    35         $(make-exe)
    36         rm -f dl04.pre.ralf
    37 
    38 dl04.pre: dl04.pre$(EXEEXT)
    39         mv $< $@
    40 CLEANFILES += dl04.pre
     35dl04.pre: $(dl04_OBJECTS) $(dl04_DEPENDENCIES)
     36        @rm -f dl04.pre
     37        $(LINK_APP)
    4138
    4239dl-sym.o: dl04.pre
  • testsuites/libtests/dl05/Makefile.am

    r89fd08e r2ed53cb9  
    1515LINK_LIBS = $(dl05_LDLIBS)
    1616
     17init.$(OBJEXT): dl-tar.h
     18
    1719dl-o5.o: dl-o5.cpp
    1820
     
    3032CLEANFILES += dl-tar.h
    3133
    32 dl05.pre$(EXEEXT): $(dl05_OBJECTS) $(dl05_DEPENDENCIES)
    33         @rm -f dl05.pre$(EXEEXT)
     34dl05.pre: $(dl05_OBJECTS) $(dl05_DEPENDENCIES)
     35        @rm -f dl05.pre
    3436        $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
    35                     -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS)
    36         rm -f dl05.pre.ralf
    37 
    38 dl05.pre: dl05.pre$(EXEEXT)
    39         mv $< $@
    40 CLEANFILES += dl05.pre
     37                    -o $@ $(LINK_OBJS) $(LINK_LIBS)
    4138
    4239dl-sym.o: dl05.pre
Note: See TracChangeset for help on using the changeset viewer.