Oliver Smith | 2bdcc8e | 2019-11-20 10:56:35 +0100 | [diff] [blame] | 1 | # 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 |
| 4 | LIBVERSION=0:0:0 |
| 5 | |
| 6 | AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)/include |
| 7 | AM_CFLAGS = -fPIC -Wall $(PCSC_CFLAGS) $(TALLOC_CFLAGS) $(LIBOSMOCORE_CFLAGS) |
| 8 | AM_LDFLAGS = $(COVERAGE_LDFLAGS) |
| 9 | |
| 10 | lib_LTLIBRARIES = libosmo-mslookup.la |
| 11 | |
| 12 | libosmo_mslookup_la_SOURCES = \ |
Oliver Smith | 06455ea | 2019-11-20 10:56:35 +0100 | [diff] [blame] | 13 | mdns.c \ |
| 14 | mdns_msg.c \ |
| 15 | mdns_rfc.c \ |
| 16 | mdns_sock.c \ |
Oliver Smith | 2bdcc8e | 2019-11-20 10:56:35 +0100 | [diff] [blame] | 17 | mslookup.c \ |
| 18 | mslookup_client.c \ |
| 19 | mslookup_client_fake.c \ |
Oliver Smith | 06455ea | 2019-11-20 10:56:35 +0100 | [diff] [blame] | 20 | mslookup_client_mdns.c \ |
Oliver Smith | 2bdcc8e | 2019-11-20 10:56:35 +0100 | [diff] [blame] | 21 | $(NULL) |
| 22 | |
| 23 | libosmo_mslookup_la_LDFLAGS = -version-info $(LIBVERSION) |
| 24 | libosmo_mslookup_la_LIBADD = \ |
| 25 | $(LIBOSMOCORE_LIBS) \ |
| 26 | $(LIBOSMOGSM_LIBS) \ |
| 27 | $(TALLOC_LIBS) \ |
| 28 | $(NULL) |
Neels Hofmeyr | cb50855 | 2019-11-20 12:37:41 +0100 | [diff] [blame] | 29 | |
| 30 | bin_PROGRAMS = osmo-mslookup-client |
| 31 | osmo_mslookup_client_SOURCES = osmo-mslookup-client.c |
| 32 | osmo_mslookup_client_LDADD = \ |
| 33 | libosmo-mslookup.la \ |
| 34 | $(LIBOSMOCORE_LIBS) \ |
| 35 | $(TALLOC_LIBS) \ |
| 36 | $(NULL) |
| 37 | osmo_mslookup_client_CFLAGS = $(TALLOC_CFLAGS) $(LIBOSMOCORE_CFLAGS) |