2020-09-06 14:23:20 +02:00
|
|
|
---
|
|
|
|
configure.ac | 1 +
|
|
|
|
examples/Makefile.am | 30 +++++++++++++++---------------
|
|
|
|
src/Makefile.am | 2 +-
|
|
|
|
3 files changed, 17 insertions(+), 16 deletions(-)
|
|
|
|
|
2022-08-03 18:33:31 +02:00
|
|
|
Index: libosmo-netif-1.2.0/configure.ac
|
2020-09-06 14:23:20 +02:00
|
|
|
===================================================================
|
2022-08-03 18:33:31 +02:00
|
|
|
--- libosmo-netif-1.2.0.orig/configure.ac
|
|
|
|
+++ libosmo-netif-1.2.0/configure.ac
|
2021-03-14 21:55:20 +01:00
|
|
|
@@ -124,6 +124,7 @@ AS_IF([test "x$ENABLE_LIBSCTP" = "xyes"]
|
2020-09-06 14:23:20 +02:00
|
|
|
LIBS=$old_LIBS
|
|
|
|
])
|
2014-10-02 23:36:14 +02:00
|
|
|
|
2016-01-22 19:26:27 +01:00
|
|
|
+PKG_CHECK_MODULES([TALLOC], [talloc])
|
2018-12-11 02:16:44 +01:00
|
|
|
found_pcap=yes
|
2020-09-06 14:23:20 +02:00
|
|
|
AC_CHECK_HEADERS(pcap.h,,found_pcap=no)
|
|
|
|
AM_CONDITIONAL(HAVE_PCAP, test "$found_pcap" = yes)
|
2022-08-03 18:33:31 +02:00
|
|
|
Index: libosmo-netif-1.2.0/examples/Makefile.am
|
2020-09-06 14:23:20 +02:00
|
|
|
===================================================================
|
2022-08-03 18:33:31 +02:00
|
|
|
--- libosmo-netif-1.2.0.orig/examples/Makefile.am
|
|
|
|
+++ libosmo-netif-1.2.0/examples/Makefile.am
|
2014-10-02 23:36:14 +02:00
|
|
|
@@ -1,5 +1,5 @@
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
|
|
|
-AM_CFLAGS=-Wall -g $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(COVERAGE_CFLAGS)
|
|
|
|
+AM_CFLAGS=-Wall -g $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(COVERAGE_CFLAGS) $(TALLOC_CFLAGS)
|
|
|
|
AM_LDFLAGS = $(COVERAGE_LDFLAGS)
|
|
|
|
|
2018-12-11 02:16:44 +01:00
|
|
|
noinst_PROGRAMS = ipa-stream-client \
|
2021-03-14 21:55:20 +01:00
|
|
|
@@ -19,57 +19,57 @@ noinst_HEADERS = udp-test.h
|
2014-10-02 23:36:14 +02:00
|
|
|
|
|
|
|
ipa_stream_client_SOURCES = ipa-stream-client.c
|
|
|
|
ipa_stream_client_LDADD = $(top_builddir)/src/libosmonetif.la \
|
|
|
|
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
|
|
|
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
|
|
|
|
|
|
|
ipa_stream_server_SOURCES = ipa-stream-server.c
|
|
|
|
ipa_stream_server_LDADD = $(top_builddir)/src/libosmonetif.la \
|
|
|
|
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
|
|
|
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
|
|
|
|
2021-03-14 21:55:20 +01:00
|
|
|
if ENABLE_LAPD
|
|
|
|
noinst_PROGRAMS += lapd-over-datagram-user lapd-over-datagram-network
|
2014-10-02 23:36:14 +02:00
|
|
|
lapd_over_datagram_user_SOURCES = lapd-over-datagram-user.c
|
|
|
|
lapd_over_datagram_user_LDADD = $(top_builddir)/src/libosmonetif.la \
|
|
|
|
$(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) \
|
|
|
|
- $(LIBOSMOABIS_LIBS)
|
|
|
|
+ $(LIBOSMOABIS_LIBS) $(TALLOC_LIBS)
|
|
|
|
|
|
|
|
lapd_over_datagram_network_SOURCES = lapd-over-datagram-network.c
|
|
|
|
lapd_over_datagram_network_LDADD = $(top_builddir)/src/libosmonetif.la \
|
|
|
|
$(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) \
|
|
|
|
- $(LIBOSMOABIS_LIBS)
|
|
|
|
+ $(LIBOSMOABIS_LIBS) $(TALLOC_LIBS)
|
2021-03-14 21:55:20 +01:00
|
|
|
endif
|
2014-10-02 23:36:14 +02:00
|
|
|
|
|
|
|
stream_client_SOURCES = stream-client.c
|
|
|
|
stream_client_LDADD = $(top_builddir)/src/libosmonetif.la \
|
|
|
|
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
|
|
|
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
|
|
|
|
|
|
|
stream_server_SOURCES = stream-server.c
|
|
|
|
stream_server_LDADD = $(top_builddir)/src/libosmonetif.la \
|
|
|
|
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
|
|
|
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
|
|
|
|
|
|
|
rs232_read_SOURCES = rs232-read.c
|
2019-02-21 14:55:42 +01:00
|
|
|
-rs232_read_LDADD = $(top_builddir)/src/libosmonetif.la $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
|
|
|
+rs232_read_LDADD = $(top_builddir)/src/libosmonetif.la $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
2014-10-02 23:36:14 +02:00
|
|
|
|
|
|
|
rs232_write_SOURCES = rs232-write.c
|
2019-02-21 14:55:42 +01:00
|
|
|
-rs232_write_LDADD = $(top_builddir)/src/libosmonetif.la $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
|
|
|
+rs232_write_LDADD = $(top_builddir)/src/libosmonetif.la $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
2014-10-02 23:36:14 +02:00
|
|
|
|
|
|
|
rtp_udp_test_client_SOURCES = rtp-udp-test-client.c
|
|
|
|
rtp_udp_test_client_LDADD = $(top_builddir)/src/libosmonetif.la \
|
|
|
|
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
|
|
|
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
|
|
|
|
|
|
|
rtp_udp_test_server_SOURCES = rtp-udp-test-server.c
|
|
|
|
rtp_udp_test_server_LDADD = $(top_builddir)/src/libosmonetif.la \
|
|
|
|
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
|
|
|
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
|
|
|
|
2017-12-27 21:45:29 +01:00
|
|
|
udp_test_client_SOURCES = udp-test-client.c
|
|
|
|
-udp_test_client_LDADD = $(top_builddir)/src/libosmonetif.la $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
|
|
|
+udp_test_client_LDADD = $(top_builddir)/src/libosmonetif.la $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
|
|
|
|
|
|
|
udp_test_server_SOURCES = udp-test-server.c
|
|
|
|
-udp_test_server_LDADD = $(top_builddir)/src/libosmonetif.la $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
|
|
|
+udp_test_server_LDADD = $(top_builddir)/src/libosmonetif.la $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
|
|
|
|
2014-10-02 23:36:14 +02:00
|
|
|
osmux_test_input_SOURCES = osmux-test-input.c
|
|
|
|
osmux_test_input_LDADD = $(top_builddir)/src/libosmonetif.la \
|
|
|
|
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
|
|
|
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
|
|
|
|
|
|
|
osmux_test_output_SOURCES = osmux-test-output.c
|
|
|
|
osmux_test_output_LDADD = $(top_builddir)/src/libosmonetif.la \
|
|
|
|
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
|
|
|
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
2022-08-03 18:33:31 +02:00
|
|
|
Index: libosmo-netif-1.2.0/src/Makefile.am
|
2020-09-06 14:23:20 +02:00
|
|
|
===================================================================
|
2022-08-03 18:33:31 +02:00
|
|
|
--- libosmo-netif-1.2.0.orig/src/Makefile.am
|
|
|
|
+++ libosmo-netif-1.2.0/src/Makefile.am
|
2019-02-21 14:55:42 +01:00
|
|
|
@@ -3,7 +3,7 @@
|
2022-08-03 18:33:31 +02:00
|
|
|
LIBVERSION=10:0:2
|
2014-10-02 23:36:14 +02:00
|
|
|
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)
|
2019-02-21 14:55:42 +01:00
|
|
|
-AM_CFLAGS= -fPIC -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(COVERAGE_CFLAGS) $(LIBSCTP_CFLAGS)
|
2021-03-14 21:55:20 +01:00
|
|
|
+AM_CFLAGS= -fPIC -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(COVERAGE_CFLAGS) $(LIBSCTP_CFLAGS) $(TALLOC_CFLAGS)
|
2014-10-02 23:36:14 +02:00
|
|
|
AM_LDFLAGS = $(COVERAGE_LDFLAGS)
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libosmonetif.la
|