blob: 974397002d5a7fd56c5bcab05c20e81f1e1982fc [file] [log] [blame]
Oliver Smithbf7deda2019-11-20 10:56:35 +01001# This is _NOT_ the library release version, it's an API version.
2# Please read chapter "Library interface versions" of the libtool documentation
3# before making any modifications: https://www.gnu.org/software/libtool/manual/html_node/Versioning.html
Pau Espin Pedrold052f072023-09-12 14:41:33 +02004LIBVERSION=1:1:0
Oliver Smithbf7deda2019-11-20 10:56:35 +01005
6AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)/include
7AM_CFLAGS = -fPIC -Wall $(PCSC_CFLAGS) $(TALLOC_CFLAGS) $(LIBOSMOCORE_CFLAGS)
8AM_LDFLAGS = $(COVERAGE_LDFLAGS)
9
10lib_LTLIBRARIES = libosmo-mslookup.la
11
12libosmo_mslookup_la_SOURCES = \
Oliver Smith3a9f2672019-11-20 10:56:35 +010013 mdns.c \
14 mdns_msg.c \
15 mdns_rfc.c \
16 mdns_sock.c \
Oliver Smithbf7deda2019-11-20 10:56:35 +010017 mslookup.c \
18 mslookup_client.c \
19 mslookup_client_fake.c \
Oliver Smith3a9f2672019-11-20 10:56:35 +010020 mslookup_client_mdns.c \
Oliver Smithbf7deda2019-11-20 10:56:35 +010021 $(NULL)
22
23libosmo_mslookup_la_LDFLAGS = -version-info $(LIBVERSION)
24libosmo_mslookup_la_LIBADD = \
25 $(LIBOSMOCORE_LIBS) \
26 $(LIBOSMOGSM_LIBS) \
27 $(TALLOC_LIBS) \
28 $(NULL)
Neels Hofmeyr52ef60f2019-11-20 12:37:41 +010029
30bin_PROGRAMS = osmo-mslookup-client
31osmo_mslookup_client_SOURCES = osmo-mslookup-client.c
32osmo_mslookup_client_LDADD = \
33 libosmo-mslookup.la \
34 $(LIBOSMOCORE_LIBS) \
35 $(TALLOC_LIBS) \
36 $(NULL)
37osmo_mslookup_client_CFLAGS = $(TALLOC_CFLAGS) $(LIBOSMOCORE_CFLAGS)