Changeset 942d52a in rtems for testsuites


Ignore:
Timestamp:
Nov 8, 2018, 12:59:27 PM (13 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
947b679
Parents:
4f4ed2f0
git-author:
Sebastian Huber <sebastian.huber@…> (11/08/18 12:59:27)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/08/18 13:00:31)
Message:

build: Fix library order

Update #3551.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/Makefile.am

    r4f4ed2f0 r942d52a  
    189189lib_tests += calloc.norun
    190190calloc_norun_SOURCES = POSIX/calloc.c
    191 calloc_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     191calloc_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    192192endif
    193193
     
    205205lib_tests += clock_gettime.norun
    206206clock_gettime_norun_SOURCES = POSIX/clock_gettime.c
    207 clock_gettime_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     207clock_gettime_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    208208endif
    209209
     
    211211lib_tests += close.norun
    212212close_norun_SOURCES = POSIX/close.c
    213 close_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     213close_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    214214endif
    215215
     
    261261defaultconfig01_CPPFLAGS = $(AM_CPPFLAGS) \
    262262        $(TEST_FLAGS_defaultconfig01) $(support_includes)
    263 defaultconfig01_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     263defaultconfig01_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    264264endif
    265265
     
    525525lib_tests += dup2.norun
    526526dup2_norun_SOURCES = POSIX/dup2.c
    527 dup2_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     527dup2_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    528528endif
    529529
     
    549549lib_tests += fcntl.norun
    550550fcntl_norun_SOURCES = POSIX/fcntl.c
    551 fcntl_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     551fcntl_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    552552endif
    553553
     
    565565lib_tests += flockfile.norun
    566566flockfile_norun_SOURCES = POSIX/flockfile.c
    567 flockfile_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     567flockfile_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    568568endif
    569569
     
    571571lib_tests += fork.norun
    572572fork_norun_SOURCES = POSIX/fork.c
    573 fork_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     573fork_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    574574endif
    575575
     
    577577lib_tests += free.norun
    578578free_norun_SOURCES = POSIX/free.c
    579 free_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     579free_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    580580endif
    581581
     
    583583lib_tests += fstat.norun
    584584fstat_norun_SOURCES = POSIX/fstat.c
    585 fstat_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     585fstat_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    586586endif
    587587
     
    601601lib_tests += ftrylockfile.norun
    602602ftrylockfile_norun_SOURCES = POSIX/ftrylockfile.c
    603 ftrylockfile_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     603ftrylockfile_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    604604endif
    605605
     
    607607lib_tests += funlockfile.norun
    608608funlockfile_norun_SOURCES = POSIX/funlockfile.c
    609 funlockfile_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     609funlockfile_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    610610endif
    611611
     
    622622lib_tests += getlogin.norun
    623623getlogin_norun_SOURCES = POSIX/getlogin.c
    624 getlogin_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     624getlogin_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    625625endif
    626626
     
    628628lib_tests += getpwnam.norun
    629629getpwnam_norun_SOURCES = POSIX/getpwnam.c
    630 getpwnam_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     630getpwnam_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    631631endif
    632632
     
    634634lib_tests += getpwuid.norun
    635635getpwuid_norun_SOURCES = POSIX/getpwuid.c
    636 getpwuid_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     636getpwuid_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    637637endif
    638638
     
    640640lib_tests += gettimeofday.norun
    641641gettimeofday_norun_SOURCES = POSIX/gettimeofday.c
    642 gettimeofday_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     642gettimeofday_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    643643endif
    644644
     
    646646lib_tests += getuid.norun
    647647getuid_norun_SOURCES = POSIX/getuid.c
    648 getuid_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     648getuid_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    649649endif
    650650
     
    669669lib_tests += htonl.norun
    670670htonl_norun_SOURCES = POSIX/htonl.c
    671 htonl_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     671htonl_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    672672endif
    673673
     
    684684lib_tests += iconv.norun
    685685iconv_norun_SOURCES = POSIX/iconv.c
    686 iconv_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     686iconv_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    687687endif
    688688
     
    690690lib_tests += iconv_close.norun
    691691iconv_close_norun_SOURCES = POSIX/iconv_close.c
    692 iconv_close_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     692iconv_close_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    693693endif
    694694
     
    696696lib_tests += iconv_open.norun
    697697iconv_open_norun_SOURCES = POSIX/iconv_open.c
    698 iconv_open_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     698iconv_open_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    699699endif
    700700
     
    702702lib_tests += kill.norun
    703703kill_norun_SOURCES = POSIX/kill.c
    704 kill_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     704kill_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    705705endif
    706706
     
    717717lib_tests += longjmp.norun
    718718longjmp_norun_SOURCES = POSIX/longjmp.c
    719 longjmp_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     719longjmp_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    720720endif
    721721
     
    723723lib_tests += lseek.norun
    724724lseek_norun_SOURCES = POSIX/lseek.c
    725 lseek_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     725lseek_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    726726endif
    727727
     
    729729lib_tests += lstat.norun
    730730lstat_norun_SOURCES = POSIX/lstat.c
    731 lstat_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     731lstat_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    732732endif
    733733
     
    735735lib_tests += malloc.norun
    736736malloc_norun_SOURCES = POSIX/malloc.c
    737 malloc_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     737malloc_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    738738endif
    739739
     
    862862lib_tests += nanosleep.norun
    863863nanosleep_norun_SOURCES = POSIX/nanosleep.c
    864 nanosleep_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     864nanosleep_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    865865endif
    866866
     
    888888lib_tests += open.norun
    889889open_norun_SOURCES = POSIX/open.c
    890 open_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     890open_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    891891endif
    892892
     
    894894lib_tests += pipe.norun
    895895pipe_norun_SOURCES = POSIX/pipe.c
    896 pipe_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     896pipe_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    897897endif
    898898
     
    900900lib_tests += posix_memalign.norun
    901901posix_memalign_norun_SOURCES = POSIX/posix_memalign.c
    902 posix_memalign_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     902posix_memalign_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    903903endif
    904904
     
    941941lib_tests += read.norun
    942942read_norun_SOURCES = POSIX/read.c
    943 read_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     943read_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    944944endif
    945945
     
    947947lib_tests += readv.norun
    948948readv_norun_SOURCES = POSIX/readv.c
    949 readv_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     949readv_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    950950endif
    951951
     
    953953lib_tests += realloc.norun
    954954realloc_norun_SOURCES = POSIX/realloc.c
    955 realloc_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     955realloc_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    956956endif
    957957
     
    968968lib_tests += setjmp.norun
    969969setjmp_norun_SOURCES = POSIX/setjmp.c
    970 setjmp_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     970setjmp_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    971971endif
    972972
     
    991991lib_tests += sigaddset.norun
    992992sigaddset_norun_SOURCES = POSIX/sigaddset.c
    993 sigaddset_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     993sigaddset_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    994994endif
    995995
     
    997997lib_tests += sigdelset.norun
    998998sigdelset_norun_SOURCES = POSIX/sigdelset.c
    999 sigdelset_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     999sigdelset_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    10001000endif
    10011001
     
    10031003lib_tests += sigemptyset.norun
    10041004sigemptyset_norun_SOURCES = POSIX/sigemptyset.c
    1005 sigemptyset_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     1005sigemptyset_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    10061006endif
    10071007
     
    10091009lib_tests += sigfillset.norun
    10101010sigfillset_norun_SOURCES = POSIX/sigfillset.c
    1011 sigfillset_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     1011sigfillset_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    10121012endif
    10131013
     
    10151015lib_tests += sigismember.norun
    10161016sigismember_norun_SOURCES = POSIX/sigismember.c
    1017 sigismember_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     1017sigismember_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    10181018endif
    10191019
     
    10211021lib_tests += sigprocmask.norun
    10221022sigprocmask_norun_SOURCES = POSIX/sigprocmask.c
    1023 sigprocmask_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     1023sigprocmask_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    10241024endif
    10251025
     
    10631063lib_tests += stat.norun
    10641064stat_norun_SOURCES = POSIX/stat.c
    1065 stat_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     1065stat_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    10661066endif
    10671067
     
    13151315lib_tests += unlink.norun
    13161316unlink_norun_SOURCES = POSIX/unlink.c
    1317 unlink_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     1317unlink_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    13181318endif
    13191319
     
    13301330lib_tests += vfork.norun
    13311331vfork_norun_SOURCES = POSIX/vfork.c
    1332 vfork_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     1332vfork_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    13331333endif
    13341334
     
    13361336lib_tests += wait.norun
    13371337wait_norun_SOURCES = POSIX/wait.c
    1338 wait_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     1338wait_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    13391339endif
    13401340
     
    13421342lib_tests += waitpid.norun
    13431343waitpid_norun_SOURCES = POSIX/waitpid.c
    1344 waitpid_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     1344waitpid_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    13451345endif
    13461346
     
    13481348lib_tests += write.norun
    13491349write_norun_SOURCES = POSIX/write.c
    1350 write_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     1350write_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    13511351endif
    13521352
     
    13541354lib_tests += writev.norun
    13551355writev_norun_SOURCES = POSIX/writev.c
    1356 writev_norun_LDADD = $(LDADD) $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a
     1356writev_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD)
    13571357endif
    13581358
Note: See TracChangeset for help on using the changeset viewer.