mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr.git
synced 2025-10-23 00:12:14 +00:00
mslookup is a key concept in Distributed GSM, which allows querying the current location of a subscriber in a number of cooperating but independent core network sites, by arbitrary service names and by MSISDN/IMSI. Add the abstract mslookup client library. An actual lookup method (besides mslookup_client_fake.c) is added in a subsequent patch. For a detailed overview of this and upcoming patches, please see the elaborate comment at the top of mslookup.c. Add as separate library, libosmo-mslookup, to allow adding D-GSM capability to arbitrary client programs. osmo-hlr will be the only mslookup server implementation, added in a subsequent patch. osmo-hlr itself will also use this library and act as an mslookup client, when requesting the home HLR for locally unknown IMSIs. Related: OS#4237 Patch-by: osmith, nhofmeyr Change-Id: I83487ab8aad1611eb02e997dafbcb8344da13df1
50 lines
861 B
Makefile
50 lines
861 B
Makefile
AM_CPPFLAGS = \
|
|
$(all_includes) \
|
|
$(NULL)
|
|
|
|
AM_CFLAGS = \
|
|
-Wall \
|
|
-ggdb3 \
|
|
-I$(top_srcdir)/include \
|
|
$(LIBOSMOCORE_CFLAGS) \
|
|
$(LIBOSMOGSM_CFLAGS) \
|
|
$(LIBOSMOABIS_CFLAGS) \
|
|
$(NULL)
|
|
|
|
AM_LDFLAGS = \
|
|
-no-install \
|
|
$(NULL)
|
|
|
|
EXTRA_DIST = \
|
|
mslookup_client_test.err \
|
|
mslookup_test.err \
|
|
$(NULL)
|
|
|
|
check_PROGRAMS = \
|
|
mslookup_client_test \
|
|
mslookup_test \
|
|
$(NULL)
|
|
|
|
mslookup_test_SOURCES = \
|
|
mslookup_test.c \
|
|
$(NULL)
|
|
mslookup_test_LDADD = \
|
|
$(top_builddir)/src/mslookup/libosmo-mslookup.la \
|
|
$(LIBOSMOGSM_LIBS) \
|
|
$(NULL)
|
|
|
|
mslookup_client_test_SOURCES = \
|
|
mslookup_client_test.c \
|
|
$(NULL)
|
|
mslookup_client_test_LDADD = \
|
|
$(top_builddir)/src/mslookup/libosmo-mslookup.la \
|
|
$(LIBOSMOGSM_LIBS) \
|
|
$(NULL)
|
|
|
|
.PHONY: update_exp
|
|
update_exp:
|
|
for i in $(check_PROGRAMS); do \
|
|
echo "Updating $$i.err"; \
|
|
$(builddir)/$$i 2>"$(srcdir)/$$i.err"; \
|
|
done
|