Add base lib to tests

For being able to build the tests via source archives, the 'base'
library must be denoted as dependency explicitely in their 'target.mk' file.
This is because when building archives, the API dependencies of used APIs are
not taken into account.
This commit is contained in:
Martin Stein
2018-10-24 23:27:31 +02:00
committed by Christian Helmuth
parent 0b8ea50589
commit 51cae1f0a3
11 changed files with 11 additions and 11 deletions

View File

@ -1,5 +1,5 @@
TARGET = test-expat TARGET = test-expat
SRC_CC = main.cc SRC_CC = main.cc
LIBS = expat posix LIBS = base expat posix
CC_CXX_WARN_STRICT = CC_CXX_WARN_STRICT =

View File

@ -1,6 +1,6 @@
SRC_CC = main.cc SRC_CC = main.cc
TARGET = test-ldso TARGET = test-ldso
LIBS = test-ldso_lib_1 test-ldso_lib_2 libc libm LIBS = base test-ldso_lib_1 test-ldso_lib_2 libc libm
INC_DIR += $(REP_DIR)/src/test/ldso/include INC_DIR += $(REP_DIR)/src/test/ldso/include
CC_CXX_WARN_STRICT = CC_CXX_WARN_STRICT =

View File

@ -1,5 +1,5 @@
TARGET = test-libc TARGET = test-libc
SRC_CC = main.cc SRC_CC = main.cc
LIBS = posix LIBS = base posix
CC_CXX_WARN_STRICT = CC_CXX_WARN_STRICT =

View File

@ -1,5 +1,5 @@
TARGET = test-libc_counter-sink TARGET = test-libc_counter-sink
SRC_CC = main.cc SRC_CC = main.cc
LIBS = posix LIBS = base posix
CC_CXX_WARN_STRICT = CC_CXX_WARN_STRICT =

View File

@ -1,5 +1,5 @@
TARGET = test-libc_counter-source TARGET = test-libc_counter-source
SRC_CC = main.cc SRC_CC = main.cc
LIBS = posix LIBS = base posix
CC_CXX_WARN_STRICT = CC_CXX_WARN_STRICT =

View File

@ -1,5 +1,5 @@
TARGET = test-libc_pipe TARGET = test-libc_pipe
LIBS = posix libc_pipe pthread LIBS = base posix libc_pipe pthread
SRC_CC = main.cc SRC_CC = main.cc
CC_CXX_WARN_STRICT = CC_CXX_WARN_STRICT =

View File

@ -1,5 +1,5 @@
TARGET = test-libc_vfs TARGET = test-libc_vfs
LIBS = libc LIBS = libc base
SRC_CC = main.cc SRC_CC = main.cc
CC_CXX_WARN_STRICT = CC_CXX_WARN_STRICT =

View File

@ -1,5 +1,5 @@
TARGET = test-libc_vfs_block TARGET = test-libc_vfs_block
SRC_CC = main.cc SRC_CC = main.cc
LIBS += libc LIBS += base libc
CC_CXX_WARN_STRICT = CC_CXX_WARN_STRICT =

View File

@ -1,5 +1,5 @@
TARGET = test-pthread TARGET = test-pthread
SRC_CC = main.cc SRC_CC = main.cc
LIBS = posix pthread LIBS = base posix pthread
CC_CXX_WARN_STRICT = CC_CXX_WARN_STRICT =

View File

@ -1,5 +1,5 @@
TARGET = test-python TARGET = test-python
LIBS = python posix LIBS = base python posix
REQUIRES = x86 REQUIRES = x86
SRC_CC = main.cc SRC_CC = main.cc

View File

@ -1,5 +1,5 @@
TARGET = test-stdcxx TARGET = test-stdcxx
SRC_CC = main.cc SRC_CC = main.cc
LIBS = posix stdcxx LIBS = base posix stdcxx
CC_CXX_WARN_STRICT = CC_CXX_WARN_STRICT =