diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-03-11 04:32:32 +0700 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2023-03-14 20:09:44 +0000 |
commit | 50de553a1fbeef15433d8b480ad6141fc7f925f0 (patch) | |
tree | a710efbe5b652d0f64f8a2a17fac66d7563b3146 | |
parent | c1909e72582c54cacc0ef4541bf0cf3171647a6a (diff) |
tests: use -no-install libtool flag to avoid ./lt-* scripts
This option should be used for any executables which are used only
for testing, or for generating other files and are consequently never
installed. By specifying this option, we are telling Libtool that
the executable it links will only ever be executed from where it is
built in the build tree. Libtool is usually able to considerably
speed up the link process for such executables.
Change-Id: I06d3d5ab1dd21400a72f76eecc508886617ef4c6
-rw-r--r-- | tests/agch/Makefile.am | 1 | ||||
-rw-r--r-- | tests/amr/Makefile.am | 1 | ||||
-rw-r--r-- | tests/cipher/Makefile.am | 1 | ||||
-rw-r--r-- | tests/handover/Makefile.am | 1 | ||||
-rw-r--r-- | tests/meas/Makefile.am | 1 | ||||
-rw-r--r-- | tests/misc/Makefile.am | 1 | ||||
-rw-r--r-- | tests/paging/Makefile.am | 1 | ||||
-rw-r--r-- | tests/power/Makefile.am | 1 | ||||
-rw-r--r-- | tests/sysmobts/Makefile.am | 1 | ||||
-rw-r--r-- | tests/ta_control/Makefile.am | 1 | ||||
-rw-r--r-- | tests/tx_power/Makefile.am | 1 |
11 files changed, 11 insertions, 0 deletions
diff --git a/tests/agch/Makefile.am b/tests/agch/Makefile.am index ffc65fd8..d05fc626 100644 --- a/tests/agch/Makefile.am +++ b/tests/agch/Makefile.am @@ -9,6 +9,7 @@ AM_CFLAGS = \ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ diff --git a/tests/amr/Makefile.am b/tests/amr/Makefile.am index a15c0c77..a857d179 100644 --- a/tests/amr/Makefile.am +++ b/tests/amr/Makefile.am @@ -8,6 +8,7 @@ AM_CFLAGS = \ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ diff --git a/tests/cipher/Makefile.am b/tests/cipher/Makefile.am index 13bface4..c33b05ef 100644 --- a/tests/cipher/Makefile.am +++ b/tests/cipher/Makefile.am @@ -9,6 +9,7 @@ AM_CFLAGS = \ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ diff --git a/tests/handover/Makefile.am b/tests/handover/Makefile.am index 5197cb9b..789696e3 100644 --- a/tests/handover/Makefile.am +++ b/tests/handover/Makefile.am @@ -8,6 +8,7 @@ AM_CFLAGS = \ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ diff --git a/tests/meas/Makefile.am b/tests/meas/Makefile.am index 7a65d08a..e80b4066 100644 --- a/tests/meas/Makefile.am +++ b/tests/meas/Makefile.am @@ -8,6 +8,7 @@ AM_CFLAGS = \ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ diff --git a/tests/misc/Makefile.am b/tests/misc/Makefile.am index 6770be34..8b8beda7 100644 --- a/tests/misc/Makefile.am +++ b/tests/misc/Makefile.am @@ -8,6 +8,7 @@ AM_CFLAGS = \ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ diff --git a/tests/paging/Makefile.am b/tests/paging/Makefile.am index 0c01e398..06cc35e1 100644 --- a/tests/paging/Makefile.am +++ b/tests/paging/Makefile.am @@ -18,6 +18,7 @@ LDADD = \ $(LIBOSMOTRAU_LIBS) \ $(LIBOSMONETIF_LIBS) \ $(NULL) +AM_LDFLAGS = -no-install check_PROGRAMS = paging_test EXTRA_DIST = paging_test.ok diff --git a/tests/power/Makefile.am b/tests/power/Makefile.am index c1abead8..81f3f2a5 100644 --- a/tests/power/Makefile.am +++ b/tests/power/Makefile.am @@ -8,6 +8,7 @@ AM_CFLAGS = \ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOCODEC_LIBS) \ diff --git a/tests/sysmobts/Makefile.am b/tests/sysmobts/Makefile.am index ee7b82f5..ff80fb34 100644 --- a/tests/sysmobts/Makefile.am +++ b/tests/sysmobts/Makefile.am @@ -14,6 +14,7 @@ AM_CFLAGS = \ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOCODEC_LIBS) \ diff --git a/tests/ta_control/Makefile.am b/tests/ta_control/Makefile.am index f28ae1da..12c32ac3 100644 --- a/tests/ta_control/Makefile.am +++ b/tests/ta_control/Makefile.am @@ -8,6 +8,7 @@ AM_CFLAGS = \ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ diff --git a/tests/tx_power/Makefile.am b/tests/tx_power/Makefile.am index 2e91fa0c..8c3db1eb 100644 --- a/tests/tx_power/Makefile.am +++ b/tests/tx_power/Makefile.am @@ -8,6 +8,7 @@ AM_CFLAGS = \ $(LIBOSMOTRAU_CFLAGS) \ $(LIBOSMONETIF_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install LDADD = \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ |